Skip to content

Commit d453c5e

Browse files
author
Ajay kumar
committed
[Tech] [Ajay]: Integrate google analytics
1 parent 9a62011 commit d453c5e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

TestArena/wwwroot/index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
<html lang="en">
33

44
<head>
5+
<!-- Google tag (gtag.js) -->
6+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-N1BDBV7WLD"></script>
7+
<script>
8+
window.dataLayer = window.dataLayer || [];
9+
function gtag(){dataLayer.push(arguments);}
10+
gtag('js', new Date());
11+
12+
gtag('config', 'G-N1BDBV7WLD');
13+
</script>
514
<meta charset="utf-8" />
615
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
716
<title>Dev Codex</title>
@@ -13,7 +22,6 @@
1322
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css" rel="stylesheet" />
1423
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
1524
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-csharp.min.js"></script>
16-
</head>
1725
<link rel="icon" type="image/png" href="favicon.png" />
1826
<link href="TestArena.styles.css" rel="stylesheet" />
1927
</head>

0 commit comments

Comments
 (0)