mirror of
https://github.com/status-im/docs.status.network.git
synced 2025-03-03 10:30:42 +00:00
feat: Add Fathom analytics (#22)
* remove Google Analytics * add Fathom analytics plugin
This commit is contained in:
parent
0bee754eba
commit
bff5bfe421
@ -54,10 +54,6 @@ const config: Config = {
|
||||
ignorePatterns: ['/tags/**'],
|
||||
filename: 'sitemap.xml',
|
||||
},
|
||||
gtag: {
|
||||
trackingID: 'G-4GHNHQDPG2',
|
||||
anonymizeIP: true,
|
||||
},
|
||||
} satisfies Preset.Options,
|
||||
],
|
||||
],
|
||||
@ -172,6 +168,17 @@ const config: Config = {
|
||||
contextualSearch: true,
|
||||
},
|
||||
},
|
||||
|
||||
plugins: [
|
||||
[
|
||||
'@acid-info/docusaurus-fathom',
|
||||
{
|
||||
siteId: 'SMSOL',
|
||||
scriptUrl: 'https://fathom.bi.status.im/tracker.js',
|
||||
hostnames: ['docs.status.network'],
|
||||
},
|
||||
]
|
||||
]
|
||||
} satisfies Config;
|
||||
|
||||
export default config;
|
@ -15,6 +15,7 @@
|
||||
"typecheck": "tsc"
|
||||
},
|
||||
"dependencies": {
|
||||
"@acid-info/docusaurus-fathom": "^1.0.0-alpha.111",
|
||||
"@docusaurus/core": "3.5.2",
|
||||
"@docusaurus/preset-classic": "3.5.2",
|
||||
"@mdx-js/react": "^3.0.0",
|
||||
@ -43,5 +44,6 @@
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0"
|
||||
}
|
||||
},
|
||||
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user