Skip to main content
Tidio → BigQueryIntegration guide

Connecting Tidio to BigQuery

Tidio serves small ecommerce stores, where the chat widget's real job is recovering a hesitating shopper with a discount code — which means the conversion is the order, not the chat. 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 Tidio conversation 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

Tidio and BigQuery: chat-issued discount codes as the join key

In BigQuery, the cleanest Tidio join is a unique, single-use chat discount code tying one conversation to one order. Load conversations with start time, handler, code issued and hashed pre-chat email, then orders with codes and totals after discount. The output is one chat-influenced column, reported as a share of orders and revenue net of discount cost.

BigQuery is where the chat-influenced share of orders actually gets calculated, and the cleanest join key is usually not an identity at all. If chat flows issue unique discount codes, each code ties one conversation to one order, with no cookie or email matching required. Generic codes like CHAT10 work less well, because they get shared and reused, so a store that wants this measured should switch chat flows to single-use codes first.

Load conversations with their start time, handler (person or Lyro), whether a code was issued and, where captured, the email from the pre-chat form, hashed. Check whether your Tidio plan exposes conversations through an API or webhook, or only through export, before designing the load. Load orders from the store with discount codes, totals after discount and the click identifiers stored on the order. The email join covers chats without a code; the code join is exact.

The output is one column on the orders table, chat-influenced yes or no, and the honest use of it is a share of orders and revenue, with the discount cost netted off. That is the number that values the widget, and no ad platform will compute it for you.

Tidio → BigQuery · what breaks

Why this join usually fails — Tidio → BigQuery

  1. 01

    Whatever join key you decide on never reaches Tidio

    The widget is a third-party frame with its own storage and does not see your page's identifier.

  2. 02

    Chat-started imported as a conversion

    On a small store this produces conversion counts an order of magnitude above actual sales, and any automated bidding pointed at it will spend the budget on people who ask where their package is.

  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.

Tidio → BigQuery · the fix

What working looks like — Tidio → 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

Tidio → BigQuery · architecture

How Tidio and BigQuery actually connect

  1. 1

    Tidio holds the truth

    The flag is what makes chat's contribution visible without letting it claim the sale. The order is still the conversion; chat is an influence on it.

  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 Tidio conversation.

  4. 4

    The event source decides reliability

    Send purchases. Report chat-influenced orders as a share of the total, which is the honest way to value the widget.

  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.

Tidio → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the conversation

  • Sent from the store order record

  • 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

    The widget is a third-party frame with its own storage and does not see your page's identifier.

  • Sent from the browser

    On a small store this produces conversion counts an order of magnitude above actual sales, and any automated bidding pointed at it will spend the budget on people who ask where their package is.

  • 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

Tidio → BigQuery · diagnose

Diagnostic order — Tidio → BigQuery

  1. 01

    Count conversations carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare chat events against order count

    If chats outnumber orders by ten to one and both are in the conversion list, that is the entire diagnosis.

  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.

Tidio → BigQuery · prove

How it gets proven — Tidio → BigQuery

Source of truth

Store orders, flagged by whether a chat conversation or a chat-issued discount code preceded them.

  • 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.
  • Orders reconciled against imported conversions, with chat events absent from the count.

Tidio → 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 chat events against order count
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Store orders, flagged by whether a chat conversation or a chat-issued discount code preceded them.

Get my free conversion tracking audit

Free30 minutesNo obligation

Tidio → BigQuery · when not to buy

When you don't need this — Tidio → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred conversations and count how many carry whatever join key you decide on.
  • Most small stores need nothing here except the discipline of not adding chat events as conversions.
  • 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.

Tidio → BigQuery · what we deliver

What gets built — Tidio → BigQuery

  • Identifier capture into Tidio

    Pass the identifier in as a visitor attribute at widget initialization, so the conversation record can be joined to the order later.

  • Event source: the store order record

    Send purchases. Report chat-influenced orders as a share of the total, which is the honest way to value the widget.

  • 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 reduce the figure.

Written guarantee

95%+ tracking accuracy

Measured against Store orders, flagged by whether a chat conversation or a chat-issued discount code preceded them.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Tidio → BigQuery questions, answered

Use single-use discount codes issued in chat as the exact join, and hashed email from the pre-chat form for the rest. Check how your Tidio plan exports conversation data.

Free · 30 min

Get Tidio and BigQuery joined properly

Free30 minutesNo obligation