@branchup/docusaurus-plugin-simple-analytics

Simple Analytics plugin for Docusaurus.


Keywords
docusaurus, analytics
License
MIT
Install
npm install @branchup/docusaurus-plugin-simple-analytics@1.1.0

Documentation

Simple Analytics Docusaurus Plugin

Simple Analytics plugin for Docusaurus.

Setup

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', {}],
  ...
],

Options

Example

plugins: [
  ...
  ['@branchup/docusaurus-plugin-simple-analytics', {
    domain: 'custom.domain.com'
  }],
  ...
],

Notes

The plugin has no effect in development.

License

Licensed under the MIT License