Merge pull request #36322 from chalin/chalin-im-ga4-release-1.24-2022-08-26
Google analytics: use GA4 site tag for v1.24pull/37149/head
commit
7a39b4fc2b
|
@ -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 -}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue