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/utils | |
| 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/utils')
| -rw-r--r-- | src/utils/config.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/utils/config.ts b/src/utils/config.ts index 86701fe..5928f02 100644 --- a/src/utils/config.ts +++ b/src/utils/config.ts @@ -1,4 +1,9 @@ export const settings = { + ackee: { + filename: process.env.NEXT_PUBLIC_ACKEE_FILENAME || 'tracker.js', + siteId: process.env.NEXT_PUBLIC_ACKEE_SITE_ID || '', + url: `https://${process.env.NEXT_PUBLIC_ACKEE_DOMAIN}` || '', + }, name: 'Armand Philippot', baseline: { en: 'Front-end developer', @@ -13,10 +18,6 @@ export const settings = { defaultCountry: 'FR', supported: ['en', 'fr'], }, - matomo: { - urlBase: `https://${process.env.NEXT_PUBLIC_MATOMO_DOMAIN}` || '', - siteId: process.env.NEXT_PUBLIC_MATOMO_SITE_ID || '0', - }, postsPerPage: 10, twitterId: '@ArmandPhilippot', url: `${process.env.NEXT_PUBLIC_APP_PROTOCOL}://${process.env.NEXT_PUBLIC_APP_DOMAIN}`, |
