Added Analytics
This commit is contained in:
parent
25c29c8a11
commit
75d94341c5
4 changed files with 19 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue