Skip to content

Commit

Permalink
Updated tag
Browse files Browse the repository at this point in the history
  • Loading branch information
spolischook committed Sep 24, 2024
1 parent 5029723 commit 4d78161
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions layouts/partials/gtag.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script>
const GoogleTagID = 'G-21CQLLSNPS';
const GoogleContainerID = 'GTM-TK4NCM7C';
// Define dataLayer and the gtag function.
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
Expand All @@ -14,14 +14,14 @@
});
</script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=" + ID>
<script async src="https://www.googletagmanager.com/gtag/js?id={{ GoogleTagID }}">
</script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }

gtag('js', new Date());
gtag('config', GoogleTagID);
gtag('config', GoogleContainerID);
</script>

<!-- Create one update function for each consent parameter -->
Expand Down

0 comments on commit 4d78161

Please sign in to comment.