Published by Christopher Krassnig's companyNot affiliated with Google
Sections

How to Set Up Google Ads Conversion Tracking on Shopify

Set up Google Ads conversion tracking on Shopify with the Google & YouTube app, test a purchase for free and stop one sale counting twice.

In short

To track Google Ads conversions on Shopify, install the Google & YouTube app, connect your Google Ads account and confirm the store events under Measure conversions. The app makes Purchase your primary conversion, the one used for bidding. Then test it with Tag Assistant and a Shopify test order, and remove old Google tags so each sale counts once.

The way to set up Google Ads conversion tracking on Shopify is the Google & YouTube app. Google recommends it. You install the app, connect your Google Ads account and confirm your store events under Measure conversions. The app then creates a Purchase conversion action and makes it primary, so your bids learn from real sales. Two checks finish the job: a test that shows "Recording", and a hunt for old tags that count one sale twice.

Which Setup Route Should a Shopify Store Use?

Use the Google & YouTube app with a direct account connection. Google says the app connection is "strongly preferred" over adding the Google tag by hand. The table shows when another route fits.

Your situationRouteWhat Google says
One Google Ads account, you have admin accessApp, connect the account directlyThe standard path
More than one account, or a manager accountApp, Skip account connectionYou enter conversion IDs and labels by hand
Your account is missing because you lack admin accessApp, Skip account connectionSame manual entry
You use FloodlightApp, Skip account connectionSame manual entry
Google Tag Manager or a custom pixelNot supported by GoogleMove the tags into the app
Purchase import plus customer listsGoogle Ads Data Manager, Shopify connectionNeeds the app too

Google says the app "only supports directly linking a single Google Ads account." That is why the skip option exists. If you run several stores, you may want a Google Ads manager account first.

How Do You Set Up Conversion Tracking With the Google & YouTube App?

Follow these steps in order. Each one matches Google's own setup page.

  1. Install the app. In your Shopify admin, add the Google & YouTube app.
  2. Start the Google Ads setup. Find "Just want to set up Google Ads conversion measurement?" and select Get started.
  3. Connect your account. In "Your Google Account", select Connect. Pick Skip account connection only if a case in the table above fits you.
  4. Review your events. Under Measure conversions, Purchase, add to cart and checkout started are the suggested defaults. Select Confirm to keep them or Manage to change them.
  5. Change an event if you need to. Use the pencil icon. You can create a new conversion action, pick one you already have, or not measure that event.
  6. Add your own conversion action if you skipped. Tick Add custom conversion ID/label and enter the AW-CONVERSION_ID/CONVERSION_LABEL string from Google Ads.
  7. Save. Select Save for each event you change. Select Save again when all events are done. Then select Confirm.
  8. Decide on enhanced conversions. You can turn it on now, when you first connect. More on this below.
  9. Confirm your Google tags. The app shows the Google tags it found. Confirm them, or select Add Google tag. Then select Complete setup.
  10. Check bidding in Google Ads. Google says to "check that your new campaigns are bidding to the new conversion action." It also says to "set it up as a primary conversion."

Need to change tags later? Open the app's Settings tab, find "Customer event settings" and select Manage.

What Conversion Actions Does the App Create?

Linking Google Ads in the app creates the conversion actions below. Only Purchase is primary.

Conversion actionTypeCategoryUsed for bidding?
PurchasePrimary, account defaultSalesYes
Add to cartSecondarySalesNo, observation only
Begin checkoutSecondarySalesNo, observation only
Page viewSecondaryPage viewNo, observation only
View itemSecondaryPage viewNo, observation only
SearchSecondaryPage viewNo, observation only
Add payment infoSecondaryOtherNo, observation only

Google explains the split on its primary and secondary page. Primary actions are "reported in the Conversions column in your reports." They are used for bidding when their goal is used for bidding. Secondary actions "are for observation only." They show in the All conversions column. One exception: a secondary action inside a custom goal is used for bidding.

