Skip to content

Commit fa3c86e

Browse files
Add test GTM container code to every page
1 parent 3312b80 commit fa3c86e

File tree

2 files changed

+32
-4
lines changed

2 files changed

+32
-4
lines changed

error.html

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
<head>
4+
<!-- Google Tag Manager -->
5+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
6+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
7+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
8+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
9+
})(window,document,'script','dataLayer','GTM-TQWPXL9L');</script>
10+
<!-- End Google Tag Manager -->
11+
</head>
312
<body>
13+
<!-- Google Tag Manager (noscript) -->
14+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TQWPXL9L"
15+
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
16+
<!-- End Google Tag Manager (noscript) -->
17+
418
<div class="error-page">
519
<img src='sources/images/inner-pages/error-page.png'>
620
<div class="not-found-404">404</div>
@@ -9,14 +23,14 @@
923
</div>
1024

1125
<!-- Google tag (gtag.js) -->
12-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-541WGVR6R5"></script>
26+
<!-- <script async src="https://www.googletagmanager.com/gtag/js?id=G-541WGVR6R5"></script>
1327
<script>
1428
window.dataLayer = window.dataLayer || [];
1529
function gtag(){dataLayer.push(arguments);}
1630
gtag('js', new Date());
1731
1832
gtag('config', 'G-541WGVR6R5');
19-
</script>
33+
</script> -->
2034

2135
</body>
2236
</html>

index.html

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
<html>
33
<head>
44
<meta charset="utf-8">
5+
6+
<!-- Google Tag Manager -->
7+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
8+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
9+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
10+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
11+
})(window,document,'script','dataLayer','GTM-TQWPXL9L');</script>
12+
<!-- End Google Tag Manager -->
13+
514
<meta name="viewport" content="width=device-width">
615
<title>ISIC Archive</title>
716
<link rel="shortcut icon" href="sources/images/favicon.ico" type="image/x-icon" />
@@ -15,6 +24,11 @@
1524

1625
</head>
1726
<body>
27+
<!-- Google Tag Manager (noscript) -->
28+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TQWPXL9L"
29+
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
30+
<!-- End Google Tag Manager (noscript) -->
31+
1832
<svg class="svg" xmlns="http://www.w3.org/2000/svg">
1933
<!-- icons -->
2034
<symbol viewBox="0 0 26 26" id="close-icon">
@@ -104,14 +118,14 @@
104118
</svg>
105119

106120
<!-- Google tag (gtag.js) -->
107-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-541WGVR6R5"></script>
121+
<!-- <script async src="https://www.googletagmanager.com/gtag/js?id=G-541WGVR6R5"></script>
108122
<script>
109123
window.dataLayer = window.dataLayer || [];
110124
function gtag(){dataLayer.push(arguments);}
111125
gtag('js', new Date());
112126
113127
gtag('config', 'G-541WGVR6R5');
114-
</script>
128+
</script> -->
115129

116130
</body>
117131
</html>

0 commit comments

Comments
 (0)