Skip to content

Commit 36d994c

Browse files
committed
updating analytics
1 parent 1529b5a commit 36d994c

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

_includes/analytics.html

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1+
<!-- Google tag (gtag.js) -->
2+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VX33PFLGQM"></script>
13
<script>
2-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
3-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
4-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
5-
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
6-
7-
ga('create', 'UA-98259786-6', 'auto')
8-
ga('set', 'anonymizeIp', true)
9-
ga('send', 'pageview')
4+
window.dataLayer = window.dataLayer || [];
5+
function gtag(){dataLayer.push(arguments);}
6+
gtag('js', new Date());
7+
gtag('config', 'G-VX33PFLGQM');
108
</script>

0 commit comments

Comments
 (0)