Skip to content

Commit

Permalink
Update Google Analytics tag
Browse files Browse the repository at this point in the history
  • Loading branch information
frosas committed Jun 3, 2024
1 parent 59a8d34 commit 4a2eb1a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions html/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@

<script><%= compilation.assets[htmlWebpackPlugin.files.chunks.main.entry.substr(htmlWebpackPlugin.files.publicPath.length)].source() %></script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-25757791-2"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Q93XS2HWW5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('consent', 'default', { analytics_storage: 'denied' });
gtag('config', 'UA-25757791-2');
gtag('config', 'G-Q93XS2HWW5');
</script>
</body>
</html>

0 comments on commit 4a2eb1a

Please sign in to comment.