← All guides

How to export Mixpanel data to BigQuery

Use Mixpanel's Data Pipelines to sync your events into a BigQuery dataset.

Steps checked against the vendor docs on .

M
MixpanelSettings → Destinations → BigQuery
hourly or daily pipeline
BigQuerymp_master_event table
query in place
Funnels, retention, journeysoptional: analyze it with Mitzu

Quick answer

Create a BigQuery dataset, give Mixpanel's service account BigQuery Job User on the project and BigQuery Data Owner on the dataset, then in Mixpanel open Settings → Destinations → BigQuery → + Create Pipeline. Events land in mp_master_event, hourly or daily.

Have these 3 things ready

  • The Data Pipelines add-on. It's sold for Growth and Enterprise plans. A 30-day trial exists, but it exports daily only and backfills one day.
  • Admin or Owner role in the Mixpanel project. Other roles can't create pipelines.
  • A Google Cloud project with a BigQuery dataset for the Mixpanel data, and rights to grant IAM roles on both.

Set up the export in 3 steps

1

Create the dataset

BigQuery→Create dataset→Pick a supported region

Use a dataset only for Mixpanel. If your organization restricts domains, allow mixpanel.com first.

2

Give Mixpanel's service account access

IAM & Admin → BigQuery Job UserDataset → Sharing → BigQuery Data Owner

Grant both roles to export-upload@mixpanel-prod-1.iam.gserviceaccount.com: Job User on the project, Data Owner on the dataset.

3

Create the pipeline in Mixpanel

Settings→Destinations→BigQuery→+ Create Pipeline

Enter the GCP project ID, dataset name and region, and choose hourly or daily. Want history? Set a backfill start date at creation. It must fall within the past 6 months.

Check that your events landed

Hourly pipelines run around 30 minutes past the hour, and daily ones around 00:30 in your project timezone. Mixpanel's SLA is up to 24 hours. This query shows last week's top events:

SELECT event_name, COUNT(*) AS events
FROM `your-project.your_dataset.mp_master_event`
WHERE DATE(_PARTITIONTIME) >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
GROUP BY event_name
ORDER BY events DESC
LIMIT 20;

Want funnel reports on this table without writing SQL?

Mitzu reads mp_master_event directly and builds funnels, retention and journeys by clicking or by asking in plain English. It shows the SQL behind each chart.

Know the tables you'll query

Table or columnWhat it holds
mp_master_eventAll events in one table, partitioned by _PARTITIONTIME
event_name, time, distinct_idEvent, when it happened, who did it
propertiesJSON with all event properties, for example JSON_VALUE(properties, '$.plan')
mp_people_data_viewUser profiles. Query the view, not the suffixed tables.
mp_identity_mappings_data_viewMaps distinct_id to resolved_distinct_id for merged users

mp_nessie_export_log records each export run with its date range and row count.

Why your counts differ from the Mixpanel UI

  • Timezone. Exports are in UTC. Mixpanel reports use your project timezone.
  • Hidden events. Events hidden in Lexicon still get exported.
  • Late data. Exports can lag up to a day. Events arriving more than 2 hours after their window are only exported when sync is enabled.

Tired of reconciling two sets of numbers?

Mitzu reports straight from mp_master_event, so your charts and your warehouse queries read the same rows. The SQL behind each chart is visible.

Keep BigQuery query costs low

  • Filter on _PARTITIONTIME. A partition filter cuts the bytes scanned.
  • Pull only the properties you need from the properties JSON. On-demand pricing bills by bytes scanned.
  • Don't change Mixpanel's tables or partitioning. Exports fail if the schema or TIMEPARTITIONING is modified.

Still paying Mixpanel per event for data that's already in BigQuery?

Once the events sit in BigQuery, you can analyze them in place. Mitzu queries mp_master_event and is priced per seat, so event volume doesn't change what you pay Mitzu.

Analyze your Mixpanel events where they already are

Mixpanel's plans are priced on event volume, and Data Pipelines is a paid add-on on top. Once the events sit in BigQuery, Mitzu runs the core analyses on them, priced per seat.

  • Funnels, retention, segmentation and journeys on mp_master_event
  • Khatabook replaced Mixpanel with Mitzu at about 80% lower product analytics and ingestion cost
  • Priced per seat, not per event. More events don't raise your Mitzu bill.

2-week free trial. No credit card.

What is Mitzu?

Mitzu is product analytics that runs on your data warehouse. It reads event tables in BigQuery, Snowflake, Databricks or Redshift, so the Mixpanel export you just set up is ready to analyze.

  • Funnels, retention, segmentation and journeys on your BigQuery tables
  • An AI agent that answers questions in plain English
  • Data stays in BigQuery. Pricing is per seat, not per event.

Used by product teams at

KhatabookPreziSuuntoShapr3DPhysics Wallah

Funnels

Signup to purchase, by platform or campaign, on mp_master_event.

Retention

Weekly or monthly cohorts from the same events.

Segmentation

Event counts and unique users, split by any event or user property.

Journeys

The paths users take before and after a key event.

AI agent

Ask in plain English, for example "Why did checkout conversion drop last week?", and get a chart with its SQL.

Build funnels on your Mixpanel export

Point Mitzu at mp_master_event. It takes 3 steps, and nothing gets copied anywhere.

1

Connect BigQuery

A service account with BigQuery User, Data Viewer, Job User and Read Session User, plus its JSON key. Setup guide

2

Add mp_master_event

Map distinct_id as the user, time as the time and event_name as the event name.

3

Ask or build

"Signup to purchase funnel by platform, last 30 days." Then break it down by any property in the JSON.

The Mitzu agent builds a conversion funnel by campaign from one question.

Mixpanel to BigQuery: common questions

How often does Mixpanel export to BigQuery?

Hourly or daily. Hourly runs target 30 minutes past the hour, daily runs 00:30 in your project timezone. The SLA is up to 24 hours.

Can I export historical Mixpanel data?

Yes. Set a backfill start date when you create the pipeline. It must fall within the past 6 months, and large backfills can take weeks.

Is Data Pipelines included in my Mixpanel plan?

No. It's an add-on for Growth and Enterprise plans. The 30-day trial is limited to daily exports and a one-day backfill.

Why don't my BigQuery counts match Mixpanel?

Exports are in UTC, hidden events are exported, and late data can lag up to a day. Check mp_nessie_export_log for each run's row count.

Can I run funnels directly on mp_master_event?

Yes. Mitzu reads the export table in BigQuery and runs funnels, retention and journeys on it.

Steps from Mixpanel's Data Pipelines and BigQuery integration docs (read 2026-11-27).

Analyze your Mixpanel export where it lives.

Connect BigQuery to Mitzu and build your first funnel. 2-week free trial, no credit card.