AnalyticsMixpanel
Analytics

Mixpanel

Track events on your documentation site with Mixpanel.

Mixpanel provides event-based analytics for tracking how readers use your documentation. Enable the integration to send page views and events to your Mixpanel project.

Prerequisites

  • A Mixpanel account with a project created

  • Your Mixpanel project token

  • Publishing access to your documentation project

Configure from the Editor

Open Site Config

In the Editor, click Site Config in the top toolbar.

Navigate to Integrations

Select Integrations from the left sidebar.

Enable Mixpanel

Select Mixpanel and enter your project token.

Publish

Click Publish to deploy the integration to your live site.

Configure via documentation.json

Add the mixpanel key under integrations in your documentation.json:

{
  "integrations": {
    "mixpanel": {
      "projectToken": "your_project_token"
    }
  }
}
PropertyTypeRequiredDescription
projectTokenstringYesYour Mixpanel project token

Where to find your project token

  1. Sign in to Mixpanel.

  2. Go to SettingsProject Settings.

  3. Copy the Project Token value.

What's next