diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-21 17:13:50 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-02-21 17:17:42 +0100 |
| commit | f18fe8caa611e9273c5504fa81522e1ac93b95d2 (patch) | |
| tree | 455ecf2631e61eb98c6c005c9a4c2e2e5a9b6780 /src/pages | |
| parent | ad00b2dc9492d20b3b8c3dcd7c5b425ee7f8d404 (diff) | |
feat: replace Matomo with Ackee
I do not use all Matomo features so I was searching a lightweight
analytics tools. I will give a try to Ackee.
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/_app.tsx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 6ff8e1b..1f5be8f 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -1,10 +1,8 @@ -import * as matomo from '@socialgouv/matomo-next'; import { AppPropsWithLayout } from '@ts/types/app'; import { settings } from '@utils/config'; import { PrismThemeProvider } from '@utils/providers/prism'; import { ThemeProvider } from 'next-themes'; import { useRouter } from 'next/router'; -import { useEffect } from 'react'; import { IntlProvider } from 'react-intl'; import '../styles/globals.scss'; @@ -12,13 +10,6 @@ const MyApp = ({ Component, pageProps }: AppPropsWithLayout) => { const { locale, defaultLocale } = useRouter(); const appLocale: string = locale || settings.locales.defaultLocale; - useEffect(() => { - matomo.init({ - url: settings.matomo.urlBase, - siteId: settings.matomo.siteId, - }); - }, []); - const getLayout = Component.getLayout ?? ((page) => page); return ( <IntlProvider |
