Skip to content

Commit 2981557

Browse files
committed
Add Google tag manager script to 404 and index pages
1 parent 2de82e7 commit 2981557

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

404.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,20 @@
5050

5151
gtag("config", "G-CSN8G33F57");
5252
</script>
53+
<!-- Google tag (gtag.js) -->
54+
<script
55+
async
56+
src="https://www.googletagmanager.com/gtag/js?id=AW-16452414597"
57+
></script>
58+
<script>
59+
window.dataLayer = window.dataLayer || [];
60+
function gtag() {
61+
dataLayer.push(arguments);
62+
}
63+
gtag("js", new Date());
64+
65+
gtag("config", "AW-16452414597");
66+
</script>
5367
<!-- jQuery -->
5468
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
5569
</head>

index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,20 @@
5050

5151
gtag("config", "G-CSN8G33F57");
5252
</script>
53+
<!-- Google tag (gtag.js) -->
54+
<script
55+
async
56+
src="https://www.googletagmanager.com/gtag/js?id=AW-16452414597"
57+
></script>
58+
<script>
59+
window.dataLayer = window.dataLayer || [];
60+
function gtag() {
61+
dataLayer.push(arguments);
62+
}
63+
gtag("js", new Date());
64+
65+
gtag("config", "AW-16452414597");
66+
</script>
5367
<!-- jQuery -->
5468
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
5569
</head>

0 commit comments

Comments
 (0)