Skip to content

Commit c090231

Browse files
committed
google tag - GDPR
1 parent 24df12e commit c090231

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

github-pages/_layouts/default.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,19 @@
7676
<link rel="preload" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'">
7777
<noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"></noscript>
7878

79+
<!-- Google tag (gtag.js) - GDPR-friendly without consent -->
80+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-1C6EYC5Q5E"></script>
81+
<script>
82+
window.dataLayer = window.dataLayer || [];
83+
function gtag(){dataLayer.push(arguments);}
84+
gtag('js', new Date());
85+
86+
gtag('config', 'G-1C6EYC5Q5E', {
87+
'anonymize_ip': true,
88+
'cookie_expires': 0
89+
});
90+
</script>
91+
7992
<!-- Structured Data for SEO & AI/LLM Discovery -->
8093
<script type="application/ld+json">
8194
{

0 commit comments

Comments
 (0)