-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
45 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,46 @@ | ||
<!doctype html> | ||
<html lang="zh"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/sticker_logo.png" /> | ||
<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> | ||
|
||
<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> | ||
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters