Skip to main content

Integrations

Mixpanel

Wire Mixpanel into every docs page — add your project token to `integrations.mixpanel` and the script loads on next deploy.

Event-first product analytics. Good for funnel analysis, cohort retention, and A/B test readouts.

Configure

integrations.mixpanelstringpathrequired

Mixpanel Project token. Script injects via <Script strategy="afterInteractive"> and loads from https://cdn.mxpnl.com.

{
  "integrations": {
    "mixpanel": "abc123def456..."
  }
}

Where to find your project token

Mixpanel project → SettingsAccess KeysProject Token.

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

Loading behavior

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

  • CSP: if you enforce a Content Security Policy, allowlist https://cdn.mxpnl.com in script-src.

  • Removal: delete the integrations.mixpanel 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