Skip to main content

Integrations

Plausible

Wire Plausible into every docs page — add your tracked domain to `integrations.plausible` and the script loads on next deploy.

Lightweight, privacy-first alternative to GA4 (no cookies, EU-hosted). No warm-up period.

Configure

integrations.plausiblestringpathrequired

Plausible Tracked domain. Script injects via <Script strategy="afterInteractive"> and loads from https://plausible.io.

{
  "integrations": {
    "plausible": "docs.example.com"
  }
}

Where to find your tracked domain

The value is your domain, not an ID. Exactly as you enter it in Plausible (e.g. docs.acme.com).

Or set it from the dashboard — Editor → Configurations → AI & Advanced → Integrations.

Gotchas

  • Plausible counts a visit from this domain only — if you deploy to both docs.acme.com and acme.com/docs, configure two sites in Plausible and pick whichever you treat as canonical.

Loading behavior

  • Strategy: afterInteractive — injected after page interactivity, so it never blocks first paint.

  • CSP: if you enforce a Content Security Policy, allowlist https://plausible.io in script-src.

  • Removal: delete the integrations.plausible key (or blank it in the dashboard) and redeploy — the script disappears on the next page load.

Related

Was this page helpful?

Last updated August 7, 2026