Skip to content

Commit 709abbf

Browse files
Merge pull request #23 from melledijkstra/develop
Added Google Tag Manager
2 parents e928d5c + a2083fa commit 709abbf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

_layouts/default.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@
2424
<!-- Pinterest Tag -->
2525
<meta name="p:domain_verify" content="528f8d5e26a7c45be1eacbef1d62ca2f"/>
2626

27+
<!-- Google Tag Manager -->
28+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
29+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
30+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
31+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
32+
})(window,document,'script','dataLayer','GTM-KPKS5SL');</script>
33+
<!-- End Google Tag Manager -->
34+
2735
<link rel="stylesheet" href="/assets/css/bootstrap.min.css"/>
2836
<link rel="stylesheet" href="/assets/css/site.css"/>
2937
<link rel="stylesheet" href="/assets/css/main.css"/>
@@ -71,6 +79,10 @@
7179
<script data-ad-client="ca-pub-9230984255763944" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
7280
</head>
7381
<body>
82+
<!-- Google Tag Manager (noscript) -->
83+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KPKS5SL"
84+
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
85+
<!-- End Google Tag Manager (noscript) -->
7486
<div id="wrap">
7587
{% include sidebar.html %}
7688

0 commit comments

Comments
 (0)