Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.17 KB

README.md

File metadata and controls

49 lines (33 loc) · 1.17 KB

Simple Analytics Docusaurus Plugin

Simple Analytics plugin for Docusaurus. See the documentation at Simple Analytics.

Setup

Install the package docusaurus-plugin-simple-analytics:

npm install [email protected]

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