Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 662 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 662 Bytes

docusaurus-plugin-statcounter

A docusaurus plugin offering integration with StatCounter

This plugin is for v2 of Docusaurus

Installation

npm i @jsplumb/docusaurus-plugin-statcounter

Configuration

  • Add the plugin to the plugins array in your docusaurus.config.js:
plugins:[

    "@jsplumb/docusaurus-plugin-statcounter",

],
  • Add a statCounter entry to the themeConfig section of your docusaurus.config.js:
themeConfig: {
 
 statCounter:{
    projectId:"PROJECT ID",
    securityCode:"SECURITY CODE"
  },
 
}

projectId and securityCode are available in the Statcounter console.