← All guides

How to import BigQuery data into Mixpanel

Use Mixpanel's Warehouse Connectors to sync a BigQuery table into Mixpanel.

Steps checked against the vendor docs on .

BigQueryyour events table
hourly, daily or weekly sync
M
Mixpanelbilled as Mixpanel events
or skip the copy
Analyze it in BigQueryfunnels, retention, journeys with Mitzu

Before you begin

Your events are already in BigQuery. Do you need to import them at all?

Mixpanel bills imported rows as events, and in Mirror mode it bills updates and deletes too. Connect BigQuery to Mitzu instead: no import, no sync to keep alive and no per-event fees. You get funnels, retention, segmentation and journeys on the table you have now.

Quick answer

Grant Mixpanel's service account BigQuery Job User on the project and Data Viewer on your dataset. Then in Mixpanel open Project Settings → Warehouse Sources → BigQuery, connect, and add the table under Warehouse Data → + Event Table.

Have these 3 things ready

  • A paid Mixpanel plan. Warehouse Connectors aren't on the free plan.
  • Admin or Owner role in the Mixpanel project.
  • Rights to grant IAM roles in the Google Cloud project that holds your events table.

Set up the import in 3 steps

1

Give Mixpanel's service account access

Copy the service account Mixpanel shows under Warehouse Sources → BigQuery. It looks like project-<id>@mixpanel-warehouse-1.iam.gserviceaccount.com. Then grant it:

-- Read your events dataset
GRANT `roles/bigquery.dataViewer` ON SCHEMA `your-project.analytics`
TO "serviceAccount:project-123@mixpanel-warehouse-1.iam.gserviceaccount.com";

-- Mirror mode only: an empty dataset Mixpanel owns
CREATE SCHEMA `your-project.mixpanel`;
GRANT `roles/bigquery.dataOwner` ON SCHEMA `your-project.mixpanel`
TO "serviceAccount:project-123@mixpanel-warehouse-1.iam.gserviceaccount.com";

Also grant BigQuery Job User on the project in IAM & Admin.

2

Connect BigQuery as a source

Project Settings→Warehouse Sources→BigQuery

Enter your GCP project ID and save the connection.

3

Add the event table and run it

Project Settings→Warehouse Data→+ Event Table→Run

Map Event Name (a column or a fixed name) and Time, plus User ID, Device ID and Insert ID if you have them. Other columns become properties. Pick the sync mode and run hourly, daily or weekly.

Why load the table into Mixpanel at all?

Mitzu uses the same mapping, a user ID, a timestamp and an event name, and queries the BigQuery table directly. Nothing gets copied or billed per row.

Pick the right sync mode

ModeUse it when
AppendRows only get added. Needs an Insert Time column, and ignores updates and deletes.
MirrorInserts, updates and deletes in BigQuery should reach Mixpanel. Uses snapshots in the mixpanel dataset and doesn't work on views.
FullUser profiles, group profiles and lookup tables, re-read as a snapshot.
One-TimeA single historical load.

Want to skip sync modes altogether?

With Mitzu there's nothing to sync. It queries the BigQuery table directly, so you have no snapshots to keep fresh and no Insert Time column to maintain.

Know what Mixpanel bills

  • Imported events are billed, whether they come from One-Time, Append or Mirror.
  • In Mirror mode, updates and deletes are billed too. A schema change other than adding a nullable column can resend the whole table.
  • Rows that fail validation aren't billed. Track imports under Organization Settings → Usage → Data Points, filtered by data source.

Paying Mixpanel per row for events you already store?

You can analyze the table where it is. Mitzu queries BigQuery directly and is priced per seat, so event volume doesn't change what you pay Mitzu.

Avoid dropped and trimmed events

  • Strings over 255 bytes are trimmed, and events over 1 MB are dropped.
  • Events older than your Mixpanel retention are dropped, as are events more than an hour in the future.
  • An unparseable timestamp fails the whole sync.
  • Mirror snapshots expire after 21 days, so the sync has to run at least that often.

Want your full rows, with nothing trimmed or dropped?

Mitzu queries the table in BigQuery, so long strings and old events stay exactly as they are.

Skip the import. Analyze the table in BigQuery.

Mixpanel bills imported rows as events, and Mirror mode bills updates and deletes as well. Mitzu reads the same BigQuery table in place and runs the core analyses on it, priced per seat.

  • Funnels, retention, segmentation and journeys on the table you already have
  • 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 you can analyze the table you were about to import without copying it.

  • 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 your BigQuery events table.

Retention

Weekly or monthly cohorts from the same events.

Segmentation

Event counts and unique users, split by any column you already have.

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 BigQuery table

Point Mitzu at the table you were going to import. It takes 3 steps.

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 your events table

Pick the user ID, timestamp and event name columns, the same ones you'd map in Mixpanel.

3

Ask or build

"Signup to purchase funnel by platform, last 30 days." Then break it down by any column.

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

BigQuery to Mixpanel: common questions

Do imported events count toward my Mixpanel bill?

Yes. Under ingestion-time billing, events from One-Time, Append and Mirror syncs are billed, and Mirror also bills updates and deletes. Rows that fail validation aren't billed.

Which columns does Mixpanel need?

An event name (a column or a fixed value) and a time column. User ID, Device ID, Insert ID and JSON properties are optional.

Can Mirror mode read a view?

No. It needs a table, and it keeps snapshots in a dataset named mixpanel.

What happens if the sync doesn't run for 3 weeks?

Mirror snapshots expire after 21 days, so a Mirror sync has to run within that window.

Can I analyze the BigQuery table without importing it?

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

Steps from Mixpanel's Warehouse Connectors and BigQuery connector docs (read 2026-11-27).

Analyze your BigQuery events where they live.

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