Skip to content

Commit a2083fa

Browse files
author
Melle Dijkstra
committed
Added Google Tag Manager
1 parent a332de2 commit a2083fa

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"/>
@@ -68,6 +76,10 @@
6876
<!-- !End Plugins! -->
6977
</head>
7078
<body>
79+
<!-- Google Tag Manager (noscript) -->
80+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KPKS5SL"
81+
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
82+
<!-- End Google Tag Manager (noscript) -->
7183
<div id="wrap">
7284
{% include sidebar.html %}
7385

0 commit comments

Comments
 (0)