Should Add to Cart Be a Primary Conversion?

Keep add to cart secondary, the way the app sets it. A primary action feeds your bids. If add to cart is primary, your bids learn from carts, and a cart is not a sale. As a secondary action you still see it in All conversions.

How Do You Check That Tracking Works?

Check the tracking status first, then run a Tag Assistant test, then place a test order.

Read the Tracking Status

In Google Ads, go to Goals, then Summary. In the Conversions dropdown, choose All conversions. Look at the Tracking status column.

Status you seeWhat to do
UnverifiedHover, select Troubleshoot, then Continue to open Tag Assistant
Tag inactiveSame steps
Needs attentionSame steps
No recent conversionsThe tag is verified. Wait for a conversion
RecordingTracking works

Run a Tag Assistant Test

  1. Enter your home page or a landing page URL. Do not use the order page.
  2. Select Connect. Keep both tabs open.
  3. Go through your store and trigger the conversion.
  4. Select Finish, then Close Tag Assistant.

Google says verified actions show about 30 minutes later as "no recent conversions". They change to "Recording" once conversions come in.

Place a Test Order Without Paying

Shopify has a Test payment gateway and a test mode for Shopify Payments. Neither one charges you. Two warnings from Shopify. Customers cannot place live orders while your payment provider is in test mode, so switch it back right after. Test orders also do not show in your payouts or reports.

Why Is Google Ads Counting Every Sale Twice?

Google names two causes. One is "multiple Google tags set up". The other is tracking you set up before you installed the app. Google adds: "Duplicate tags can cause inaccurate report data for your free listings and ads."

Where Old Tags Hide in Shopify

PlacePath in Shopify admin
Custom pixelsSettings > Customer events
Additional scriptsSettings > Checkout > Additional scripts
checkout.liquidTheme, Edit code > Layout
theme.liquidTheme, Edit code > Layout

Before you edit theme code, duplicate the theme as a backup. Then search the code for these strings: gtag, AW-, GTM-, googletagmanager.com, googleadservices.com, UA- and google-analytics.com. Never remove {{ content_for_header }} or {{ content_for_layout }}.

How to Spot a Duplicate

Open Tag Assistant on your store and look at the "Hits sent" tab. Google says it "shows a box for each event sent from on your site." Each box shows whether Google Analytics or Google Ads tracked it. Two Google Ads purchase boxes for one order point to a duplicate.

Remove Only the Duplicate

Google warns: "Double-check that you disable only the duplicated tracking events." Turning off events that are not duplicates "can decrease ad tracking accuracy and efficiency." Do not opt out of tracking in the app to fix it. Google says opting out turns tracking off "for both ads and free listings."

Two Settings That Catch Repeat Counts

  • Count setting. Use "Every" for purchases. Google says it counts "every conversion (per tracked conversion action) that happens after an ad interaction" and calls it a good choice for sales.
  • Transaction ID. Reloading the order page can fire the tag again, so "a second conversion could be counted for the same order." A unique transaction ID lets Google Ads flag that second one as a duplicate.

Example: What Double Counting Does to ROAS

This example uses made-up numbers to show the math. They are not real store results.

A store spends 100 on ads. The orders from those ads are worth 400. With one tag, ROAS is 400 / 100 = 4. With an old theme tag firing next to the app, each sale counts twice. Google Ads shows 800, so ROAS reads 800 / 100 = 8. The real return is still 4. Try your own numbers in the ROAS calculator, then compare them with your break-even ROAS.

Why Does Google Ads Show Fewer Purchases Than Shopify?

Google Ads and Shopify count different things. Google Ads counts conversions "that happen after an ad interaction". An order that came from another channel is not an ad conversion. A gap alone does not prove broken tracking. Run these checks before you change anything.

