Skip to main content
AEM → BigQueryIntegration guide

Connecting Adobe Experience Manager to BigQuery

AEM sits inside the wider Adobe stack, which usually means Adobe Analytics is already in place and answering a different question from your ad platforms. 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 commerce order behind AEM 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

AEM to BigQuery: join Adobe hits to commerce orders on purchaseID

Set Adobe Analytics' purchaseID to the commerce order number, load Adobe's data feed export and the commerce order table into BigQuery, and join on that number. Capture click IDs server-side at landing and persist them to the order row rather than parsing hit data. Dedupe data feed redeliveries on hit identifiers and orders on order number.

In an Adobe shop the reason to load BigQuery is usually to put Adobe Analytics hit data and commerce orders side by side, because neither tool will reconcile with the other on its own. The cleanest join is the order number. Set Adobe Analytics' purchaseID to the commerce order number on the confirmation hit, load Adobe's data feed export into BigQuery, and load the commerce order table separately. One key then connects the visit, the marketing channel Adobe assigned and the revenue the commerce engine recorded.

Click identifiers belong on the order row, not only in Adobe. Capture gclid, fbclid, rdt_cid and the rest server-side at landing, persist them to the commerce order, and load them as columns. Adobe's data feed carries the landing URL too, but parsing parameters out of hit data after the fact misses visitors whose Adobe beacon was blocked, and those are exactly the visitors the ad platforms are also missing.

Data feed files arrive on Adobe's schedule and can be redelivered, so dedupe on the hit identifiers before aggregating, and on order number for the commerce side. Expect the Adobe purchase count to sit below the order count; the difference is your untracked share, now measurable per channel.

AEM → BigQuery · what breaks

Why this join usually fails — AEM → BigQuery

  1. 01

    Whatever join key you decide on never reaches AEM

    Dispatcher caching in front of AEM serves stored output, the Adobe data layer has its own conventions that may not carry your identifier, and enterprise release cycles slow every iteration.

  2. 02

    Three systems that will never agree

    Adobe Analytics, your commerce system and your ad platforms each measure differently. The useful work is deciding which answers which question, not forcing them to match.

  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.

AEM → BigQuery · the fix

What working looks like — AEM → BigQuery

  • Whatever join key you decide on on every order

  • 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

    Adobe Experience Manager's own records are the reference, not either dashboard.

AEM → BigQuery · architecture

How AEM and BigQuery actually connect

  1. 1

    Adobe Experience Manager holds the truth

    In most AEM deployments the commerce engine is separate, and Adobe Analytics reports on its own model with its own attribution. None of those three will agree by default and that is expected rather than broken.

  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 commerce order behind AEM.

  4. 4

    The event source decides reliability

    Send from the commerce layer, server-side. Dispatcher caching makes any per-request template logic unreliable.

  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.

AEM → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the order

    Visible on the record itself in Adobe Experience Manager, not merely captured somewhere on the site.

  • Sent from your commerce system's order event

  • 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

    BigQuery's count and Adobe Experience Manager's records agree within a few percent over a closed window.

Actually broken

  • Whatever join key you decide on missing on most records

    Dispatcher caching in front of AEM serves stored output, the Adobe data layer has its own conventions that may not carry your identifier, and enterprise release cycles slow every iteration.

  • Sent from the browser

    Adobe Analytics, your commerce system and your ad platforms each measure differently. The useful work is deciding which answers which question, not forcing them to match.

  • 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

    The dashboard shows a number and no one has compared it to Adobe Experience Manager.

AEM → BigQuery · diagnose

Diagnostic order — AEM → BigQuery

  1. 01

    Count orders carrying whatever join key you decide on

  2. 02

    Follow one real conversion end to end

  3. 03

    Map which system answers which question before building

    In an Adobe stack this framing saves more time than any implementation detail.

  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.

AEM → BigQuery · prove

How it gets proven — AEM → BigQuery

Against Adobe Experience Manager's own records, not against either platform's dashboard.

Source of truth

Your commerce system — AEM manages experiences, not transactions.

  • Whatever join key you decide on confirmed present on a live order.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Conversions confirmed sourced from the commerce system, with the Adobe Analytics difference explained rather than reconciled.

AEM → BigQuery · free audit

What we check in the free audit

  • Count orders carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Map which system answers which question before building
  • Reconcile warehouse order counts against each platform for one closed window
  • Read the match rate, not the success message

Checked against

Your commerce system — AEM manages experiences, not transactions.

Get my free conversion tracking audit

Free30 minutesNo obligation

AEM → BigQuery · when not to buy

When you don't need this — AEM → BigQuery

  • If BigQuery already reports conversions that reconcile against Adobe Experience Manager's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry whatever join key you decide on.
  • If Adobe Analytics already answers your reporting needs, the remaining work is only feeding ad platforms — a much smaller scope.
  • 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.

AEM → BigQuery · what we deliver

What gets built — AEM → BigQuery

  • Identifier capture into AEM

    Capture the identifier server-side and persist it to the commerce order, and if you use the Adobe client data layer, add the identifier explicitly rather than assuming it propagates.

  • Event source: your commerce system's order event

    Send from the commerce layer, server-side. Dispatcher caching makes any per-request template logic unreliable.

  • 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

    Handled at the commerce layer.

Written guarantee

95%+ tracking accuracy

Measured against Your commerce system — AEM manages experiences, not transactions.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

AEM → BigQuery questions, answered

Adobe's data feed export delivers hit-level files you can load into BigQuery on a schedule. Confirm with your Adobe admin which columns are included in your feed definition before designing the tables.

Free · 30 min

Get AEM and BigQuery joined properly

Free30 minutesNo obligation