Skip to content

simpleanalytics/docusaurus-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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