mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-21 21:06:20 +02:00
Update analytics (#432)
This commit is contained in:
parent
a4ca5f1676
commit
b0aa9db26d
18 changed files with 122 additions and 106 deletions
|
@ -8,7 +8,6 @@ import { NextPage } from "next";
|
|||
import { AppProps } from "next/app";
|
||||
import Head from "next/head";
|
||||
import { appWithTranslation } from "next-i18next";
|
||||
import PlausibleProvider from "next-plausible";
|
||||
import { DefaultSeo } from "next-seo";
|
||||
import React from "react";
|
||||
import { Toaster } from "react-hot-toast";
|
||||
|
@ -44,13 +43,7 @@ const MyApp: NextPage<AppProps> = ({ Component, pageProps }) => {
|
|||
}
|
||||
|
||||
return (
|
||||
<PlausibleProvider
|
||||
domain="rallly.co"
|
||||
customDomain={process.env.NEXT_PUBLIC_PLAUSIBLE_DOMAIN}
|
||||
trackOutboundLinks={true}
|
||||
selfHosted={true}
|
||||
enabled={!!process.env.NEXT_PUBLIC_PLAUSIBLE_DOMAIN}
|
||||
>
|
||||
<>
|
||||
<DefaultSeo
|
||||
openGraph={{
|
||||
siteName: "Rallly",
|
||||
|
@ -84,7 +77,7 @@ const MyApp: NextPage<AppProps> = ({ Component, pageProps }) => {
|
|||
}
|
||||
`}</style>
|
||||
<Component {...pageProps} />
|
||||
</PlausibleProvider>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue