docusaurus-plugin-ackee-v3

0.0.1 • Public • Published

docusaurus-plugin-ackee-v3

Note Modified to fix the "ackeeTracker is not defined" bug!

Use Ackee in your Docusaurus site.

Requires a running Ackee server.

Tested with Docusaurus v3.5.2 and Ackee v3.4.2

Install

yarn add docusaurus-plugin-ackee-v3

or

npm install docusaurus-plugin-ackee-v3

Usage

// In your docusaurus.config.js
module.exports = {
  plugins: [
    [
      "docusaurus-plugin-ackee-v3",
      {
        // Ackee domain ID
        domainId: "your_ackee_domain_id",

        // URL to your Ackee server
        // MUST NOT END WITH SLASH ('/')
        server: "https://analytics.example.com",

        // Enable or disable tracking of personal data (OS, device, browser, screen size, user language)
        detailed: false,

        // Enable or disable tracking when on localhost
        ignoreLocalhost: true,

        // Enable or disable the tracking of your own visits
        // Enabled by default, should be turned off when using a wildcard Access-Control-Allow-Origin header
        // Some browsers may strictly block third-party cookies and this option will have no impact in this situation
        ignoreOwnVisits: true,
      },
    ],
  ],
};

License

MIT

Package Sidebar

Install

npm i docusaurus-plugin-ackee-v3

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

5.3 kB

Total Files

4

Last publish

Collaborators

  • ray5273