Skip to content

Commit 86e152f

Browse files
committed
try Google Analytics
1 parent 0cf0a6f commit 86e152f

File tree

3 files changed

+191
-182
lines changed

3 files changed

+191
-182
lines changed

index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@
88
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"/>
99
<link rel="stylesheet" type="text/css" href="http://cdn.tiye.me/favored-fonts/main-fonts.css">
1010
<link rel="stylesheet" type="text/css" href="./assets/main.css">
11+
<!-- Global site tag (gtag.js) - Google Analytics -->
12+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-B8FBEGXH0K"></script>
13+
<script>
14+
window.dataLayer = window.dataLayer || [];
15+
function gtag(){dataLayer.push(arguments);}
16+
gtag('js', new Date());
17+
18+
gtag('config', 'G-B8FBEGXH0K');
19+
</script>
1120
</head>
1221

1322
<body>

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"dependencies": {
3-
"@calcit/procs": "^0.5.21",
4-
"cirru-color": "^0.2.1-a1"
3+
"@calcit/procs": "^0.6.0-a3",
4+
"cirru-color": "^0.2.3"
55
},
66
"devDependencies": {
77
"bottom-tip": "^0.1.3",
8-
"vite": "^2.8.6"
8+
"vite": "^3.0.2"
99
},
1010
"version": "0.0.1"
1111
}

0 commit comments

Comments
 (0)