Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docusaurus-plugin-umami

This plugin enables you to use umami analytics on a docusaurus site!

Install the plugin

  1. Add the plugin to your project.
yarn add docusaurus-plugin-umami

or

npm install docusaurus-plugin-umami --save
  1. Configure the plugin in docusaurus.config.js
// docusaurus.config.js
module.exports = {
  plugins: ["docusaurus-plugin-umami"],
  themeConfig: {
    umami: {
      websiteid: "websiteID", // Insctructions below on how to find this
      src: "script src", // Instructions below on how to find this
    },
  }
};

How to find the configutation values for umami

  1. Log into Umami
  2. On the top right, select profile
  3. Select "websites"
  4. Choose the tracking code option:

settings

  1. The data-website-id value is the websiteID value - You can copy and paste this as it is. Just do not include the "
  2. The value of src is your src - You can copy and paste this as it is, just do not include the "

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages