Skip to content

Commit 71acd4e

Browse files
committed
feat: add Google Analyatics
1 parent 2a66ba4 commit 71acd4e

10 files changed

Lines changed: 64 additions & 681 deletions

File tree

en/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@
3232
<meta name="description" content="Dir, a Simple and Elegant Garbage Cleaner for Android">
3333
<meta name="keywords" content="Android, Dir, APK, Play, Trumeet, 清理, 优化, Clean, Optimize">
3434
<link href="https://cdnjs.loli.net/ajax/libs/mdui/0.2.1/css/mdui.min.css" rel="stylesheet">
35+
<!-- Global site tag (gtag.js) - Google Analytics -->
36+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-85804209-6"></script>
37+
<script>
38+
window.dataLayer = window.dataLayer || [];
39+
function gtag(){dataLayer.push(arguments);}
40+
gtag('js', new Date());
41+
42+
gtag('config', 'UA-85804209-6');
43+
</script>
3544
</head>
3645

3746
<body class="mdui-drawer-body-left mdui-appbar-with-toolbar">

google56d275a0b953ee62.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

index.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@
1212
<meta name="author" content="Trumeet">
1313
<meta name="description" content="Dir">
1414
<meta name="keywords" content="Android, Dir, APK, Play, Trumeet, 清理, 优化">
15+
<!-- Global site tag (gtag.js) - Google Analytics -->
16+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-85804209-6"></script>
17+
<script>
18+
window.dataLayer = window.dataLayer || [];
19+
function gtag(){dataLayer.push(arguments);}
20+
gtag('js', new Date());
21+
22+
gtag('config', 'UA-85804209-6');
23+
</script>
24+
1525
</head>
1626

1727

pay/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
<head>
44
<meta http-equiv="refresh"
55
content="0; url=https://api.yuuta.moe/pay">
6+
<!-- Global site tag (gtag.js) - Google Analytics -->
7+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-85804209-6"></script>
8+
<script>
9+
window.dataLayer = window.dataLayer || [];
10+
function gtag(){dataLayer.push(arguments);}
11+
gtag('js', new Date());
12+
13+
gtag('config', 'UA-85804209-6');
14+
</script>
615
</head>
716
<body>
817
<p>Redirecting...</p>

readme-zh-rCN.html

Lines changed: 0 additions & 340 deletions
This file was deleted.

readme/readme-zh-rCN.html

Lines changed: 0 additions & 340 deletions
This file was deleted.

support/which-kind-of-key-should-i-input/en.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
type='text/css' />
1010
<link href='https://dir.yuuta.moe/support/css/markdown.css' rel='stylesheet'
1111
type="text/css" />
12+
<!-- Global site tag (gtag.js) - Google Analytics -->
13+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-85804209-6"></script>
14+
<script>
15+
window.dataLayer = window.dataLayer || [];
16+
function gtag(){dataLayer.push(arguments);}
17+
gtag('js', new Date());
18+
19+
gtag('config', 'UA-85804209-6');
20+
</script>
1221
</head>
1322

1423
<body class='typora-export'>

support/which-kind-of-key-should-i-input/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
<meta charset='UTF-8'>
44
<meta name='viewport' content='width=device-width initial-scale=1'>
55
<title></title>
6+
<!-- Global site tag (gtag.js) - Google Analytics -->
7+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-85804209-6"></script>
8+
<script>
9+
window.dataLayer = window.dataLayer || [];
10+
function gtag(){dataLayer.push(arguments);}
11+
gtag('js', new Date());
12+
13+
gtag('config', 'UA-85804209-6');
14+
</script>
615
</head>
716
<body>
817
<script>

support/which-kind-of-key-should-i-input/zh-cn.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
type='text/css' />
1010
<link href='https://dir.yuuta.moe/support/css/markdown.css' rel='stylesheet'
1111
type="text/css" />
12+
<!-- Global site tag (gtag.js) - Google Analytics -->
13+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-85804209-6"></script>
14+
<script>
15+
window.dataLayer = window.dataLayer || [];
16+
function gtag(){dataLayer.push(arguments);}
17+
gtag('js', new Date());
18+
19+
gtag('config', 'UA-85804209-6');
20+
</script>
1221
</head>
1322

1423
<body class='typora-export'>

zh/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@
2929
<meta name="description" content="Dir,简单美观的 Android 垃圾清理工具">
3030
<meta name="keywords" content="Android, Dir, APK, Play, Trumeet, 清理, 优化">
3131
<link href="https://cdnjs.loli.net/ajax/libs/mdui/0.2.1/css/mdui.min.css" rel="stylesheet">
32+
<!-- Global site tag (gtag.js) - Google Analytics -->
33+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-85804209-6"></script>
34+
<script>
35+
window.dataLayer = window.dataLayer || [];
36+
function gtag(){dataLayer.push(arguments);}
37+
gtag('js', new Date());
38+
39+
gtag('config', 'UA-85804209-6');
40+
</script>
3241
</head>
3342

3443
<body class="mdui-drawer-body-left mdui-appbar-with-toolbar">

0 commit comments

Comments
 (0)