← All guides

How to import BigQuery data into Amplitude

Use Amplitude's BigQuery source to sync a table into Amplitude on a schedule.

Steps checked against the vendor docs on .

BigQueryyour events table
staged through GCS, 5 min to monthly
A
AmplitudeCatalog → Sources → BigQuery
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?

Importing copies them into Amplitude through a GCS staging bucket you maintain, and they become Amplitude events. Connect BigQuery to Mitzu instead: no import, no staging bucket and no per-event fees. You get funnels, retention, segmentation and journeys on the table you have now.

Quick answer

Create a service account and a dedicated GCS bucket, then in Amplitude open Catalog → Sources → Warehouse Sources → BigQuery, add the key and bucket name, pick the data type and import type, and paste a SQL query that returns Amplitude's columns.

Have these 3 things ready

  • A dedicated GCS bucket. Amplitude stages the data there before loading it.
  • A service account with BigQuery Job User on the project, BigQuery Data Viewer on the tables you read, and Storage Admin on the bucket. Download its JSON key.
  • A table with Amplitude's columns: user_id or device_id, event_type, time in milliseconds since epoch, and event_properties as JSON or STRUCT.

Set up the import in 3 steps

1

Connect BigQuery as a source

Catalog→Sources→Warehouse Sources→BigQuery

Upload the service account key, enter the GCS bucket name and click Next to test the connection. If your network restricts access, allowlist Amplitude's US or EU IPs first.

2

Pick the data type, import type and schedule

EventUser propertyGroup property→Time-basedFull SyncMirror Sync

Schedules run anywhere from 5 minutes to monthly, or daily, weekly or monthly at a set time.

3

Write the SQL, test it, finish

The query must return Amplitude's column names in lowercase. Click Test SQL, then Finish.

SELECT
  user_id,
  event_name                 AS event_type,
  UNIX_MILLIS(event_ts)      AS time,
  STRUCT(plan, platform)     AS event_properties,
  event_id                   AS insert_id,
  updated_at                 AS update_time_column
FROM `your-project.analytics.events`

Why reshape your table just for Amplitude?

Mitzu reads the events table as it is. Point it at your user ID, timestamp and event name columns, and build funnels on BigQuery directly.

Pick the right import strategy

Import typeUse it when
Time-basedEvents that only get added. The first run imports all existing rows, and later runs pick up rows after the last saved timestamp.
Full SyncUser or group properties. It re-imports the whole dataset on each run and doesn't support events.
Mirror Sync (early access)Events whose updates and deletes should reach Amplitude. It needs change history on a standard table and runs between 5 minutes and 12 hours.

Want to skip sync strategies altogether?

With Mitzu there's nothing to sync. It queries the BigQuery table directly, so you don't need change history, time-travel windows or a staging bucket.

Fix the common import errors

  • Properties must be real JSON or STRUCT, not JSON stored as a string. STRUCT field names can't contain spaces.
  • Use backticks for names. In BigQuery, double quotes make a string literal, not a column name.
  • Query real tables. INFORMATION_SCHEMA, system tables and wildcard tables aren't allowed. Mirror Sync also rejects views and external tables.
  • Send a unique, unchanging insert_id and a user_id. Mirror Sync drops rows without one.

Know what each sync costs

  • The import runs as query jobs in your project, so BigQuery bills them like your own queries. A 5-minute schedule runs 12 scans an hour.
  • Mirror Sync has to run more than once a day, because each run reads at most one day of changes.
  • The staging bucket is one more resource to keep, secure and pay for.

Paying again to analyze events that already sit in BigQuery?

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.

Skip the import. Analyze the table in BigQuery.

Imported rows become Amplitude events, and Amplitude's plans are priced on event volume or tracked users. 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
  • No staging bucket, no sync schedule and no column reshaping
  • 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

SuuntoShapr3DPreziKhatabookPhysics 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 as they are. No reshaping into Amplitude's format.

3

Ask or build

"Signup to purchase funnel by platform, last 30 days." The conversion methodology is identical to Amplitude's.

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

BigQuery to Amplitude: common questions

Do I need a GCS bucket?

Yes. Amplitude stages the data in a dedicated GCS bucket, and the service account needs Storage Admin on it.

Which columns does Amplitude need for events?

user_id or device_id, event_type, time in milliseconds since epoch, and event_properties as JSON or STRUCT. Time-based imports also need update_time_column.

Why does my import fail on event_properties?

It's probably a JSON string. Amplitude needs a real JSON or STRUCT column.

Can Mirror Sync read a view?

No. It needs a standard table with change history enabled.

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 Amplitude's BigQuery source docs (updated 2026-09-09).

Analyze your BigQuery events where they live.

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