# Mixpanel — card for AI agents

Product intelligence platform with analytics, session replay, experiments, and feature flags.

Maker: Mixpanel · category: Error tracking and analytics

## Price (official page)
- Free tier: Up to 1M events/month, 10K session replays/month, 1K MEU/month for experiments, up to 10 active feature flags
- Free tier terms: free allowance · monthly · card not needed · amount: 1M events (read from the wording above and the pricing page; empty = not stated)
- Paid from $140/month
- Pricing page: https://mixpanel.com/pricing/ (checked 2026-10-09)
- Note: Added automatically: its SDK was in 10 of the public agent repos we sampled when it was added. Prices read from the official pricing page.

## Connect
- npm: `npm install mixpanel-browser`
- Repository: https://github.com/mixpanel/mixpanel-js

## For AI agents on Mixpanel's own site (AgentGid check 2026-11-13: 3 of 6)
- llms.txt: https://mixpanel.com/llms.txt
- Docs pages as Markdown: 69% of the pages llms.txt lists
- OpenAPI description: none found at the usual places
- Official MCP server: no · official SDK: yes · status page: no
- robots.txt lets AI assistants (ChatGPT-User, Claude-User) read the site: yes

## A year of price history (Internet Archive copies of the pricing page, read by rules)
- Months read: 10 (2025-10 to 2026-10) of https://mixpanel.com/pricing/
- Lowest $/month figure on the page: $120 in 2026-10, $120 in 2026-10
- A figure is any "$X/month" on the page (plans, seats and add-ons alike); open the archived copy to see which plan it is.

