{# Google Tag (gtag.js / GA4) — set GOOGLE_TAG_ID=G-XXXXXXXX in .env #}{% if google_tag_id|default('') is not empty %}<!-- Google tag (gtag.js) --><script async src="https://www.googletagmanager.com/gtag/js?id={{ google_tag_id|e('html_attr') }}"></script><script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', {{ google_tag_id|json_encode|raw }});</script>{% endif %}