Skip to content

Commit f2a818b

Browse files
committed
Add Plausible script
1 parent d8c310f commit f2a818b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

website/pages/_app.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
import { ChakraProvider } from "@chakra-ui/react"
22
import { AppProps } from "next/app"
3+
import Script from "next/script"
34
import { theme } from "../theme"
45

56
const CustomApp = ({ Component, pageProps }: AppProps) => {
67
return (
78
<ChakraProvider theme={theme}>
89
<Component {...pageProps} />
10+
<Script
11+
data-domain="create-next-stack.com"
12+
src="https://plausible.io/js/script.js"
13+
strategy="afterInteractive"
14+
/>
915
</ChakraProvider>
1016
)
1117
}

0 commit comments

Comments
 (0)