DATALYR

Shopify to Google Ads.

Send every Shopify order to Google Ads so campaigns optimize on real sales. Each paid order uploads as a conversion with the ad click and hashed email attached.

What gets sent.

What DATALYR sends from Shopify to Google Ads
DATALYR eventWhen it firesSent to Google asWhat it carries
purchaseShopify marks an order paidYour Import from clicks conversion actionOrder value and currency, the order ID as the transaction ID, the gclid, gbraid or wbraid, and hashed email and phone
order_refundedA refund is created in ShopifyNot sentGoogle rejects negative values, so the editor blocks any refund trigger

How it's matched.

DATALYR checks these in order and stops at the first one that finds the ad click.

  1. The visitor ID the App Embed writes onto the order as a cart attribute
  2. The order email, when the cart attribute found no ad click
  3. Click IDs and UTM parameters read from the order's landing page URL

Google gets the gclid (or gbraid or wbraid), looked up within 90 days of the click, plus email and phone hashed with SHA-256. DATALYR uploads only when the conversion has a click ID, an email or a phone number.

How it works.

  1. 01

    Connect Shopify.

    Open Sources, select connect on Shopify, enter your myshopify.com domain and approve the five permissions. Then turn on the App Embed in your theme editor and save, so each order carries the visit that drove it.

  2. 02

    Connect Google.

    In Google Ads, create a conversion action of type Import from clicks (Goals, Conversions, New, Import, Manual import using the API). In Sources, connect Google Ads and set your customer account as primary. In Conversions, create a rule: trigger event purchase, target platform Google, that conversion action. Set value to dynamic and pick the currency.

  3. 03

    Check one conversion.

    Place one order from a Google ad click. Find purchase in Events, then open the newest row in Conversions and read the reply from Google.

Check it worked.

  • If a delivery row reads failed with missing gclid/gbraid/wbraid and no enhanced conversion data, neither a click ID nor an email reached the order. Collect email at checkout and confirm the landing page keeps the gclid.
  • Select send test event on the rule. The request carries validateOnly, so Google checks it without recording a conversion.
  • Trigger one real conversion. Its row reads processing, then sent within 40 minutes once Google's own diagnostics confirm it.

View docsInstall on ShopifyShopify revenueGoogle AdsConversion delivery

Questions, answered.

Contact us
  • Install the DATALYR app on Shopify and turn on the App Embed. In Google Ads, create an Import from clicks conversion action. Then connect Google Ads in Sources and create a purchase rule for that action.

  • Each upload carries the gclid and also the customer's email and phone, hashed with SHA-256, so Google can match when the click ID is missing. DATALYR uploads only when the order has a click ID, an email or a phone number.

  • Import from clicks. A GA4, website or call action accepts no API upload, and every conversion sent to it fails. The editor blocks the save when the action cannot receive uploads.

  • Google accepts the upload at once and validates it later. The row reads processing, then sent after DATALYR checks Google's diagnostics about 30 minutes later, or failed if Google reports a problem.

  • No. Google needs a conversion action ID that differs per workspace, so you pick it yourself when you create the rule in Conversions.

See what really drives revenue.

Real-time attribution, analytics and conversions for every channel, campaign and ad, ready for your team and your agents.

Get started