@ -7,18 +7,25 @@
src="https://code.jquery.com/jquery-1.12.4.min.js"
integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ="
crossorigin="anonymous">< / script >
{% endblock %}
{% block analytics %}
{% if config.google_analytics %}
{% if config.extra.google.analytics_id %}
<!-- Global site tag (gtag.js) - Google Analytics -->
< script async src = "https://www.googletagmanager.com/gtag/js?id={{ config.google_analytics[0] }}" > < / script >
< script async src = "https://www.googletagmanager.com/gtag/js?id={{config.extra.google.analytics_id }}" > < / script >
< script >
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '{{config.extra.google.analytics_id}}');
< / script >
{% endif %}
gtag('config', '{{ config.google_analytics[0] }}');
< / script >
{% if config.extra.google.site_verification %}
<!-- Google site verification for search console -->
< meta name = "google-site-verification" content = "{{config.extra.google.site_verification}}" / >
{% endif %}
{% endblock %}
{% endblock %}
{% block analytics %}
<!-- Empty the footer analytics bloc as we need it the headers -->
{% endblock %}