Skip to content

Commit f175e57

Browse files
authored
Integrate Google Analytics in 404.html
Added Google Analytics tracking script to 404 page.
1 parent fa63cf9 commit f175e57

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

404.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@
66
<title>404 - Page Not Found | GitHub Profile Finder</title>
77
<link rel="icon" type="image/png" href="assets/favicon-32x32.png">
88
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
9+
<!-- Google tag (gtag.js) -->
10+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NT1CD907W8"></script>
11+
<script>
12+
window.dataLayer = window.dataLayer || [];
13+
function gtag(){dataLayer.push(arguments);}
14+
gtag('js', new Date());
15+
16+
gtag('config', 'G-NT1CD907W8');
17+
</script>
918
<style>
1019
* {
1120
margin: 0;

0 commit comments

Comments
 (0)