Skip to main content
AfterSell → Google AdsIntegration guide

Connecting AfterSell to Google Ads

AfterSell works through checkout extensions and post-purchase pages, which puts its offers inside Shopify's sandboxed surfaces where your own scripts cannot reach. Google Ads knows what you spent and which click it came from, and nothing at all about what happened afterwards. The join between them succeeds or fails on one thing: whether the GCLID reaches the AfterSell upsell order before the conversion happens, because Google Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

AfterSell to Google Ads: bid on the order total after the upsell

Google Ads records the pre-upsell value because checkout_completed fires on AfterSell's first offer page. If the existing conversion carries the Shopify order ID, restate it to the final webhook total; otherwise capture gclid, gbraid or wbraid into a cart attribute and upload the settled total to a new import-type action, keeping only one primary.

The Google & YouTube app and most gtag setups fire the Shopify purchase conversion from checkout_completed, which, with AfterSell's post-purchase page in place, fires on the first offer page. Google Ads therefore records the pre-upsell value, and tROAS bidding learns from a number that leaves out every accepted offer.

Two routes fix it without touching the sandbox. If the existing conversion already carries the Shopify order ID as its transaction ID, a restatement adjustment can raise its value to the final order total from the webhook; confirm order IDs are actually recorded on that action before planning on it. Otherwise create a new import-type action, capture the gclid (or gbraid/wbraid) on the storefront into a cart attribute, and upload the settled order total from the order webhook. Do not leave the old tag action primary next to it: two primary purchase actions on one order is a double count, not a correction.

Upload timing is relaxed here, since the upsell resolves within minutes and far inside the 90-day window, so the risk is coverage, not delay. Check how many recent AfterSell orders actually carry a gclid attribute, looking separately at orders that accepted an offer, before trusting any uplift in reported revenue.

AfterSell → Google Ads · what breaks

Why this join usually fails — AfterSell → Google Ads

  1. 01

    The GCLID never reaches AfterSell

    Extension surfaces are isolated by design. Attempting to instrument them client-side does not work and is not supported.

  2. 02

    Trying to instrument a sandbox

    Time gets spent attempting to observe checkout extension behaviour from the storefront. It cannot be done, by design, and every hour spent on it is an hour not spent on the server-side path that works.

  3. 03

    The conversion action is the wrong type

    Uploads against a standard website conversion action fail. The action has to be created as 'Import' — and existing actions cannot be converted, so this is discovered late and requires starting a new action with no history.

  4. 04

    Nothing reconciles afterwards

    Google Ads reports uploads in Goals → Conversions → Uploads, with rows accepted and rows failed. A green result means the file parsed, not that the clicks matched. The number to watch is how many conversions actually appear against campaigns afterwards.

AfterSell → Google Ads · the fix

What working looks like — AfterSell → Google Ads

  • The GCLID on every order

  • Conversions arriving in Google Ads

    Conversions appear against the campaign, ad group and keyword that produced the click, with the value you sent — which is what lets Smart Bidding optimize toward revenue instead of toward form fills.

  • Reconciled against the source

AfterSell → Google Ads · architecture

How AfterSell and Google Ads actually connect

  1. 1

    AfterSell holds the truth

    Checkout UI extensions run sandboxed. Nothing you write can observe them, so the only reliable view of what the customer accepted is the order itself.

  2. 2

    Google Ads needs a click to match

    Google Ads matches an uploaded conversion back to a click using the GCLID. The conversion action must be created as an import type — an upload against a website-tag conversion action is rejected. Uploads must also land inside Google's window: the click has to be within the last 90 days.

  3. 3

    The identifier is the bridge

    The GCLID, captured at the visit and carried into the AfterSell upsell order.

  4. 4

    The event source decides reliability

    Send the final order total from the webhook, with upsell line items identified.

  5. 5

    Deduplication at the destination

    Google deduplicates on the combination of GCLID, conversion action and conversion time. Uploading the same click twice against the same action at the same timestamp is rejected rather than double-counted, but uploading it against a second conversion action counts twice — which is how most double-counting here actually happens.

