Simple Analytics plugin for Docusaurus. See the documentation at Simple Analytics.
Install the package docusaurus-plugin-simple-analytics
:
npm install [email protected]
Then, add the plugin to docusaurus.config.js
:
plugins: [
...
['docusaurus-plugin-simple-analytics', {}],
...
],
The property domain
lets you specify your custom domain.
Example:
plugins: [
...
['docusaurus-plugin-simple-analytics', {
domain: 'custom.domain.com'
}],
...
],
The plugin has no effect in development.
Developed by Frédéric Massart from branchup.tech (@branchup) and updated by Rosco Kalis.
Licensed under the MIT License