Connecting Gorgias to BigQuery
Gorgias is ecommerce customer support, and the commercially interesting thing it holds is the conversation that led to a sale rather than the sale itself. 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 Gorgias ticket 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
Gorgias tickets joined to store orders and click IDs in BigQuery
Load Gorgias tickets with ID, created time, channel, tags, status and linked customer ID into BigQuery beside store orders and their click IDs. Join on customer ID plus a time window to flag pre-sales tickets. Keep raw webhook payloads, build a latest-state view per ticket, leave message bodies out, then compare pre-sales help rates by campaign.
BigQuery is where Gorgias's revenue attribution can be checked against rules you set yourself. Load tickets with ID, created time, channel, tags, status and the linked customer ID, and load your store's orders with their stored click IDs. The join runs on customer ID plus time: a ticket opened before that customer's first order, within a window you define, is a pre-sales candidate. Expect this to disagree with Gorgias's own figure. Their rules are not yours, and the disagreement tells you something.
Gorgias tickets change constantly: reopened, retagged, merged. Agents also tag inconsistently, so a ticket's tags at creation and at close can differ. Keep every webhook payload as a raw row, then build a view with the latest state per ticket ID, and decide which tag snapshot defines pre-sales. Leave message bodies out unless you need them, since they carry addresses, order complaints and sometimes payment details that have no business in an analytics warehouse.
Once that is in place, the query that matters for paid media is short: orders carrying a gclid, fbc or ttclid that were preceded by a pre-sales ticket, by campaign. If one campaign's buyers need a lot more pre-purchase help than another's, that is a landing page or offer problem, and nothing in an ad dashboard will show it.
Gorgias → BigQuery · what breaks
Why this join usually fails — Gorgias → BigQuery
- 01
Whatever join key you decide on never reaches Gorgias
Most Gorgias tickets are support rather than pre-sales. Treating ticket volume or even ticket-attributed revenue as a marketing conversion confuses service load with acquisition.
- 02
Support volume mistaken for demand
The overwhelming majority of Gorgias tickets are existing customers with problems. Sending ticket events as conversions teaches an ad platform to find people who need help.
- 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.
- 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.
Gorgias → BigQuery · the fix
What working looks like — Gorgias → BigQuery
Whatever join key you decide on on every ticket
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
Gorgias → BigQuery · architecture
How Gorgias and BigQuery actually connect
- 1
Gorgias holds the truth
Gorgias can attribute revenue to support conversations, which is genuinely useful internally and is calculated on its own rules. It is not a substitute for the store's order record.
- 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
The identifier is the bridge
Whatever join key you decide on, captured at the visit and carried into the Gorgias ticket.
- 4
The event source decides reliability
Send the order from the store. Use Gorgias to understand which conversations preceded orders, not as the conversion source itself.
- 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.
Gorgias → BigQuery · normal or broken
Working vs. broken, side by side — Gorgias → BigQuery
Normal, not a fault
Whatever join key you decide on present on the ticket
Sent from your store's order webhook, joined to the ticket where relevant
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
Most Gorgias tickets are support rather than pre-sales. Treating ticket volume or even ticket-attributed revenue as a marketing conversion confuses service load with acquisition.
Sent from the browser
The overwhelming majority of Gorgias tickets are existing customers with problems. Sending ticket events as conversions teaches an ad platform to find people who need help.
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
Gorgias → BigQuery · diagnose
Diagnostic order — Gorgias → BigQuery
- 01
Count tickets carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Check what proportion of tickets are pre-sales rather than support
It is usually a small minority, and only that minority is relevant to acquisition.
- 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.
- 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.
Gorgias → BigQuery · prove
How it gets proven — Gorgias → BigQuery
Source of truth
Your store's orders — Gorgias records the conversation and the store records the money.
- Whatever join key you decide on confirmed present on a live ticket.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- Pre-sales conversations separated from support volume before any conversion claim is made.
Gorgias → BigQuery · free audit
What we check in the free audit
- Count tickets carrying whatever join key you decide on
- Follow one real conversion end to end
- Check what proportion of tickets are pre-sales rather than support
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Your store's orders — Gorgias records the conversation and the store records the money.
Free30 minutesNo obligation
Gorgias → BigQuery · when not to buy
When you don't need this — Gorgias → BigQuery
- Measure identifier coverage yourself first — pull your last hundred tickets and count how many carry whatever join key you decide on.
- If your Gorgias is purely post-purchase support, it is not a conversion source and should not be treated as one.
- 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.
Gorgias → BigQuery · what we deliver
What gets built — Gorgias → BigQuery
Identifier capture into Gorgias
Where pre-sales chat matters, carry the identifier into the ticket's custom fields so a conversation that precedes a first order can be connected to the click that started it.
Event source: your store's order webhook, joined to the ticket where relevant
Send the order from the store. Use Gorgias to understand which conversations preceded orders, not as the conversion source itself.
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 come from the store.
Written guarantee
95%+ tracking accuracy
Measured against Your store's orders — Gorgias records the conversation and the store records the money.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Gorgias → BigQuery questions, answered
Through the Gorgias REST API on a schedule, plus webhooks for ticket changes. Check whether your ELT tool has a Gorgias connector before building one.
Yes, in the warehouse: join tickets to orders on customer ID and time, then split by the click IDs stored on each order.
Almost always because whatever join key you decide on never reached the Gorgias ticket. Most Gorgias tickets are support rather than pre-sales. Treating ticket volume or even ticket-attributed revenue as a marketing conversion confuses service load with acquisition. Measure coverage before debugging the dispatch.
There is no vendor identifier here. You choose the key — order ID, user ID, click identifier, hashed email — and you live with the consequences. That is the whole appeal and the whole risk: nothing is standardised for you and nothing is silently wrong in a vendor's favour either.
Your store's order webhook, joined to the ticket where relevant. Send the order from the store. Use Gorgias to understand which conversations preceded orders, not as the conversion source itself.
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.
More on Gorgias → BigQuery
- Gorgias → Google AdsConnecting Gorgias to Google Ads
- Gorgias → MetaConnecting Gorgias to Meta Conversions API
- Gorgias → GA4Connecting Gorgias to GA4
RELATED GUIDES
Where Gorgias → BigQuery fits in the rest of your tracking
- Crisp → BigQueryConnecting Crisp to BigQuery
- Tidio → BigQueryConnecting Tidio to BigQuery
- Tawk.to → BigQueryConnecting Tawk.to to BigQuery
- Gorgias → SnowflakeConnecting Gorgias to Snowflake
- Gorgias → SegmentConnecting Gorgias to Segment
- B2BConversion tracking for B2B, from first touch to closed-won
- LiveChat → BigQueryConnecting LiveChat to BigQuery
- Drift → BigQueryConnecting Drift to BigQuery
Free · 30 min
Get Gorgias and BigQuery joined properly
Free30 minutesNo obligation