## Price history in AgentGid's catalog (since 2026-10-09)
- Changes recorded: 1, last on 2026-10-27 (a vendor price change or an editor's correction; the evidence archive keeps the pricing page of each date)
- 2026-10-27: cheapest plan changed
- Cheapest plan: $120 to $140/month over this period, now $140

## Other APIs in this category
- Airbrake: https://agentgid.com/apis/airbrake/agent.md
- Sentry: https://agentgid.com/apis/sentry/agent.md
- PostHog: https://agentgid.com/apis/posthog/agent.md
- New Relic: https://agentgid.com/apis/new-relic/agent.md
- GrowthBook: https://agentgid.com/apis/growthbook/agent.md

## Links
- AgentGid page: https://agentgid.com/apis/mixpanel/


## Mixpanel: see how people use your product

Mixpanel is an online service that records what people do in your website or app, such as sign-ups, purchases and button clicks, and turns it into charts you can explore. The same account also gives you screen recordings of visits, feature switches and A/B tests. The free plan covers up to 1 million recorded actions a month; above that you pay by volume.

### Where to use it
- Find where sign-ups drop off: Record each step from landing page to paid plan and see which step loses the most people.
- Record actions from your server: Send events such as "payment succeeded" from your backend, so ad blockers cannot hide them.
- Watch why people get stuck: Replay real visits to see what people did right before they left, for example on a checkout page.
- Turn a feature on for some users: Show a new feature only to some users, and switch it off without a new release if it causes problems.
- Test two versions of a page: Show version A to some visitors and version B to others, then compare which one leads to more sign-ups.
- Ask your AI assistant about usage: Connect your AI assistant to your Mixpanel data and ask questions like "which feature do paying users use most" in plain words.

### How to start
- Create a Mixpanel account and project (choose US, EU or India storage when you create it), then copy the project token from the project settings.
- Install the browser package.

```
npm install --save mixpanel-browser
```

- Initialise it near the entry of your app and track your first event.

```
import mixpanel from "mixpanel-browser";

mixpanel.init("YOUR_TOKEN", {
  debug: true,
  track_pageview: true,
  persistence: "localStorage",
});

mixpanel.track('Sign Up', {
  'Signup Type': 'Referral'
})
```


### License
Mixpanel is a paid online service with a free plan, used under Mixpanel's terms. The browser package is open source under Apache 2.0 and the Node.js package under MIT.

### Good to know
- The free plan needs no credit card and includes up to 1 million events and 10,000 recordings a month.
- Pick US, EU or India storage when you create the project. Events sent to the wrong region are not recorded.
- Events are deleted automatically after 2 years, and visit recordings after 30 days.
- Do not send card numbers, passport numbers or similar sensitive data; the terms forbid it.
- Events sent from your server get the location of your server unless you pass the user's location yourself.

Checked 2026-11-10 against: https://mixpanel.com/pricing/, https://mixpanel.com/pricing.md, https://mixpanel.com/llms.txt, https://mixpanel.com/legal/terms-of-use/, https://mixpanel.com/legal/dpa/, https://docs.mixpanel.com/llms.txt, https://docs.mixpanel.com/docs/what-is-mixpanel.md, https://docs.mixpanel.com/docs/overview/install-mixpanel.md, https://docs.mixpanel.com/docs/overview/capture-events/track-events.md, https://docs.mixpanel.com/docs/tracking-methods/choosing-the-right-method.md, https://docs.mixpanel.com/docs/tracking-methods/sdks/javascript.md, https://docs.mixpanel.com/docs/tracking-methods/sdks/javascript/javascript-flags.md, https://docs.mixpanel.com/docs/tracking-methods/sdks/nodejs.md, https://docs.mixpanel.com/docs/session-replay.md, https://docs.mixpanel.com/docs/featureflags.md, https://docs.mixpanel.com/docs/experiments.md, https://docs.mixpanel.com/docs/mcp.md, https://docs.mixpanel.com/docs/install-with-ai.md, https://docs.mixpanel.com/docs/docs-for-ai-agents.md, https://docs.mixpanel.com/docs/privacy/gdpr-compliance.md, https://docs.mixpanel.com/docs/privacy/eu-residency.md, https://docs.mixpanel.com/docs/privacy/protecting-user-data.md, https://docs.mixpanel.com/docs/orgs-and-projects/managing-projects.md, https://docs.mixpanel.com/reference/track-event.md, https://docs.mixpanel.com/reference/rate-limits.md, https://docs.mixpanel.com/reference/authentication.md, https://docs.mixpanel.com/reference/project-token.md, https://github.com/mixpanel/mixpanel-js/blob/master/LICENSE, https://registry.npmjs.org/mixpanel-browser/latest, https://registry.npmjs.org/mixpanel/latest, https://pypi.org/pypi/mixpanel/json

### Mistakes to avoid
- Don't: Creating an EU project and leaving the SDK on its default (US) host. → Do: Set api_host to https://api-eu.mixpanel.com (or https://api-in.mixpanel.com for India) in mixpanel.init. (Events sent to the wrong region are not ingested, and the region of a project cannot be changed later.)
- Don't: Installing mixpanel (the Node.js package) in browser code, or mixpanel-browser on the server. → Do: Use mixpanel-browser in the web page and mixpanel in Node.js server code. (The two packages have similar names but different jobs.)
- Don't: Backfilling old events with track() or the /track endpoint. → Do: Use the /import endpoint with a service account or project secret for historical data. (/track only accepts events from the last 5 days.)
- Don't: Retrying requests that failed with 400. → Do: Fix the event (size, property count, fields) and resend; retry only 429, 502 and 503 with backoff. (Validation errors fail every time and still count toward the rate limit.)
- Don't: Copying the quickstart's record_sessions_percent 100 into production without a privacy check. → Do: Pick a sampling rate, mask private fields, and respect consent before recording visits. (The quickstart records every session, and recordings count against the monthly replay allowance.)

### Questions
- Is there a free plan? Yes, free forever with no credit card, up to 1 million events a month, as reported on the pricing page.
- Can the project token be in my website code? Yes. The project token only says which project the data belongs to and is not a secret; reading data needs a service account kept on the server.
- How is the paid plan priced? By the number of events you send each month across all projects; the first million a month stays free on Growth.
- Where is my data stored? In the US by default, or in the EU or India if you choose it when you create the project.
- How long are recordings kept? 30 days on Free and Growth; Enterprise can set 7 to 360 days.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
