Skip to content

Commit

Permalink
Add Google Analytics 4
Browse files Browse the repository at this point in the history
  • Loading branch information
svivian committed Nov 3, 2023
1 parent 1cb6ed8 commit 997b4d2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions _includes/analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-1974891-11');
gtag('config', 'UA-1165533-8'); // old tracking ID
</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-V4Y9LK428F"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-V4Y9LK428F');
</script>

0 comments on commit 997b4d2

Please sign in to comment.