diff options
author | Michal Sapka <michal@sapka.me> | 2022-09-07 22:49:23 +0200 |
---|---|---|
committer | Michal Sapka <michal@sapka.me> | 2022-09-07 22:49:23 +0200 |
commit | 248c08ac8f8480b3ed6965606d8d5d6e8d382d4f (patch) | |
tree | 9e361e648e1605f068cba71dc5094348117a2062 /pages | |
parent | 326b566b83b79bf4d16ff0b599efa57b7cde966e (diff) |
feat: add happy kit
Diffstat (limited to 'pages')
-rw-r--r-- | pages/_app.tsx | 3 |
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} /> |