Skip to content

Commit 5a5ce47

Browse files
committed
fix: trying to fix GA4 setup
1 parent f827ad3 commit 5a5ce47

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

_includes/analytics.pug

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,7 @@ script
77
| gtag('js', new Date());
88
|
99
| gtag('config', 'UA-91551508-1');
10-
11-
12-
// New Google Analytics 4 tag
13-
|<!-- Google tag (gtag.js) -->
14-
|<script async src="https://www.googletagmanager.com/gtag/js?id=G-SNPLMVFB8V"></script>
15-
|<script>
16-
| window.dataLayer = window.dataLayer || [];
17-
| function gtag(){dataLayer.push(arguments);}
18-
| gtag('js', new Date());
19-
|
20-
| gtag('config', 'G-SNPLMVFB8V');
21-
|</script>
10+
| gtag('config', 'G-SNPLMVFB8V');
2211

2312
script
2413
|// From: https://support.google.com/analytics/answer/7478520?hl=en

0 commit comments

Comments
 (0)