Skip to content

Commit

Permalink
chore: add ga
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-Shen committed Nov 23, 2023
1 parent e4d49bf commit 537ba83
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/guide-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ jobs:
with:
url: ${{ secrets.WEBHOOK_URL }}
headers: '{"Content-Type": "application/json"}'
body: '{"msgtype":"markdown","markdown":{"content":"# ${{ steps.date.outputs.date }} \n\nLabelU [用户文档站点](${{ steps.deployment.outputs.page_url }})已更新 🎉"}}'
body: '{"msgtype":"markdown","markdown":{"content":"# ${{ steps.date.outputs.date }} \n\nLabelU [用户文档站点](${{ steps.deployment.outputs.page_url }}) 已更新 🎉"}}'

11 changes: 10 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@
-->
<title>LabelU 使用指南</title>
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VZ82VW0WEH"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-VZ82VW0WEH');
</script>

<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand All @@ -45,4 +54,4 @@
</body>
<script type="module" src="/src/index.tsx"></script>

</html>
</html>

0 comments on commit 537ba83

Please sign in to comment.