feat(app): add umami tracking

This commit is contained in:
Lars Hampe 2024-10-04 20:03:54 +02:00
parent b2ef80d58d
commit 14c376116c

View File

@ -37,6 +37,13 @@ if (!rootElement.innerHTML) {
<ClerkProvider publishableKey={PUBLISHABLE_KEY}>
<ThemeProvider defaultTheme="dark" storageKey="ui-theme">
<QueryClientProvider client={queryClient}>
{import.meta.env.PROD && (
<script
defer
src="https://umami.hashdot.co/script.js"
data-website-id="446678cc-e2d8-4b6f-8e8f-389cd7f6db28"
/>
)}
<RouterProvider router={router} />
</QueryClientProvider>
</ThemeProvider>