flex/pelican/themes/Flex/templates/partial/ggst.html

11 lines
334 B
HTML
Raw Permalink Normal View History

2022-07-08 20:36:43 +02:00
{% if GOOGLE_GLOBAL_SITE_TAG %}
<script async src="https://www.googletagmanager.com/gtag/js?id={{ GOOGLE_GLOBAL_SITE_TAG }}"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{ GOOGLE_GLOBAL_SITE_TAG }}');
</script>
2022-07-08 20:36:43 +02:00
{% endif %}