CheckWhereWhat a problem looks like
Tracking statusGoals > Summary, All conversionsUnverified, Tag inactive or Needs attention
Purchase is primaryGoals > SummaryThe app's Purchase action is secondary
Tag routeSettings > Customer eventsGoogle tags running in a custom pixel
Test orderShopify test gateway, then Tag AssistantNo Google Ads purchase box in Hits sent

The custom pixel row matters most. Google says "some events and parameters that depend on signals from outside the sandbox may be lost" when Google tags run there.

Can You Use Google Tag Manager or a Custom Pixel Instead?

Google says no. Its Tag Manager help page states: "Running Google tags inside Shopify's custom pixel feature is not a supported implementation." Data may be lost, and "Google support won't be able to help you fix these issues." Use Google Tag Manager on Shopify? Google says to move the Google tags out of the container. Then set them up in the Google & YouTube app.

What Is Google Ads Data Manager's Shopify Connection?

Google Ads Data Manager can connect to Shopify too. It needs the Google & YouTube app. Google lists two limits:

  • Only purchase conversions from Shopify's "Checkout completed" event are supported.
  • You can import up to 25 Customer Match audience lists at a time.

What Is the Difference Between a G- Tag and an AW- Tag?

Google says tag IDs that start with "G-" are generally Google Analytics, and IDs that start with "AW-" are generally Google Ads. When you search your theme for old tags, an AW- ID points to Google Ads tracking. The custom conversion string the app asks for also starts with AW-.

Do You Need Enhanced Conversions?

Enhanced conversions is optional. Google says it can improve the accuracy of your conversion measurement by "sending hashed first party conversion data from your website to Google." To use it, you must agree to the customer data terms. Read those terms before you turn it on. You can switch it on when you first connect Google Ads. To do it later, open the app and go to Settings > Google Ads settings > Enhanced conversions > Turn on.

Common Mistakes to Avoid

MistakeWhat goes wrongFix
Two primary purchase actionsThe same sale can count twice in ConversionsKeep one primary purchase action
Old theme tag left in placeOne order shows as twoRemove only the duplicate tag
Add to cart set as primaryBids chase carts, not salesLeave it secondary
Test mode left onCustomers cannot place live ordersSwitch it off right after your test
Theme edited without a backupOne wrong cut can break the themeDuplicate the theme first
Opting out in the app to stop doublesTracking stops for ads and free listingsRemove the duplicate tag instead

FAQ

How Long Until Conversions Show Up After Setup?

Google says verified actions show about 30 minutes after a Tag Assistant test, first as "no recent conversions". The status turns to "Recording" once conversions come in.

Do I Still Need the Old Additional Scripts Event Snippet?

Not if the app tracks your purchases. Google lists Settings > Checkout > Additional scripts as a place where duplicate tags hide. Confirm it is a duplicate in Tag Assistant, then disable only that one.

How Do I Connect More Than One Google Ads Account?

Choose Skip account connection in the app. Google says it suits more than one account, including through a manager account. You then enter each conversion ID and label by hand.

Should I Import GA4 Purchases as Well as the App Conversion?

Keep one primary purchase action. Primary actions all report in the Conversions column. Two primary purchase actions can count the same sale twice. If you want to watch a second source, set it as secondary.

Why Does Tag Assistant Show the Tag Firing but Google Ads Shows No Conversion?

First check the "Hits sent" box: it shows whether Google Ads or Google Analytics tracked the event. Google says a G- tag is generally Google Analytics, not Google Ads. Then wait about 30 minutes for the status to update. Last, check the column. A secondary action shows only in All conversions, not in Conversions.

What Should Conversion Count Be Set To for Purchases?

Set it to "Every". Google calls it a good choice for sales. Add a unique transaction ID so a reloaded order page is flagged as a duplicate.

My Ads Get No Clicks at All. Is Tracking the Problem?

No clicks means no conversions to track. Start with why Google Shopping ads get no impressions and how to set up Merchant Center on Shopify.

Sources

Written by
Lead Author

Christopher's agency runs Google Ads for 400+ ecom stores.