Skip to main content
Kustomer → BigQueryIntegration guide

Connecting Kustomer to BigQuery

Kustomer builds a timeline per customer rather than a queue of tickets, which makes it unusually good at answering the question ordinary support tools cannot: what an acquisition source costs you after the sale. BigQuery has no attribution model, no deduplication rules and no opinion about your data — which makes it the only destination on this site where every number is exactly as good as the query that produced it. The join between them succeeds or fails on one thing: whether whatever join key you decide on reaches the Kustomer customer timeline before the conversion happens, because BigQuery can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Kustomer in BigQuery: support cost per acquisition source

BigQuery is where Kustomer conversations, orders with click identifiers or UTM source, and the customer mapping meet to give contacts per customer and resolution time by acquisition source. Load through export, API or webhooks, keep only the latest version per conversation ID, and store a merge map. Join on an external customer ID, using click-based source captured at the order.

BigQuery is the natural home for the analysis Kustomer makes possible, because it needs three things in one place: orders with their click identifiers or UTM source, Kustomer conversations with channel, timestamps and message counts, and the mapping between the two customer records. The output is a table of contacts per customer and median resolution time by acquisition source, which no ad platform will ever report.

Check whether your Kustomer plan includes a data export or warehouse sync; otherwise pull from its API or capture webhooks into a landing table. Key conversations on the Kustomer conversation ID and keep only the latest version, because conversations reopen and update, and an append-only load counts a reopened ticket as a new contact. Kustomer can also merge duplicate customers, which changes which customer a conversation belongs to, so store a mapping of merged IDs rather than trusting yesterday's load.

Join to orders on email or, better, an external customer ID you write into Kustomer from the store. Restrict the acquisition source to click-based attribution captured at the order, not platform-reported view-through credit, or every channel inherits support costs it may not have caused. Refunds negotiated inside a Kustomer conversation still need to be read from the order system, which is the source of truth for money.

Kustomer → BigQuery · what breaks

Why this join usually fails — Kustomer → BigQuery

  1. 01

    Whatever join key you decide on never reaches Kustomer

    Contacts arrive across email, chat, SMS and social, and none of them carry a click identifier.

  2. 02

    Acquisition cost measured without service cost

    A channel producing customers who contact support four times each is more expensive than its cost per acquisition says, sometimes by more than the margin on the order.

  3. 03

    The warehouse quietly disagreeing with every platform

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  4. 04

    Nothing reconciles afterwards

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

Kustomer → BigQuery · the fix

What working looks like — Kustomer → BigQuery

  • Whatever join key you decide on on every conversation

  • Conversions arriving in BigQuery

    The row lands in a table you own, joinable to every other table you own, with no window and no expiry.

  • Reconciled against the source

Kustomer → BigQuery · architecture

How Kustomer and BigQuery actually connect

  1. 1

    Kustomer holds the truth

    Timeline-per-customer means contact volume, channel mix and resolution cost can all be attributed back to how that customer was acquired — which is a genuinely useful and almost never used signal.

  2. 2

    BigQuery needs a click to match

    BigQuery needs a schema and consistent types. The failure mode is not rejection, it is silent divergence: a column that arrives as a string in one load and an integer in the next, or a timestamp in the wrong zone, which produces answers that look plausible and are not.

  3. 3

    The identifier is the bridge

    Whatever join key you decide on, captured at the visit and carried into the Kustomer customer timeline.

  4. 4

    The event source decides reliability

    Send purchases. Report contacts-per-customer and resolution time by acquisition source alongside.

  5. 5

    Deduplication at the destination

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

Kustomer → BigQuery · normal or broken

Working vs. broken, side by side — Kustomer → BigQuery

Normal, not a fault

  • Whatever join key you decide on present on the conversation

  • Sent from your order system

  • Deduplicated correctly

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

  • Reconciles with the source

Actually broken

  • Whatever join key you decide on missing on most records

    Contacts arrive across email, chat, SMS and social, and none of them carry a click identifier.

  • Sent from the browser

    A channel producing customers who contact support four times each is more expensive than its cost per acquisition says, sometimes by more than the margin on the order.

  • Counted twice, or not at all

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  • Nobody has reconciled it

Kustomer → BigQuery · diagnose

Diagnostic order — Kustomer → BigQuery

  1. 01

    Count conversations carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare contacts per customer across acquisition sources

    The spread is usually wide, and it changes which channels are actually profitable.

  4. 04

    Reconcile warehouse order counts against each platform for one closed window

    The gaps localize the problem: a gap against all platforms is a collection issue, a gap against one is that platform's window or matching.

  5. 05

    Read the match rate, not the success message

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

Kustomer → BigQuery · prove

How it gets proven — Kustomer → BigQuery

Source of truth

Your order system, enriched with the customer's full support history from Kustomer.

  • Whatever join key you decide on confirmed present on a live conversation.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Purchases reconciled against imported conversions, with support contacts per customer reported by source.

Kustomer → BigQuery · free audit

What we check in the free audit

  • Count conversations carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Compare contacts per customer across acquisition sources
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Your order system, enriched with the customer's full support history from Kustomer.

Get my free conversion tracking audit

Free30 minutesNo obligation

Kustomer → BigQuery · when not to buy

When you don't need this — Kustomer → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred conversations and count how many carry whatever join key you decide on.
  • If support volume is low and uniform, this refinement will not change any decision you make.
  • If you have one store and one ad platform, a warehouse is infrastructure you will maintain for a reconciliation you could do in a spreadsheet.

Kustomer → BigQuery · what we deliver

What gets built — Kustomer → BigQuery

  • Identifier capture into Kustomer

    Join on the customer record and report support cost per acquisition source rather than attributing conversations.

  • Event source: your order system

    Send purchases. Report contacts-per-customer and resolution time by acquisition source alongside.

  • Dispatch to BigQuery

    Streaming inserts or scheduled batch loads from your order system, with the raw event retained alongside whatever you derive from it.

  • Reversals where they exist

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, enriched with the customer's full support history from Kustomer.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Kustomer → BigQuery questions, answered

Use an external customer ID written into Kustomer from your store, with email as a fallback. Key conversations on conversation ID and keep the latest state so reopened tickets are not double-counted.

Free · 30 min

Get Kustomer and BigQuery joined properly

Free30 minutesNo obligation