Skip to content

Commit c194636

Browse files
committed
add googleanalytics tag
1 parent d50563b commit c194636

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

angular/src/index.html

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
11
<!doctype html>
22
<html lang="en">
3+
34
<head>
45
<meta charset="utf-8">
56
<title>AngularStarter</title>
67
<base href="/">
78
<meta name="viewport" content="width=device-width, initial-scale=1">
89
<link rel="icon" type="image/x-icon" href="favicon.ico">
10+
11+
<!-- Google tag (gtag.js) -->
12+
<script async src="https://www.googletagmanager.com/gtag/js?id=YOUR-ID"></script>
13+
<script>
14+
window.dataLayer = window.dataLayer || [];
15+
function gtag() { dataLayer.push(arguments); }
16+
gtag('js', new Date());
17+
18+
gtag('config', 'YOUR-ID');
19+
</script>
20+
921
</head>
22+
1023
<body>
1124
<app-root></app-root>
1225
</body>
13-
</html>
26+
27+
</html>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy