Mixpanel
Mixpanel is a leading product analytics platform that tracks individual user events across web and mobile applications. It enables teams to build funnels, measure retention, analyse user journeys, and run A/B experiments. Consent is required for Mixpanel tracking cookies and localStorage under the ePrivacy Directive. An EU data residency option (Amsterdam) is available. Mixpanel provides a GDPR-compliant DPA and SCCs for US-hosted deployments. The EU region eliminates transfer complexity for European organisations.
What does Mixpanel do?
What Mixpanel actually does
Mixpanel is a product analytics platform operated by Mixpanel Inc. (San Francisco) since 2009. It captures user events (clicks, page views, custom events, feature flags exposure) and exposes them through funnels, retention analysis, cohort builders, A/B test reports and the AI assistant Mixpanel Spark. SDKs are available for web, iOS, Android, server side runtimes and reverse ETL through Census, RudderStack and Segment.
Cookies and storage set by the Mixpanel SDK
The web SDK (mixpanel-2-latest.min.js) writes a first party cookie named mp_{project_token}_mixpanel on the publisher domain (default 1 year, configurable). The cookie value is a JSON object holding the distinct id, the device id and any user properties set via mixpanel.identify or mixpanel.people.set. The SDK also writes mp_{token}_mixpanel_referrer when referrer tracking is enabled. Local storage entries can be used as fallback. Server side SDKs do not write any cookie because they run on the server.
Lawful basis and consent
Mixpanel is a product analytics tool that profiles users by behaviour, persistent id and user properties. Consent under GDPR art. 6(1)(a) and ePrivacy art. 5(3) is therefore required before loading the SDK on a public website. The CNIL analytics exemption does not apply because Mixpanel allows cross device tracking via mixpanel.identify and transmits the visitor id to a US controlled processor. For server side events that do not write storage on the visitor device, legitimate interest can be argued, but the publisher must still minimise the data and update the privacy notice.
International data transfers and EU residency
Mixpanel launched its EU residency option in 2022 (api-eu.mixpanel.com, Google Cloud Belgium and Microsoft Azure Netherlands). Raw events stay inside the European Region for EU projects. However, operational metadata (account, billing, audit, Spark AI assistant) is processed in the US. Mixpanel Inc. is certified under the EU US Data Privacy Framework since 26 October 2023 and provides the EU Standard Contractual Clauses (module 2 controller to processor) in its DPA.
Practical compliance checklist
Set api_host to api-eu.mixpanel.com to keep raw events in the EU. Gate the SDK behind the analytics category of your CMP. Avoid sending personal identifiers (email, full name) directly in event properties; use hashed identifiers and the User Profile API instead. Configure data retention to 365 days or less in the Mixpanel project settings. Document Mixpanel Inc. in your records of processing (GDPR art. 30) and in the privacy notice. Disable Spark AI for projects that handle special categories of data. Run a DPIA when Mixpanel is used to profile users in a way that produces legal effects (pricing, eligibility).
Alternatives
Direct alternatives include Amplitude (US, EU residency on Hyperscale plan), Heap (US, EU residency on Premium), PostHog (UK and US, self hostable open source), Pendo (US), June, Statsig and the EU open source June.so, Hightouch Events, Snowplow Behavioral Data Platform and OpenPanel.
Mixpanel and the GDPR
Mixpanel is classified as “Analytics”. On a site that targets European visitors, it must only load after the visitor consents, and it must be listed in your cookie policy.
- Legal basis
- Consent (GDPR art. 6(1)(a) and ePrivacy art. 5(3)) for the Mixpanel SDK that writes cookies and sends the visitor distinct id to Mixpanel servers. Legitimate interest can be argued for server side events that do not write any storage on the visitor device, provided the publisher minimises the data and stays inside the EU residency.
- Risk level
- medium
- Applicable regulations
- GDPR, ePrivacy Directive 2002/58/EC, EU US Data Privacy Framework, CCPA/CPRA, CNIL deliberation 2020 091, EDPB recommendations 01/2020, TTDSG, LOPDGDD, LIL
Impact assessment (DPIA)
A DPIA is recommended when Mixpanel processes user level events at scale or combines them with logged in identifiers. Document the EU/US data flow.
Sample text for your banner
We use Mixpanel, a product analytics platform from Mixpanel Inc., to understand how features are used. We have selected the EU residency (api-eu.mixpanel.com on Google Cloud Belgium), so the events we send remain in the European Region. Mixpanel writes the cookie mp_{token}_mixpanel on this domain to keep your distinct user id. Operational metadata may still be processed in the United States under the EU US Data Privacy Framework and the EU Standard Contractual Clauses. Mixpanel is loaded only after you accept the analytics category in our cookie preferences.
What Mixpanel sets and contacts
- Tracking method
- product_analytics_javascript_sdk_and_server_side_events
- Server location
- Mixpanel offers two regions: US (api.mixpanel.com hosted on Google Cloud Iowa and Microsoft Azure Virginia) and EU (api-eu.mixpanel.com hosted on Google Cloud Belgium and Microsoft Azure Netherlands). EU customers choose the EU residency option during project creation.
- Data transferred outside the EU
- Mixpanel Inc. is established in San Francisco, California. EU residency keeps raw events inside the European Region (Belgium and Netherlands). Operational metadata, support tickets, audit logs and the AI assistant Spark continue to be processed in the US. Mixpanel Inc. is certified under the EU US Data Privacy Framework since 26 October 2023, and the EU Standard Contractual Clauses are appended to the Mixpanel DPA.
Cookies set (3)
| Name | Type | Duration | Purpose |
|---|---|---|---|
| mp_distinct_id | persistent | 1 year | Mixpanel unique user identifier stored in localStorage for individual-level product analytics and event tracking |
| mp_<token>_mixpanel | First party (Mixpanel) | 12 months | Stores the distinct_id and super properties used by Mixpanel for product analytics. Used only when localStorage is unavailable. |
| distinct_id (localStorage) | First party (Mixpanel) | Persistent | Anonymous user identifier stored in localStorage by the Mixpanel SDK to recognise returning visitors. |
Third-party domains contacted (7)
mixpanel.commixpanel.comapi.mixpanel.comapi.mixpanel.comapi-eu.mixpanel.comapi-eu.mixpanel.comcdn.mxpnl.com
Frequently asked questions about Mixpanel
Can't find your question? Write to us, we answer fast.
Does Mixpanel require GDPR consent?
Yes. Mixpanel stores a persistent distinct_id in localStorage or cookies to track individual users. This requires consent under the ePrivacy Directive before the Mixpanel SDK loads. Block Mixpanel via your CMP and call mixpanel.opt_out_tracking() when users decline.
Does Mixpanel offer EU data residency?
Yes. Mixpanel launched EU data residency (Amsterdam) in 2023. Set api_host to api-eu.mixpanel.com in your Mixpanel SDK initialisation. EU residency ensures data never leaves the EU and eliminates the need for SCCs.
What legal basis applies to Mixpanel?
Consent (Art. 6(1)(a)) for client-side tracking via localStorage and cookies. Server-side event tracking without client-side storage may rely on legitimate interest for aggregate analytics, but the default Mixpanel client SDK requires consent.
Do I need a DPA with Mixpanel?
Yes. Sign the Mixpanel Data Processing Agreement before using Mixpanel on EU-facing products. For US-hosted deployments, the DPA includes SCCs. For EU region deployments, the DPA covers EU-resident processing.
How do I delete user data from Mixpanel for erasure requests?
Use the Mixpanel Deletion API (POST /engage#delete-profile endpoint) to delete user profiles by distinct_id. Submit deletion requests within 30 days of receiving the erasure request. Mixpanel processes deletions and removes data from systems and backups.
Can I use Mixpanel without sending PII?
Yes. Use anonymous distinct_ids (random UUIDs) rather than email addresses. Avoid user properties containing names, emails, or other PII. Implement server-side ID stitching if you need to link anonymous events to identified users after consent.
Do I need a DPIA for Mixpanel?
Recommended for large-scale deployments. Mixpanel processes individual-level behavioural data which can create detailed user profiles. Use EU data residency to simplify the transfer component of the DPIA.
What are GDPR-compliant alternatives to Mixpanel?
EU-based product analytics alternatives include PostHog (self-hostable, EU cloud), Piwik PRO (EU-based), and Amplitude (EU region available). Mixpanel itself with EU residency enabled is a strong GDPR-compliant option.
What cookies does Mixpanel set?
Mixpanel prefers localStorage to store distinct_id. When localStorage is unavailable a first party cookie mp_<token>_mixpanel is set (12 months). No third party cookies are deposited by the SDK itself.
Do I need consent for Mixpanel?
Yes. Mixpanel stores a persistent identifier and tracks behavioural events, both non essential. Prior consent is required under Art. 5(3) ePrivacy. Recent CNIL and DSK guidance confirms that localStorage access is subject to the same consent obligation as cookies.
What is the legal basis?
Consent (Art. 6(1)(a) GDPR + Art. 5(3) ePrivacy) for the SDK. Contract performance (Art. 6(1)(b)) can apply to logged in product analytics needed to deliver the contracted feature, but only with proper notice.
Does Mixpanel transfer data to the US?
By default yes (AWS US). EU residency (Frankfurt) is available on Enterprise plans by setting api_host to https://api eu.mixpanel.com. Admin plane and support remain in the US. Transfers covered by EU SCCs and the EU US Data Privacy Framework.
Do I need a DPIA for Mixpanel?
A DPIA is recommended for user level analytics at scale or when Mixpanel is combined with logged in identifiers. Document the EU/US data flow and retention.
How do I implement Mixpanel compliantly?
Provision the EU project, sign the DPA, block the SDK behind your CMP, disable IP collection (ip:false), wire opt_out_tracking to the CMP, mask sensitive event properties, set a short retention, document Mixpanel in the Article 30 record.
What are the alternatives to Mixpanel?
Privacy first product analytics: PostHog (EU/US, can self host), Amplitude (US), Heap (US, Contentsquare), Pendo (US), June.so (Switzerland), Plausible (EU, simpler analytics), Matomo (EU). For self hosting: PostHog Open Source.
How do I update my cookie policy for Mixpanel?
List the mp_<token>_mixpanel cookie and the distinct_id localStorage entry. Mention the EU US Data Privacy Framework, the chosen residency region (EU or US) and link to Mixpanel's privacy policy.
Funnelytics
Funnelytics is a digital marketing technology that helps businesses reach, engage, and convert their target audience online. It provides advanced targeting, campaign management, and performance analytics capabilities. Funnelytics enables marketers to deliver personalized experiences across channels, optimize campaign ROI, and gain actionable insights into customer behavior. With automation features and data-driven optimization, Funnelytics empowers marketing teams to achieve measurable growth.
AvidTrak
AvidTrak is a digital analytics solution that helps businesses measure and understand their online performance through comprehensive data collection and analysis. It provides visitor tracking, behavioral insights, and conversion metrics across websites and applications. AvidTrak supports custom event tracking, audience segmentation, and automated reporting. With intuitive dashboards and visualization tools, AvidTrak enables informed decisions that improve experience and drive results.
Tencent Analytics
Tencent Analytics is a digital analytics solution that helps businesses measure and understand their online performance through comprehensive data collection and analysis. It provides visitor tracking, behavioral insights, and conversion metrics across websites and applications. Tencent Analytics supports custom event tracking, audience segmentation, and automated reporting. With intuitive dashboards and visualization tools, Tencent Analytics enables informed decisions that improve experience and drive results.
Quantcast Measure
Quantcast Measure is a digital analytics solution that helps businesses measure and understand their online performance through comprehensive data collection and analysis. It provides visitor tracking, behavioral insights, and conversion metrics across websites and applications. Quantcast Measure supports custom event tracking, audience segmentation, and automated reporting. With intuitive dashboards and visualization tools, Quantcast Measure enables informed decisions that improve experience and drive results.
SegmentStream
SegmentStream is an analytics and measurement platform providing deep insights into digital ecosystem performance. It tracks user interactions, measures campaign effectiveness, and identifies optimization opportunities across web and mobile. SegmentStream offers customizable dashboards, automated alerts, and data export capabilities. By transforming raw data into actionable intelligence, SegmentStream empowers organizations to optimize strategy and maximize return on investment.
Podkite
Podkite is an analytics and measurement platform providing deep insights into digital ecosystem performance. It tracks user interactions, measures campaign effectiveness, and identifies optimization opportunities across web and mobile. Podkite offers customizable dashboards, automated alerts, and data export capabilities. By transforming raw data into actionable intelligence, Podkite empowers organizations to optimize strategy and maximize return on investment.
Make your site compliant today.
Free up to 25,000 sessions a month. No credit card, no commitment.