Skip to content

karser/docusaurus-plugin-matomo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matomo plugin for Docusaurus.

npm install --save docusaurus-plugin-matomo

Configuration

docusaurus.config.js

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