Skip to main content
Describe the analytics you want in chat and Rocket generates the complete tracking logic: event calls, funnel visualizations, retention charts, and user segmentation.
This connector is only available for Next.js TypeScript web build tasks.

What you can do

Feature adoption tracking

Measure which features users engage with and how often, so you can prioritize what to build next.

Conversion funnel analysis

Visualize how users move through multi-step flows like signups, onboarding, or checkout.

A/B testing dashboards

Compare metrics across experiment variants to see which version performs better.

User segmentation

Group users by behavior, plan type, or demographics to understand how different audiences use your app.

Retention tracking

Measure how many users return to your app over time and which actions drive long-term engagement.

Before you connect

You need three values from Mixpanel Settings:
  • Account username: your Mixpanel service account username
  • Account secret: your Mixpanel service account secret
  • Region: US or EU, depending on where your Mixpanel project data is hosted
Create a Mixpanel service account from the Mixpanel documentation.
How to create a service account:
1

Open Service Accounts settings

Open Mixpanel Settings and go to Organization Settings > Service Accounts.
2

Add a service account

Click Add Service Account to open the Create Service Account dialog.
3

Configure account details

Enter a Name, set Organization Role and Project Role, and choose the Projects this account can access. Leave Expires as Never unless your organization requires rotation.
4

Copy credentials

Click Create, then copy the username and secret immediately. Mixpanel shows the secret only once.
Mixpanel Create Service Account dialog with Name, Organization Role, Projects, Project Role, and Expires fields.Mixpanel Create Service Account dialog with Name, Organization Role, Projects, Project Role, and Expires fields.

Create Service Account dialog in Mixpanel

Mixpanel is a task-level connector. Each Rocket task connects to its own Mixpanel credentials independently.

Connect Mixpanel

You can connect from two places. Both do the same thing.Option 1: From chatType a prompt that mentions Mixpanel, for example Connect Mixpanel and track when users click the Sign Up button. Rocket detects the intent and shows a Connect button inline. Click it to open the credentials popup.
Rocket chat panel showing a Connect prompt for Mixpanel.Rocket chat panel showing a Connect prompt for Mixpanel.

Mixpanel connection prompt in chat

Option 2: From the Connectors tabClick the ... button in the preview toolbar, then select Connectors.
Toolbar dropdown with Connectors option highlighted.Toolbar dropdown with Connectors option highlighted.

Open Connectors from the toolbar

Click the Mixpanel card, then click Connect.
Connectors panel showing the Mixpanel card with a Connect button.Connectors panel showing the Mixpanel card with a Connect button.

Mixpanel card in the Connectors panel

After clicking Connect
1

Enter credentials

A popup opens. Enter your Account username, Account secret, and Region.
Connect Mixpanel popup with Account username, Account secret, and Region fields.Connect Mixpanel popup with Account username, Account secret, and Region fields.

Connect Mixpanel popup

2

Confirm connection

Click Connect. A green dot appears next to Mixpanel when the connection is active.
Update or disconnectOpen Connectors > Mixpanel and click the card. Click Edit to update your credentials or Disconnect to remove the integration from this task.
Mixpanel card showing Edit and Disconnect buttons.Mixpanel card showing Edit and Disconnect buttons.

Edit and Disconnect options on a connected Mixpanel card

Example prompts

Tips

  • Data region matters. Choose US or EU to match where your Mixpanel project data is hosted.
    Using the wrong region causes events to fail silently - they appear to send but never appear in your Mixpanel dashboard.
  • Events appear with a short delay. Mixpanel typically processes events within a few seconds, but dashboard aggregations may take a few minutes to update.
  • Some analytics features depend on your Mixpanel plan. Advanced features like signal reports and data pipelines may require a paid plan.
  • One Mixpanel account per task. Each Rocket task connects to one set of Mixpanel credentials. Use different tasks for different Mixpanel accounts.
  • Credentials are stored securely. Rocket encrypts them at rest and never exposes them in client-side code.

What’s next?

Supabase

Link Mixpanel events to authenticated users with Supabase user management.

Stripe

Track payment events and revenue alongside user behavior in Mixpanel.

Twilio

Combine SMS notifications with analytics for a complete user communication picture.

All connectors

Browse every available integration.