12 lines
361 B
HTML
12 lines
361 B
HTML
|
{% if site.gtag %}
|
||
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||
|
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.gtag }}"></script>
|
||
|
<script>
|
||
|
window.dataLayer = window.dataLayer || [];
|
||
|
function gtag(){dataLayer.push(arguments);}
|
||
|
gtag('js', new Date());
|
||
|
|
||
|
gtag('config', '{{ site.gtag }}');
|
||
|
</script>
|
||
|
{% endif %}
|