Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 1934ca4

Browse files
authored
Add GTM tag in order to verify site in GSC (#5254)
Putting this in the highest place after the opening `<body>` tag per GTM requirements.
1 parent 0503f37 commit 1934ca4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

_includes/layout/site-nav.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
{% if site.environment == "public" %}
2+
<!-- Google Tag Manager (noscript) -->
3+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ site.google.gtm }}"
4+
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
5+
<!-- End Google Tag Manager (noscript) -->
6+
{% endif %}
7+
18
<nav class="site-nav">
29

310
<div class="menu-btn">

0 commit comments

Comments
 (0)