Re-add custom page_view event
Some checks are pending
Deploy to GitHub Pages / build (push) Waiting to run
Deploy to GitHub Pages / deploy (push) Blocked by required conditions

This commit is contained in:
Misode
2025-01-04 20:42:04 +01:00
parent e52e6a791c
commit a97c21d9de
4 changed files with 19 additions and 2 deletions

View File

@@ -8,6 +8,7 @@
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-S982VZS08T', {
send_page_view: false,
theme: localStorage.getItem('theme') || 'default',
version: localStorage.getItem('schema_version') || '1.21.2',
locale: localStorage.getItem('language') || 'en',