Skip to content

Commit f5afce9

Browse files
authored
Update scripts.tmpl.partial
Updating to GA4 since UA is deprecating next year
1 parent c7c4395 commit f5afce9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/theme/partials/scripts.tmpl.partial

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
<script type="text/javascript" src="{{_rel}}styles/docfx.js"></script>
55
<script type="text/javascript" src="{{_rel}}styles/main.js"></script>
66

7-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-38984092-6"></script>
7+
<!-- Google tag (gtag.js) -->
8+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JWDHMFE8XZ"></script>
89
<script>
910
window.dataLayer = window.dataLayer || [];
1011
function gtag(){dataLayer.push(arguments);}
1112
gtag('js', new Date());
1213

13-
gtag('config', 'UA-38984092-6');
14+
gtag('config', 'G-JWDHMFE8XZ');
1415
</script>

0 commit comments

Comments
 (0)