Skip to content
This repository has been archived by the owner on Dec 21, 2024. It is now read-only.

Commit

Permalink
add CLOUDFLARE_WEB_ANALYTICS_TOKEN
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanLi committed Jan 17, 2024
1 parent 4bedb51 commit 520ada3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_CLOUDFLARE_WEB_ANALYTICS_TOKEN=4c0a73ec2ef2425bb2ff46ecb707d2cb
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,10 @@
<body class="overflow-y-scroll">
<div id="app"></div>
<script prerender type="module" src="/src/index.tsx"></script>
<script
defer
src="https://static.cloudflareinsights.com/beacon.min.js"
data-cf-beacon='{"token": "%VITE_CLOUDFLARE_WEB_ANALYTICS_TOKEN%"}'
></script>
</body>
</html>

0 comments on commit 520ada3

Please sign in to comment.