1.0.0 • Published 4 years ago

@gingertag/docusaurus v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@gingertag/docusaurus

Docusaurus plugin to integrate GingerTag analytics.

Usage

In your docusaurus.config.js, add '@gingertag/docusaurus' to plugins.

Add your projectId to themeConfig key.

{
  ...
  plugins: ['@gingertag/docusaurus'],
  themeConfig: {
    ...
    gingertag: {
      projectId: 123,
    },
  }
}

Note that analytics will only be triggered in production build, and not while development.