coyotte508 commited on
Commit ·
3ff202f
1
Parent(s): 5006210
🐛 Fix syntax error with empty if
Browse files19 unmodified lines202122232324252526272819 unmodified lines
<!-- Google Tag Manager --> <script> if (%sveltekit.env.PUBLIC_GOOGLE_ANALYTICS_ID%) { if ("%sveltekit.env.PUBLIC_GOOGLE_ANALYTICS_ID%") { const script = document.createElement("script"); script.src = `https://www.googletagmanager.com/gtag/js?id=${%sveltekit.env.PUBLIC_GOOGLE_ANALYTICS_ID%}`; script.src = "https://www.googletagmanager.com/gtag/js?id=${%sveltekit.env.PUBLIC_GOOGLE_ANALYTICS_ID%"; script.async = true; document.head.appendChild(script);
src/app.html+2-2