Skip to content

Commit

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

gtag('js', new Date());
gtag('config', 'G-21CQLLSNPS');
gtag('config', ID);
</script>

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

0 comments on commit face40c

Please sign in to comment.