AfterSell → Google Ads · normal or broken

Working vs. broken, side by side — AfterSell → Google Ads

Normal, not a fault

  • The GCLID present on the order

  • Sent from the Shopify order webhook

  • Deduplicated correctly

    Google deduplicates on the combination of GCLID, conversion action and conversion time. Uploading the same click twice against the same action at the same timestamp is rejected rather than double-counted, but uploading it against a second conversion action counts twice — which is how most double-counting here actually happens.

  • Reconciles with the source

Actually broken

  • The GCLID missing on most records

    Extension surfaces are isolated by design. Attempting to instrument them client-side does not work and is not supported.

  • Sent from the browser

    Time gets spent attempting to observe checkout extension behaviour from the storefront. It cannot be done, by design, and every hour spent on it is an hour not spent on the server-side path that works.

  • Counted twice, or not at all

    Uploads against a standard website conversion action fail. The action has to be created as 'Import' — and existing actions cannot be converted, so this is discovered late and requires starting a new action with no history.

  • Nobody has reconciled it

AfterSell → Google Ads · diagnose

Diagnostic order — AfterSell → Google Ads

  1. 01

    Count orders carrying the GCLID

  2. 02

    Follow one real conversion end to end

  3. 03

    Confirm the conversion is sourced from the order, not from a page

    On modern Shopify checkout there is no supported page-based option left, so this is the only correct architecture.

  4. 04

    Check the conversion action type and the upload diagnostics

    In Google Ads, Goals → Conversions → Uploads shows every upload with its error rows. Read the errors rather than the success count; a file can import successfully with most rows rejected.

  5. 05

    Read the match rate, not the success message

    Google Ads reports uploads in Goals → Conversions → Uploads, with rows accepted and rows failed. A green result means the file parsed, not that the clicks matched. The number to watch is how many conversions actually appear against campaigns afterwards.

AfterSell → Google Ads · prove

How it gets proven — AfterSell → Google Ads

Source of truth

The final Shopify order total, read from the order record.

  • The GCLID confirmed present on a live order.
  • The Uploads diagnostics read row by row, with the accepted count reconciled against conversions appearing in campaign reporting.
  • Final order totals reconciled from the webhook against imported conversions.

AfterSell → Google Ads · free audit

What we check in the free audit

  • Count orders carrying the GCLID
  • Follow one real conversion end to end
  • Confirm the conversion is sourced from the order, not from a page
  • Check the conversion action type and the upload diagnostics
  • Read the match rate, not the success message

Checked against

The final Shopify order total, read from the order record.

Get my free conversion tracking audit

Free30 minutesNo obligation

AfterSell → Google Ads · when not to buy

When you don't need this — AfterSell → Google Ads

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the GCLID.
  • If your conversions already come from the order webhook, checkout extensions change nothing for you.
  • If your sales close inside a few days and your website tag already reports accurately, you may not need offline import at all. It exists to solve the delay between click and revenue.

AfterSell → Google Ads · what we deliver

What gets built — AfterSell → Google Ads

  • Identifier capture into AfterSell

    Do not try to instrument the checkout surface. Read the order server-side, which is the supported and more reliable path anyway.

  • Event source: the Shopify order webhook

    Send the final order total from the webhook, with upsell line items identified.

  • Dispatch to Google Ads

    Offline Conversion Import through the Google Ads API, or a scheduled upload. Enhanced conversions for leads where GCLID coverage is poor and you have consented email addresses.

  • Reversals where they exist

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against The final Shopify order total, read from the order record.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

AfterSell → Google Ads questions, answered

Not with a standard tag-based purchase conversion, which fires before the offer is accepted. You need a restatement adjustment or a server-side import from the Shopify order.

Free · 30 min

Get AfterSell and Google Ads joined properly

Free30 minutesNo obligation