chore: 悦码渲染器增加 ga 分析

This commit is contained in:
wangxuefeng
2025-03-28 16:12:53 +08:00
parent 799a775a8d
commit fcd44e49d2
12 changed files with 1514 additions and 1502 deletions

View File

@@ -10,5 +10,18 @@
<body>
<div id="y-code-renderer" style="width: 100%; height: 100%"></div>
<script type="module" src="/src/index.ts"></script>
<!-- Google tag (gtag.js) -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-0Y7ER0SZ2V"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-0Y7ER0SZ2V');
</script>
</body>
</html>