From 248c08ac8f8480b3ed6965606d8d5d6e8d382d4f Mon Sep 17 00:00:00 2001 From: Michal Sapka Date: Wed, 7 Sep 2022 22:49:23 +0200 Subject: feat: add happy kit --- pages/_app.tsx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pages') 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 ( -- cgit v1.2.3