Skip to content

Commit

Permalink
Add CNCF GA4 property
Browse files Browse the repository at this point in the history
Signed-off-by: cjyabraham <cjyabraham@gmail.com>
  • Loading branch information
cjyabraham authored and mdf-ido committed Oct 31, 2022
1 parent 6d59964 commit 188f3e9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,16 @@
{{ else }}
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}

<!-- also include GA4 property -->
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-T6VMPWFRDW"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-T6VMPWFRDW');
</script>

{{ end }}

0 comments on commit 188f3e9

Please sign in to comment.