Skip to content

Commit

Permalink
Add Google Tag Manager noscript version
Browse files Browse the repository at this point in the history
  • Loading branch information
segfaultxavi committed Oct 10, 2023
1 parent 3c262f9 commit 402dd64
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/assets/overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,11 @@
{% endif %}
{{ super() }}
{% endblock %}

{% block header %}
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ config.extra.analytics.property }}"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
{{ super() }}
{% endblock %}

0 comments on commit 402dd64

Please sign in to comment.