summaryrefslogtreecommitdiff
path: root/pages/_app.tsx
diff options
context:
space:
mode:
authorMichal Sapka <michal@sapka.me>2022-09-07 22:49:23 +0200
committerMichal Sapka <michal@sapka.me>2022-09-07 22:49:23 +0200
commit248c08ac8f8480b3ed6965606d8d5d6e8d382d4f (patch)
tree9e361e648e1605f068cba71dc5094348117a2062 /pages/_app.tsx
parent326b566b83b79bf4d16ff0b599efa57b7cde966e (diff)
feat: add happy kit
Diffstat (limited to 'pages/_app.tsx')
-rw-r--r--pages/_app.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/pages/_app.tsx b/pages/_app.tsx
index da7cb05a..8f7cd459 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -2,8 +2,11 @@ import { ChakraProvider } from '@chakra-ui/react'
import theme from '../lib/theme'
import type { AppProps } from 'next/app'
import '@fontsource/lato/400.css'
+import { useAnalytics } from '@happykit/analytics';
function MyApp({ Component, pageProps }: AppProps) {
+ useAnalytics({ publicKey: "analytics_pub_a2812a8f3f" })
+
return (
<ChakraProvider theme={theme}>
<Component {...pageProps} />