Skip to content

Commit

Permalink
modified: layouts/partials/hooks/head-end/gtm.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dunxuan committed Oct 13, 2024
1 parent c7336d1 commit 1d37c27
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions layouts/partials/hooks/head-end/gtm.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
{{ if $.Site.Params.google_tag_manager }}
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MN6LB5ZX" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<noscript
><iframe
src="https://www.googletagmanager.com/ns.html?id={{ $.Site.Params.google_tag_manager }}"
height="0"
width="0"
style="display: none; visibility: hidden"
></iframe
></noscript>
<!-- End Google Tag Manager (noscript) -->
{{ end }}

0 comments on commit 1d37c27

Please sign in to comment.