Skip to content

Commit

Permalink
feat: add umami for gdpr compliant analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-karger committed Apr 29, 2024
1 parent 0b877a0 commit 73a7b22
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion apps/docs/src/entry-server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ export default createHandler(() => (
<StartServer
document={({ assets, children, scripts }) => (
<html lang="en">
<head>{assets}</head>
<head>
{assets}
<script
defer
src="https://analytics.eu.umami.is/script.js"
data-website-id="ee09d538-8dab-4134-9dca-aad904b65af7"
/>
</head>
<body>
<div id="app">{children}</div>
{scripts}
Expand Down

0 comments on commit 73a7b22

Please sign in to comment.