ActionLab Analytics for Docusaurus

Add privacy-first, AI-powered analytics to your Docusaurus site in under 60 seconds. No cookies, no consent banners, no complex setup.

Installation Code

Docusaurus
// docusaurus.config.js
module.exports = {
  scripts: [
    {
      src: 'https://cdn.actionlabanalytics.com/actionlab.js',
      'data-site': 'YOUR_SITE_ID',
      defer: true,
    },
  ],
};

Step-by-Step Setup

  1. 1

    Open your docusaurus.config.js file.

  2. 2

    Add the ActionLab script to the scripts array.

  3. 3

    Replace YOUR_SITE_ID with your actual site ID.

  4. 4

    SPA navigation is tracked automatically.

Why Use ActionLab with Docusaurus

  • Clean configuration via docusaurus.config.js
  • Track documentation page popularity
  • AI insights on most-read docs and navigation patterns
  • No Docusaurus plugin needed

Frequently Asked Questions

Can ActionLab track which docs are most read?

Yes. ActionLab shows top pages by traffic, time on page, and bounce rate — perfect for understanding which documentation pages get the most attention and where readers drop off.