Skip to content

Commit ff5eb28

Browse files
committed
refactor: switch to Cloudflare analytics
1 parent b19b393 commit ff5eb28

1 file changed

Lines changed: 6 additions & 16 deletions

File tree

src/index.html

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@
55
<title>Impact</title>
66
<base href="/" />
77

8-
<meta
9-
name="viewport"
10-
content="user-scalable=no, width=device-width, initial-scale=1"
11-
/>
8+
<meta name="viewport" content="width=device-width, initial-scale=1" />
129
<meta name="description" content="Genshin's Paimon certified database" />
1310

14-
<link rel="preconnect" href="https://fonts.gstatic.com" />
1511
<link
1612
rel="apple-touch-icon"
1713
sizes="57x57"
@@ -104,19 +100,13 @@
104100
crossorigin="anonymous"
105101
></script>
106102

103+
<!-- Cloudflare Web Analytics -->
107104
<script
108-
async
109-
src="https://www.googletagmanager.com/gtag/js?id=G-YB3T0038EP"
105+
defer
106+
src="https://static.cloudflareinsights.com/beacon.min.js"
107+
data-cf-beacon='{"token": "44bea52a5025489f9368abe192365145"}'
110108
></script>
111-
<script>
112-
window.dataLayer = window.dataLayer || [];
113-
function gtag() {
114-
dataLayer.push(arguments);
115-
}
116-
gtag('js', new Date());
117-
118-
gtag('config', 'G-YB3T0038EP');
119-
</script>
109+
<!-- End Cloudflare Web Analytics -->
120110
</head>
121111
<body>
122112
<app-root></app-root>

0 commit comments

Comments
 (0)