Skip to content

Commit 079f6c6

Browse files
committed
Update ua_presentation_5.html
1 parent e83be02 commit 079f6c6

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

docs/other/ua_presentation_5.html

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,18 @@
2020
div[flex_div]{height:68vh;margin:0;align-items:center;justify-content:center;}
2121
img[rounded]{border-radius:16px;max-width:64%;}
2222
</style>
23-
<!-- Google tag (gtag.js) (Universal Analytics) -->
24-
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-167313767-1"></script>
25-
<script>
26-
window.dataLayer = window.dataLayer || [];
27-
function gtag(){dataLayer.push(arguments);}
28-
gtag('js', new Date());
29-
gtag('config', 'UA-167313767-1', { cookie_flags: 'SameSite=None;Secure' });
30-
</script>
31-
<!-- Google tag (gtag.js) (Google Analytics 4) -->
23+
<!-- Single Google tag (gtag.js) Initialization -->
3224
<script async src="https://www.googletagmanager.com/gtag/js?id=G-P5KFWRNLRN"></script>
3325
<script>
3426
window.dataLayer = window.dataLayer || [];
3527
function gtag(){dataLayer.push(arguments);}
3628
gtag('js', new Date());
3729

30+
// Route directly to your native GA4 property
3831
gtag('config', 'G-P5KFWRNLRN');
32+
33+
// Route via the legacy UA tracking ID fallback
34+
gtag('config', 'UA-167313767-1', { cookie_flags: 'SameSite=None;Secure' });
3935
</script>
4036
</head>
4137

0 commit comments

Comments
 (0)