10 lines
329 B
HTML
10 lines
329 B
HTML
|
{% if GOOGLE_ANALYTICS %}
|
||
|
<script defer src="https://www.googletagmanager.com/gtag/js?id={{ GOOGLE_ANALYTICS }}"></script>
|
||
|
<script>
|
||
|
window.dataLayer = window.dataLayer || [];
|
||
|
function gtag(){dataLayer.push(arguments);}
|
||
|
gtag('js', new Date());
|
||
|
gtag('config', '{{ GOOGLE_ANALYTICS }}');
|
||
|
</script>
|
||
|
{% endif %}
|