Skip to content

Commit

Permalink
Add proxied Plausible analytics (#2369)
Browse files Browse the repository at this point in the history
Signed-off-by: Mihovil Ilakovac <[email protected]>
  • Loading branch information
infomiho authored Nov 14, 2024
1 parent 16899c3 commit 987c1d2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions web/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ const Index = () => {
content="Develop full-stack web apps without boilerplate."
/>
<meta property="twitter:image" content={coverPhotoAbsoluteUrl} />
{/* Using Cloudflare Workers to proxy the analytics script */}
<script
defer
data-domain="wasp-lang.dev"
data-api="/waspara/wasp/event"
src="/waspara/wasp/script.js"
></script>
</Head>
<Nav />
<div className="min-h-screen">
Expand Down

0 comments on commit 987c1d2

Please sign in to comment.