Merge pull request #36322 from chalin/chalin-im-ga4-release-1.24-2022-08-26

Google analytics: use GA4 site tag for v1.24
pull/37149/head
Kubernetes Prow Robot 2022-08-27 07:04:36 -07:00 committed by GitHub
commit 7a39b4fc2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -8,13 +8,13 @@
{{- end -}}
{{- if in (slice "production" "nonprod") hugo.Environment -}}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-36037335-10"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JPP6RFM2BP"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-36037335-10');
gtag('config', 'G-JPP6RFM2BP');
</script>
{{- end -}}