Skip to content

Commit 64bc683

Browse files
committed
add GTM script on the head
1 parent 25cbf23 commit 64bc683

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/partials/head-first.hbs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,12 @@
33
<script>(function(l,p){if(l.protocol!==p)l.protocol=p})(location,'https:')</script>
44
{{/if}}
55
<meta name="viewport" content="width=device-width,initial-scale=1.0">
6+
<!-- Google Tag Manager -->
7+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push(
8+
9+
{'gtm.start': new Date().getTime(),event:'gtm.js'}
10+
);var f=d.getElementsByTagName(s)[0],
11+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
12+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
13+
})(window,document,'script','dataLayer','GTM-MVPNN2');</script>
14+
<!-- End Google Tag Manager -->

0 commit comments

Comments
 (0)