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