Skip to content

infracost/docusaurus-plugin-plausible

Repository files navigation

docusaurus-plugin-plausible

npm docusaurus-plugin-plausible

A Docusaurus plugin for Plausible analytics. Inspired by gatsby-plugin-plausible.


Install

  1. Install docusaurus-plugin-plausible

npm install --save docusaurus-plugin-plausible

  1. Add plugin to docusaurus.config.js
module.exports = {
  ...
  plugins: [
    [
      'docusaurus-plugin-plausible',
      {
        domain: 'your-website.com',
      },
    ]
  ],
};

Options

  • domain (required) - The domain added in Plausible
  • customDomain - A custom domain if configured in Plausible
  • excludePaths - An array of paths to exclude when sending page view events

License

Apache License 2.0

About

Docusaurus plugin for Plausible analytics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published