-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
46 lines (42 loc) · 1.45 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/images/big-sticker_logo.webp" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>大贴纸 - 在线生成收藏物料</title>
<!-- Google tag (gtag.js) -->
<!-- <script async src="https://www.googletagmanager.com/gtag/js?id=G-ZNVB76LBFR"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-ZNVB76LBFR');
</script> -->
<script type="text/javascript">
(function (c, l, a, r, i, t, y) {
c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };
t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i;
y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jd2me6das9");
</script>
<script>
window.addEventListener("load", (event) => {
const id = localStorage.getItem("id")
if (id) {
window.clarity("identify", id).then((v) => {
console.log(v)
localStorage.setItem("userId", v.userId)
// localStorage.setItem("sessionId", v.sessionId)
})
} else {
console.log('noid');
}
});
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>