
How do I set up Mixpanel Warehouse Connectors with BigQuery so we can join product events to revenue data?
Quick Answer: Use Mixpanel’s BigQuery Warehouse Connector to sync your event-based product data into (or from) BigQuery, then model a shared key (like
user_idoraccount_id) so you can join Mixpanel events to revenue tables and track product behavior all the way to dollars.
The Quick Overview
- What It Is: A direct connection between Mixpanel and BigQuery that keeps your event-based product analytics and warehouse data in sync so you can analyze product behavior alongside revenue, subscriptions, and other business metrics.
- Who It Is For: Product, data, and growth teams that want to understand how in-product behaviors drive pipeline, MRR, LTV, or ROAS—without duplicating modeling work or getting stuck in SQL bottlenecks.
- Core Problem Solved: You have product events in Mixpanel and revenue data in BigQuery, but they live in different systems. Warehouse Connectors make it possible to join them on shared identifiers and answer questions like “Which onboarding paths drive the highest LTV?” in seconds.
How It Works
Mixpanel’s Warehouse Connectors keep Mixpanel and BigQuery in lockstep. You can either:
- Export: Continuously send Mixpanel events into BigQuery for advanced modeling, ML, or financial reporting.
- Import: Pull modeled tables from BigQuery (e.g., subscriptions, invoices, pipeline) into Mixpanel as events or user properties, then join them to product behavior directly in Funnels, Retention, and Flows.
Under the hood, everything is still event-based: each interaction with your product or company becomes an event with properties. Revenue or billing data from BigQuery is attached via a shared key so Mixpanel can treat “invoice paid,” “subscription upgraded,” or “contract signed” just like any other event and connect them to your user journeys.
-
Plan your join keys and schemas:
Decide how you’ll link product events to revenue data (user_id,account_id,subscription_id), and standardize naming across Mixpanel and BigQuery. -
Configure the BigQuery Warehouse Connector:
In Mixpanel, connect to BigQuery, select the dataset/tables you want, map fields to Mixpanel events and properties, and set sync cadence (e.g., hourly or daily). -
Model revenue outcomes in Mixpanel:
Turn imported tables into outcome events (likeRevenue Recognized,Subscription Renewed,Invoice Paid) or user properties (likecurrent_mrr), then use Mixpanel’s Funnels, Retention, and Metric Trees to see which behaviors drive revenue.
Features & Benefits Breakdown
| Core Feature | What It Does | Primary Benefit |
|---|---|---|
| Two-way BigQuery integration | Connects Mixpanel to BigQuery so you can export events or import modeled tables. | Aligns digital analytics with your warehouse without vendor lock-in or duplicate pipelines. |
| Event-based revenue modeling | Treats revenue milestones from BigQuery as Mixpanel events or properties. | Lets you analyze how product behaviors drive ARR, upgrades, and churn in one place. |
| Schema mapping & governance | Maps BigQuery fields to a clean, governed event taxonomy in Mixpanel. | Maintains a trusted source of truth and reduces confusion across teams. |
Ideal Use Cases
-
Best for joining product usage to ARR / MRR:
Because you can pull subscription and billing tables from BigQuery into Mixpanel and see which behaviors, cohorts, or experiments correlate with upgrades, expansion, and churn risk. -
Best for tying campaigns to LTV, not just signups:
Because you can combine acquisition data from BigQuery (e.g., ad cost, channel, campaign) with Mixpanel’s event flows and retention, and measure downstream revenue from users acquired via each campaign.
Step-by-Step: Setting Up Mixpanel Warehouse Connectors with BigQuery
Note: Exact UI labels may evolve. Use this as a workflow map; confirm specific buttons/fields in the latest Mixpanel docs.
1. Decide what you want to analyze
Before touching connectors, clarify the business questions you want to answer:
- “Which onboarding paths drive the highest 90-day revenue?”
- “Which features are common in accounts that expand vs. churn?”
- “What’s the LTV difference across acquisition channels?”
From there, identify:
- Outcome data in BigQuery (e.g.,
invoices,subscriptions,deals,payments) - Behavioral data already in Mixpanel (e.g.,
Signed Up,Completed Onboarding,Used Feature X)
Pick the join keys:
- B2C:
user_id,email, or a hashed identifier - B2B:
account_id,organization_id, orworkspace_id - Subscription:
subscription_idorplan_id(as a secondary key)
Aim to have the same identifiers in:
- Mixpanel event properties and/or user properties
- BigQuery columns
2. Make sure identifiers are clean and consistent
Within Mixpanel:
- Confirm you’re sending a consistent distinct_id or user identifier.
- Store join keys as user properties where possible:
- Example:
account_id,billing_account_id,crm_contact_id.
- Example:
Within BigQuery:
- Check that your revenue tables have the same IDs:
customer_idinsubscriptionsaccount_idininvoicesuser_idinpayments
If they’re named differently across tables, unify them via views:
CREATE OR REPLACE VIEW analytics.subscriptions_for_mixpanel AS
SELECT
account_id AS account_id,
user_id AS user_id,
subscription_id,
plan_name,
mrr,
status,
started_at,
renewed_at
FROM raw.subscriptions;
This keeps the connector configuration simpler and your schema more readable in Mixpanel.
3. Connect Mixpanel to BigQuery
- In Mixpanel, go to:
Settings→Data Management(or equivalent) → Warehouse Connectors. - Choose BigQuery as your warehouse.
- Provide connection details:
- GCP project ID
- Dataset(s) you’ll sync from
- Service account / authentication method with
BigQuery Data ViewerandJob Userroles.
- Test the connection to confirm Mixpanel can read the metadata and run queries.
Your data remains in your cloud; Mixpanel reads from BigQuery according to the sync schedule you define.
4. Choose direction: Export, Import, or both
Option A: Export Mixpanel events to BigQuery
Use this if:
- You want downstream BI, ML, or finance teams to blend Mixpanel events with other data sources fully in the warehouse.
Steps:
- In Warehouse Connectors, select Export to BigQuery.
- Choose:
- Which projects/events to export
- Target dataset and table naming convention (e.g.,
mixpanel_events_<project>).
- Set sync cadence (e.g., near real-time, hourly, daily).
- Confirm event schema (event name, properties, user properties).
Result: You can join Mixpanel event tables with revenue tables directly in BigQuery SQL.
Example join in BigQuery:
SELECT
e.distinct_id,
e.event,
e.event_time,
s.mrr,
s.plan_name
FROM analytics.mixpanel_events e
LEFT JOIN analytics.subscriptions_for_mixpanel s
ON e.account_id = s.account_id
WHERE e.event = 'Completed Onboarding';
Option B: Import revenue data from BigQuery into Mixpanel
Use this if:
- You want self-serve product and growth teams to answer revenue questions directly in Mixpanel without SQL.
Steps:
-
In Warehouse Connectors, select Import from BigQuery.
-
Choose BigQuery dataset and identify the tables or views:
- Example:
analytics.subscriptions_for_mixpanel - Example:
analytics.invoices_for_mixpanel
- Example:
-
For each table, define how it should appear in Mixpanel:
- As events (e.g.,
Subscription Started,Subscription Renewed,Invoice Paid) - As user properties (e.g.,
current_mrr,last_invoice_amount,is_churned)
- As events (e.g.,
-
Configure field mapping:
- Timestamp column → event time (e.g.,
started_at,paid_at) - ID column → distinct_id or user property used as join key
- Numeric columns → revenue metrics (
mrr,amount,discount) - Categorical columns → properties (
plan_name,billing_period)
- Timestamp column → event time (e.g.,
-
Set the sync schedule:
- Daily for financials is common
- More frequent (e.g., hourly) if your product decisions depend on near real-time revenue signals.
Result: Revenue outcomes show up directly in Mixpanel as events or user attributes.
5. Model revenue events in Mixpanel
After the first import runs, you’ll see new event types and/or properties in Mixpanel.
Examples:
Subscription Created(fromsubscriptions_for_mixpanel)- Properties:
mrr,plan_name,billing_period,account_id
- Properties:
Subscription Cancelled- Properties:
mrr_at_cancellation,cancellation_reason
- Properties:
Invoice Paid- Properties:
amount,currency,payment_method,account_id
- Properties:
Make sure:
- Event names are human-readable for non-technical users.
- Properties match your naming standards (no warehouse-only abbreviations).
- You’ve documented them in your event dictionary so teams understand what they mean.
6. Join product behavior to revenue inside Mixpanel
Once revenue events exist in Mixpanel, you can:
Funnels: Behavior → Revenue
Example funnel:
Signed UpCompleted OnboardingUsed Core FeatureSubscription Created(from BigQuery)
Use Mixpanel Funnel reports to:
- See where users drop off before generating revenue.
- Break down conversion by:
- Acquisition channel
- Plan type
- Country
- Device
- Compare experiment variants if you’re using feature flags/Experiments.
Retention: Revenue cohorts
Define cohorts like:
- “Users who generated >$100 revenue in first 30 days”
- “Accounts with expansion MRR in the last quarter”
- “Churned accounts (had
Subscription Cancelledevent)”
Use Retention to see:
- Which behaviors precede expansion vs. churn.
- How long high-value users stay active by feature usage.
Flows: Paths to upgrades or churn
Use Flows with:
- Destination event =
Subscription UpgradedorSubscription Cancelled - See the most common sequences of actions leading into those outcomes.
This helps you identify:
- Features that correlate with successful upgrades.
- Patterns that precede churn.
Metric Trees: Outcome-first revenue mapping
Use Metric Trees to structure your revenue story:
- Top node:
ARRorTotal MRR - Child nodes:
New MRR,Expansion MRR,Churned MRR - Under each, connect Mixpanel events and cohorts:
New MRR←Subscription Createdevents from users who completed onboardingExpansion MRR←Subscription Upgradedevents by feature-driven cohortsChurned MRR←Subscription Cancelledevents by at-risk cohorts
You can even leverage AI to generate a first-draft metric tree, then refine it with your team so it matches your revenue model.
Limitations & Considerations
-
Need for clean IDs and modeling:
If identifiers don’t line up between Mixpanel and BigQuery, joins will be noisy or impossible. Invest early in consistentuser_id/account_idstandards and simple views in BigQuery to present a clean schema to Mixpanel. -
Latency vs. financial accuracy:
Revenue data is often corrected or backfilled. Decide whether Mixpanel needs near real-time signals or end-of-day, finance-approved numbers, and set sync schedules accordingly. For highly audited revenue, you may want slower but fully reconciled tables.
Pricing & Plans
Warehouse Connectors are part of Mixpanel’s digital analytics platform, with pricing based primarily on events tracked and features enabled.
-
Check the latest details on the Mixpanel Pricing page for:
- Which plans include Warehouse Connectors
- Event volume tiers and add-ons
- Enterprise features (SSO/SAML, audit logs, advanced governance)
-
Growth / Business plans: Best for product-led teams that want to combine product events and warehouse revenue data, then give self-serve analytics to PMs, marketers, and growth without SQL bottlenecks.
-
Enterprise plans: Best for larger orgs that need Warehouse Connectors plus rigorous governance, SSO/SAML, SOC 2 Type II, ISO 27001/27701, HIPAA-readiness, audit logs, and sub-second queries at billions of events.
Frequently Asked Questions
Do I need to change my existing BigQuery schemas to use Mixpanel Warehouse Connectors?
Short Answer: Not necessarily, but creating clean views with consistent identifiers makes the setup much smoother.
Details:
Mixpanel can read from your existing tables, but if IDs and field names vary across datasets, configuration gets fragile. The common pattern is:
- Keep your raw tables as-is.
- Build analytics-ready views that:
- Standardize key names (
account_id,user_id,subscription_id). - Flatten nested structures if needed.
- Filter to relevant records (e.g., active subscriptions, paid invoices).
- Standardize key names (
- Point Warehouse Connectors at those views. It preserves warehouse flexibility while giving Mixpanel a stable schema to work with.
Can I still use my warehouse as the single source of truth for revenue while using Mixpanel?
Short Answer: Yes. Mixpanel doesn’t replace your warehouse; it complements it with fast, self-serve user behavior analysis grounded in your warehouse data.
Details:
BigQuery remains your system of record for finance and company-wide reporting. Warehouse Connectors simply:
- Export Mixpanel’s event-based behavior data into BigQuery for broader modeling; and/or
- Import curated, finance-approved tables back into Mixpanel so product and growth teams can analyze revenue outcomes alongside user behavior.
You keep your open ecosystem and avoid vendor lock-in: Mixpanel plugs into BigQuery (and tools like Segment, reverse ETL, etc.), while governance and source-of-truth metrics stay under your control.
Summary
Connecting Mixpanel Warehouse Connectors to BigQuery lets you move beyond “active users” and tie product behavior directly to revenue. By aligning on clean join keys, mapping BigQuery tables into event-based revenue milestones, and then analyzing them with Funnels, Retention, Flows, and Metric Trees, you give every team a clear line of sight from in-product changes to dollars—without waiting in SQL queues.
Once it’s in place, your product, growth, and data teams can answer: “Which behaviors drive reliable revenue, upgrades, and retention?” in seconds, grounded in the same BigQuery data your finance team trusts.