0.0.0 • Published 4 years ago

docusaurus-plugin-ackee-tracker v0.0.0

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

docusaurus-plugin-ackee-tracker

Use Ackee tracker in your Docusaurus site.

Requires a running Ackee server.

Install

yarn add docusaurus-plugin-ackee-tracker

or

npm install docusaurus-plugin-ackee-tracker

Usage

// In your docusaurus.config.js
module.exports = {
  plugins: ['docusaurus-plugin-ackee-tracker'],
  themeConfig: {
    ackee: {
      // Domain ID, can be found or created in the admin panel, under the setting tab.
      domainId: 'your_ackee_domain_id',
      // URL to your Ackee server.
      // MUST NOT END WITH SLASH ('/')
      server: 'https://analytics.example.com',
      // Enable or disable tracking when on localhost.
      ignoreLocalhost: true,
      // Enable or disable tracking of personal data (like OS, device, browser, screen size, user language).
      // We recommend to let your user know if this option is turned on.
      detailed: false,
    },
  },
}

License

MIT