Added Analytics

This commit is contained in:
Ludoviko 2021-07-24 14:31:40 +01:00
parent 25c29c8a11
commit 75d94341c5
No known key found for this signature in database
GPG key ID: 1E66DEA3F5D623D1
4 changed files with 19 additions and 3 deletions

View file

@ -1,10 +1,15 @@
import '../styles/globals.css'
import type { AppProps } from 'next/app'
import {NextIntlProvider} from 'next-intl';
import PlausibleProvider from 'next-plausible';
function _App({ Component, pageProps }: AppProps) {
return <NextIntlProvider messages={pageProps.messages}>
<Component {...pageProps} />
</NextIntlProvider>
return (
<PlausibleProvider trackOutboundLinks={true} domain="vannerba.st">
<NextIntlProvider messages={pageProps.messages}>
<Component {...pageProps} />
</NextIntlProvider>
</PlausibleProvider>
)
}
export default _App