Skip to main content
Shopify → Google AdsIntegration guide

Connecting Shopify to Google Ads

Shopify is the system of record for the order, and its admin numbers are the ones the business runs on. 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 Shopify 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

Shopify to Google Ads: offline import beside the Google app's tag

The Google & YouTube app's purchase action is enough for many Shopify stores. To cover draft orders and lost thank-you pages, create one import-type action, read gclid, gbraid or wbraid from the order's note attributes, upload from orders/paid with the Shopify order ID, and demote the app's action to secondary. Renewals past 90 days can't be uploaded.

The Google & YouTube app creates its own purchase conversion action and sends it from the checkout pixel, with enhanced conversions available. For many stores that is enough. The gap is the orders it can't see, such as draft orders created by staff after a sales call and customers who close the tab, and stores trying to fill it often add a second primary purchase action and double count.

The safer pattern keeps one primary action. If you move to server-side, create an import-type action, read the gclid (or gbraid/wbraid) from the order's note attributes, written there from a cart attribute on the storefront, and upload from orders/paid with the Shopify order ID as the order ID. Then demote the app's action to secondary. The order's landing-site data may also hold the gclid for online-store orders; check whether yours does before building separate capture.

Subscription renewals need a decision of their own: an upload against the original gclid only works within 90 days of the click, so most renewals can't be uploaded and shouldn't be expected to. For refunds, refunds/create carries the order reference, which a retraction or restatement adjustment can use as the order ID.

Shopify → Google Ads · what breaks

Why this join usually fails — Shopify → Google Ads

  1. 01

    The GCLID never reaches Shopify

    Shopify's checkout is locked down. Custom scripts on the checkout steps are not permitted on standard plans, and the old additional-scripts route is gone, so the identifier has to be captured on the storefront and carried into the order through cart or order attributes rather than read at the checkout itself.

  2. 02

    Checkout extensibility hides what you need

    Shopify deliberately restricts what runs during checkout. Setups that assumed free rein there broke when the platform moved to Checkout Extensibility, and many stores have been quietly under-reporting since.

  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.

Shopify → Google Ads · the fix

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

Shopify → Google Ads · architecture

How Shopify and Google Ads actually connect

  1. 1

    Shopify holds the truth

    The order carries line items, discounts, shipping, tax, currency and the customer. Note which figure you intend to report — total, subtotal, or net of shipping and tax — because most mismatches between Shopify and an ad platform turn out to be two people comparing two different numbers.

  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 Shopify order.

  4. 4

    The event source decides reliability

    Send when Shopify says the order is paid, from your server. This also covers draft orders, POS, and the customer who closes the tab on the thank-you page — none of which a pixel on the order-status page will ever see.

  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.

Shopify → Google Ads · normal or broken

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

Normal, not a fault

  • The GCLID present on the order

  • Sent from the orders/paid 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

    Shopify's checkout is locked down. Custom scripts on the checkout steps are not permitted on standard plans, and the old additional-scripts route is gone, so the identifier has to be captured on the storefront and carried into the order through cart or order attributes rather than read at the checkout itself.

  • Sent from the browser

    Shopify deliberately restricts what runs during checkout. Setups that assumed free rein there broke when the platform moved to Checkout Extensibility, and many stores have been quietly under-reporting since.

  • 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

Shopify → Google Ads · diagnose

Diagnostic order — Shopify → Google Ads

  1. 01

    Count orders carrying the GCLID

  2. 02

    Follow one real conversion end to end

  3. 03

    Open a recent paid order and read its note attributes

    If the identifier is not on the order, nothing downstream can attribute it. Check ten orders, not one — partial coverage is the normal failure, not total absence.

  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.

Shopify → Google Ads · prove

How it gets proven — Shopify → Google Ads

Source of truth

Shopify Admin → Orders, for the same window, in the same currency and on the same timezone.

  • 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.
  • Order totals in Shopify Admin reconciled per order, not on the summed total, over a closed window.

Shopify → Google Ads · free audit

What we check in the free audit

  • Count orders carrying the GCLID
  • Follow one real conversion end to end
  • Open a recent paid order and read its note attributes
  • Check the conversion action type and the upload diagnostics
  • Read the match rate, not the success message

Checked against

Shopify Admin → Orders, for the same window, in the same currency and on the same timezone.

Get my free conversion tracking audit

Free30 minutesNo obligation

Shopify → Google Ads · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the GCLID.
  • Shopify's own native channel integrations already cover simple single-currency stores adequately. If your admin numbers and platform numbers already agree, you do not need this.
  • 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.

Shopify → Google Ads · what we deliver

What gets built — Shopify → Google Ads

  • Identifier capture into Shopify

    Capture the click identifier on the storefront, write it to a cart attribute so it becomes an order note attribute, and read it back server-side from the order. That path survives the checkout domain hop that breaks cookie-based approaches.

  • Event source: the orders/paid webhook

    Send when Shopify says the order is paid, from your server. This also covers draft orders, POS, and the customer who closes the tab on the thank-you page — none of which a pixel on the order-status page will ever see.

  • 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/create fires with the original order reference, so refunds and cancellations can be reversed at the destination.

Written guarantee

95%+ tracking accuracy

Measured against Shopify Admin → Orders, for the same window, in the same currency and on the same timezone.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Shopify → Google Ads questions, answered

Yes, but only one purchase action should be primary. Set the other to secondary, or Google Ads counts each order twice for bidding.

Free · 30 min

Get Shopify and Google Ads joined properly

Free30 minutesNo obligation