Skip to content

Commit 2cbbe5a

Browse files
committed
add gtag
1 parent 19e5f0a commit 2cbbe5a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

public/index.html

+10
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@
66
<meta name="viewport" content="width=device-width,initial-scale=1.0">
77
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
88
<title>CoreUI - Vue Open Source Bootstrap Admin Template</title>
9+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-118965717-3"></script>
10+
<script>
11+
window.dataLayer = window.dataLayer || [];
12+
function gtag(){dataLayer.push(arguments);}
13+
gtag('js', new Date());
14+
// Shared ID
15+
gtag('config', 'UA-118965717-3');
16+
// Vue.js ID
17+
gtag('config', 'UA-118965717-7');
18+
</script>
919
</head>
1020

1121
<!-- BODY options, add following classes to body to change options

0 commit comments

Comments
 (0)