0.0.7 • Published 1 year ago

@selenuix/docusaurus-plugin-matomo-no-cookies v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Matomo plugin (no cookies) for Docusaurus.

Introduction

This is a fork from karser/docusaurus-plugin-matomo, with the only difference being cookie tracking disabled. So thanks to them.

npm install --save @selenuix/docusaurus-plugin-matomo-no-cookies

Configuration

docusaurus.config.js

module.exports = {
  plugins: [
    'docusaurus-plugin-matomo-no-cookies',
  ],
  themeConfig: {
    matomo: {
      matomoUrl: 'https://your.matomo.instance/',
      siteId: 'ID',
      phpLoader: 'matomo.php',
      jsLoader: 'matomo.js',
    },
  },
};