Skip to content

Commit

Permalink
Merge pull request #67 from solo-io/adb-google-analytics
Browse files Browse the repository at this point in the history
Update for GA4
  • Loading branch information
artberger authored Nov 1, 2023
2 parents 554e6e6 + 771097f commit ea5bad3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
5 changes: 5 additions & 0 deletions changelog/v0.0.26/google-analytics.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
- type: FIX
issueLink: https://github.com/solo-io/doctopus/issues/86
resolvesIssue: false
description: Updates Google Analytics snippet for GA4.
15 changes: 3 additions & 12 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-6VPFYD9902"></script>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-1YGMSXNY49"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-6VPFYD9902');
gtag('config', 'G-1YGMSXNY49');
</script>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-101654320-4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-101654320-4');
</script>
<script
type="text/javascript"
id="hs-script-loader"
Expand Down

0 comments on commit ea5bad3

Please sign in to comment.