Skip to content

rainyjune/docusaurus-plugin-baidu-analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docusaurus-plugin-baidu-analytics

Baidu Analytics plugin for Docusaurus.

npm i @rainyjune/docusaurus-plugin-baidu-analytics

Note: This plugin is inactive in development by default and active in production to avoid polluting the analytics statistics. If you want to activate it in development environment, please set the isDebugMode to true.

Usage

docusaurus.config.js

module.exports = {
  plugins: [
    [
      "@rainyjune/docusaurus-plugin-baidu-analytics",
      {
        trackingID: "xxxxxxxxxxx", // Your Baidu Analytics Tracking ID. Required.
        isDebugMode: false, // Enable debug mode or not. Optional, default to `false`.
      },
    ],
  ],
};

About

The Baidu Analytics plugin for Docusaurus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published