symblai / docusaurus-plugin-hotjar

Plugin which adds Hotjar script to docusaurus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docusaurus-plugin-hotjar

Installation

npm i docusaurus-plugin-hotjar

Setup

Add to plugins in docusaurus.config.js:

{
  plugins: [
    'docusaurus-plugin-hotjar',
    ...
  ]
}

Add the hotjar configuration to themeConfig in the docusaurus.config.js file:

{
  themeConfig: {
    hotjar: {
      applicationId: HOTJAR_ID,
    },
    ...
  }
}

About

Plugin which adds Hotjar script to docusaurus

License:MIT License


Languages

Language:JavaScript 100.0%