Skip to content

Commit 1b5af61

Browse files
committed
feat: added new Google Analytics 4 tag
1 parent 8dee0a3 commit 1b5af61

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

templates/analytics-superuserlabs.pug

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,12 @@
88
| gtag('config', 'UA-121118459-1');
99
|</script>
1010

11-
11+
|<!-- Google tag (gtag.js) -->
12+
|<script async src="https://www.googletagmanager.com/gtag/js?id=G-2MVEP1H2F6"></script>
13+
|<script>
14+
| window.dataLayer = window.dataLayer || [];
15+
| function gtag(){dataLayer.push(arguments);}
16+
| gtag('js', new Date());
17+
|
18+
| gtag('config', 'G-2MVEP1H2F6');
19+
|</script>

0 commit comments

Comments
 (0)