Simple Analytics plugin for Docusaurus.
Install the package @branchup/docusaurus-plugin-simple-analytics
:
npm install --save @branchup/docusaurus-plugin-simple-analytics
Or
yarn add @branchup/docusaurus-plugin-simple-analytics
Then, add the plugin to docusaurus.config.js
:
plugins: [
...
['@branchup/docusaurus-plugin-simple-analytics', {}],
...
],
- The property
domain
lets you specify your custom domain.
Example
plugins: [
...
['@branchup/docusaurus-plugin-simple-analytics', {
domain: 'custom.domain.com'
}],
...
],
The plugin has no effect in development.
Licensed under the MIT License