Connecting Applied Epic to BigQuery
Applied Epic runs insurance agencies, where the agency earns a commission on premium and the policy renews annually — so a new client is worth a stream, not a 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 Applied Epic policy 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
Applied Epic in BigQuery: lifetime commission per ad click
Load Applied Epic policies into BigQuery with client ID, line of business, effective date, term and agency commission, one row per renewal. Join to web leads through a lead ID written onto the Epic client at creation, not name or email. Deduplicate on policy plus term, and record cancellations as negative commission rows to value clicks on lifetime commission.
BigQuery is the one place in this list where Applied Epic's economics fit without compromise. Load policies with the client ID, line of business, effective date, term and agency commission, and keep every renewal as its own row. Then a policy bound from a paid click two years ago can be valued at the commission it has actually earned since, which no ad platform window will ever show you.
The join is the part to design first. Your web lead table holds the click identifiers (gclid, fbclid, rdt_cid and the rest) captured on the quote form; the Epic side holds the client record a CSR created later. Write a lead ID onto the Epic client at creation and join on that, not on name or email, because households share emails and producers retype names. Check how your agency handles renewals in Epic, since some rewrite or renew onto a new policy record, and key your deduplication on policy plus term accordingly.
Pro rata cancellations belong as negative commission rows dated to the cancellation, not as edits to the original row, so a closed month stays closed. Once this table is right, it becomes the source for whatever value you later upload to Google, Meta or Reddit.
Applied Epic → BigQuery · what breaks
Why this join usually fails — Applied Epic → BigQuery
- 01
Whatever join key you decide on never reaches Applied Epic
Quotes are produced by staff and policies are bound days later, with the enquiry sometimes arriving by phone.
- 02
Premium reported instead of commission
A five-thousand-pound premium might earn the agency six hundred. Reporting the premium overstates return by roughly eight times and will justify spend that loses money.
- 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.
Applied Epic → BigQuery · the fix
What working looks like — Applied Epic → BigQuery
Whatever join key you decide on on every policy
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
Applied Epic → BigQuery · architecture
How Applied Epic and BigQuery actually connect
- 1
Applied Epic holds the truth
The agency does not earn the premium. It earns a percentage of it, annually, for as long as the policy renews — which makes both the value and its timing quite unlike a one-off sale.
- 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 Applied Epic policy.
- 4
The event source decides reliability
Send bound policies at first-year agency commission, with renewals reported as retention.
- 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.
Applied Epic → BigQuery · normal or broken
Working vs. broken, side by side — Applied Epic → BigQuery
Normal, not a fault
Whatever join key you decide on present on the policy
Sent from the Applied Epic policy 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
Quotes are produced by staff and policies are bound days later, with the enquiry sometimes arriving by phone.
Sent from the browser
A five-thousand-pound premium might earn the agency six hundred. Reporting the premium overstates return by roughly eight times and will justify spend that loses money.
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
Applied Epic → BigQuery · diagnose
Diagnostic order — Applied Epic → BigQuery
- 01
Count policys carrying whatever join key you decide on
- 02
Follow one real conversion end to end
- 03
Confirm the imported value is agency commission
The distinction is well understood inside the agency and routinely lost in the pipeline to the ad platform.
- 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.
Applied Epic → BigQuery · prove
How it gets proven — Applied Epic → BigQuery
Source of truth
Policies bound, valued at agency commission on premium rather than at the premium itself.
- Whatever join key you decide on confirmed present on a live policy.
- Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
- Bound policies reconciled at agency commission against imported conversions.
Applied Epic → BigQuery · free audit
What we check in the free audit
- Count policys carrying whatever join key you decide on
- Follow one real conversion end to end
- Confirm the imported value is agency commission
- Reconcile warehouse order counts against each platform for one closed window
- Read the match rate, not the success message
Checked against
Policies bound, valued at agency commission on premium rather than at the premium itself.
Free30 minutesNo obligation
Applied Epic → BigQuery · when not to buy
When you don't need this — Applied Epic → BigQuery
- Measure identifier coverage yourself first — pull your last hundred policys and count how many carry whatever join key you decide on.
- If you cannot get commission into the pipeline, send a bound-policy count. A count is honest; premium is not.
- 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.
Applied Epic → BigQuery · what we deliver
What gets built — Applied Epic → BigQuery
Identifier capture into Applied Epic
Store the identifier on the client record at enquiry so a policy bound later resolves to it.
Event source: the Applied Epic policy record
Send bound policies at first-year agency commission, with renewals reported as retention.
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
Cancelled policies reverse pro rata.
Written guarantee
95%+ tracking accuracy
Measured against Policies bound, valued at agency commission on premium rather than at the premium itself.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Applied Epic → BigQuery questions, answered
A lead ID created when the quote form is submitted, stored on the web lead row with its click identifiers and written onto the Epic client by the CSR. Name and email matching breaks on households and phone enquiries.
Yes, if every renewal and cancellation is loaded as a dated commission row against the original client. Sum commission by the campaign stored on the lead row, over the full renewal history.
Almost always because whatever join key you decide on never reached the Applied Epic policy. Quotes are produced by staff and policies are bound days later, with the enquiry sometimes arriving by phone. 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.
The Applied Epic policy record. Send bound policies at first-year agency commission, with renewals reported as retention.
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 Applied Epic → BigQuery
- Applied Epic → Google AdsConnecting Applied Epic to Google Ads
- Applied Epic → MetaConnecting Applied Epic to Meta Conversions API
- Applied Epic → GA4Connecting Applied Epic to GA4
RELATED GUIDES
Where Applied Epic → BigQuery fits in the rest of your tracking
- EZLynx → BigQueryConnecting EZLynx to BigQuery
- Applied Epic → SegmentConnecting Applied Epic to Segment
- Applied Epic → SnowflakeConnecting Applied Epic to Snowflake
- InsuranceConversion tracking for insurance, from quote request to bound policy
- EZLynx → SegmentConnecting EZLynx to Segment
- EZLynx → SnowflakeConnecting EZLynx to Snowflake
Free · 30 min
Get Applied Epic and BigQuery joined properly
Free30 minutesNo obligation
