Switch to Cloudflare Web Analytics

This commit is contained in:
Tyler Hallada 2020-12-09 12:02:01 -05:00
parent 5e09843db8
commit e09235ef4d
2 changed files with 6 additions and 22 deletions

View File

@ -31,18 +31,10 @@
<!-- Favicon -->
<link rel="shortcut icon" href="/favicon.png">
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
<!-- Cloudflare Web Analytics -->
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "54df1dc81a2d4cb7920b456212bbd437"}'></script>
<!-- End Cloudflare Web Analytics -->
ga('create', 'UA-39880341-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<script type="module" src="https://unpkg.com/dark-mode-toggle"></script>
{% seo %}

View File

@ -38,18 +38,10 @@
<script src="/js/AnimationFrame.min.js"></script>
<script async src="/js/magic.js"></script>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
<!-- Cloudflare Web Analytics -->
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "54df1dc81a2d4cb7920b456212bbd437"}'></script>
<!-- End Cloudflare Web Analytics -->
ga('create', 'UA-39880341-1', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<script type="module" src="https://unpkg.com/dark-mode-toggle"></script>
{% seo %}