Mixpanel
Add Mixpanel to your Rocket.new app to track feature adoption, analyze conversion funnels, and segment users by behavior for product analytics.
Describe the analytics you want in chat and Rocket generates the complete tracking logic: event calls, funnel visualizations, retention charts, and user segmentation.
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:
USorEU, depending on where your Mixpanel project data is hosted
Create a Mixpanel service account from the Mixpanel documentation.
How to create a service account:
Open Mixpanel Settings and go to Organization Settings > Service Accounts.
Click Add Service Account to open the Create Service Account dialog.
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.
Click Create, then copy the username and secret immediately. Mixpanel shows the secret only once.


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 chat
Type 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.


Option 2: From the Connectors tab
Click the ... button in the preview toolbar, then select Connectors.


Click the Mixpanel card, then click Connect.


After clicking Connect
A popup opens. Enter your Account username, Account secret, and Region.


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


Example prompts
| What you want | Prompt to use |
|---|---|
| Button tracking | Track clicks on the Sign Up and Subscribe buttons and send events to Mixpanel. |
| Page views | Track page views for every route in my app and send them to Mixpanel with the page name. |
| Signup funnel | Track a signup funnel: Visit > Click Sign Up > Complete Form > Verify Email. Show drop-off rates. |
| Feature usage | Track usage of the search, filter, and export features. Show a daily usage chart for the last 30 days. |
| User properties | Set Mixpanel user properties for plan type, signup date, and company name on login. |
| Retention chart | Show a weekly retention chart for users who completed onboarding in the last 8 weeks. |
| A/B test | Track an A/B test on the pricing page. Compare conversion rates for monthly vs. annual pricing. |
| Revenue tracking | Send a Purchase Completed event to Mixpanel with the order total and product name. |
| Error tracking | Track JavaScript errors as Mixpanel events with the error message and stack trace. |
| Session duration | Track session start and end times. Show average session duration per day on a line chart. |
Tips
-
Data region matters. Choose
USorEUto 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.
Revoke or rotate your service account
Disconnecting in Rocket only stops using the credentials in this task. To invalidate them, delete the service account in Mixpanel (the secret cannot be rotated on its own).
- Open Mixpanel Service Accounts (Organization Settings → Service Accounts).
- Find the service account you connected to Rocket.
- Delete the service account. Access is revoked immediately across projects.
- If you still need Mixpanel in Rocket, create a new service account, copy the username and secret, and update them with Edit on the connector card.
Manage service accounts in Mixpanel
Delete the service account in Mixpanel organization settings.
After you delete the service account, any Rocket task still using those credentials will fail until you connect a new one.

