Added Analytics
This commit is contained in:
parent
25c29c8a11
commit
75d94341c5
|
@ -19,6 +19,11 @@ module.exports = {
|
|||
source: '/watch',
|
||||
destination: 'https://www.netflix.com/gb/title/81210762?s=i&trkid=13747225&vlang=en&clip=81459758',
|
||||
permanent: true
|
||||
},
|
||||
{
|
||||
source: '/gay-bible',
|
||||
destination: 'https://www.goodreads.com/book/show/36256691-the-holy-bible-but-gayer',
|
||||
permanent: true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
"dependencies": {
|
||||
"next": "11.0.1",
|
||||
"next-intl": "^1.4.4",
|
||||
"next-plausible": "^2.0.0",
|
||||
"react": "17.0.2",
|
||||
"react-dom": "17.0.2"
|
||||
},
|
||||
|
|
|
@ -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}>
|
||||
return (
|
||||
<PlausibleProvider trackOutboundLinks={true} domain="vannerba.st">
|
||||
<NextIntlProvider messages={pageProps.messages}>
|
||||
<Component {...pageProps} />
|
||||
</NextIntlProvider>
|
||||
</PlausibleProvider>
|
||||
)
|
||||
}
|
||||
export default _App
|
||||
|
|
|
@ -1987,6 +1987,11 @@ next-intl@^1.4.4:
|
|||
dependencies:
|
||||
use-intl "^1.4.4"
|
||||
|
||||
next-plausible@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/next-plausible/-/next-plausible-2.0.0.tgz#2f5536ef3945c9a516471c2d5eda68887d447d74"
|
||||
integrity sha512-NaLrAK+LsnEyXz31qy9OjhXZlppp0aWUdKmBPgthrWeGPwLo7ojSWgWU2BzbbUOqi0XVoWjaMa3oNVDfVkyC5w==
|
||||
|
||||
next@11.0.1:
|
||||
version "11.0.1"
|
||||
resolved "https://registry.yarnpkg.com/next/-/next-11.0.1.tgz#b8e3914d153aaf7143cb98c09bcd3c8230eeb17a"
|
||||
|
|
Loading…
Reference in a new issue