Built for Shopify & WooCommerce · Tracking checked every 30 minutes.

Google Ads conversion tracking on Shopify with Google Tag Manager, without an app

Abir Molla
Abir MollaNov 20, 2026 · 9 min read
Google Ads conversion tracking on Shopify with Google Tag Manager, without an appVideo · 13:16 · plays from YouTube

To set up Google Ads conversion tracking on Shopify without an app, you add a data layer to your store as a custom pixel in Settings → Customer events, load Google Tag Manager from it, and fire a Google Ads conversion tag on the purchase event. The tag sends the order's value, currency and transaction ID, so Google Ads sees real revenue and counts each order once. Then you place a test order and check the conversion arrives.

The video above shows the full setup on a Shopify store in about 13 minutes. This post is the written version: the same steps in order, why the old method stopped working, and the mistakes I see most often.

Why the old Additional scripts method stopped working

For years, the usual way to track Google Ads purchases on Shopify was to paste the conversion code into Additional scripts in the checkout settings. That box ran on the Thank you page, so the tag fired after every order.

Shopify has replaced those pages. As of August 28, 2025, the Additional scripts section is view-only, so you can't edit it any more, and August 26, 2026 was the deadline for stores on non-Plus plans to upgrade their Thank you and Order status pages (Shopify Help Center, upgrading your Thank you and Order status pages). If your Google Ads purchases dropped after the upgrade, this is the likely reason.

The replacement is Customer events. You add your tracking code there as a custom pixel, and Shopify passes it events such as a completed checkout. Custom pixels run in a sandbox, separate from your store's pages, and Shopify warns that not every pixel feature works there. I explain the switch in a shorter video, The New Way to Track Google Ads on Shopify. The setup below is built on it.

What you need

  • A Google Ads account where you can create conversion actions.
  • A Google Tag Manager account with a Web container for your store.
  • Access to your Shopify admin, to add a custom pixel.
  • A data layer script for Shopify Customer Events. It loads your GTM container inside the custom pixel and pushes each event, with the order details, into the data layer. The video uses my free Shopify data layer script, linked in the video description. Shopify also has its own Google Tag Manager example, linked under Sources, if you'd rather write the code yourself.

Step 1: Create the purchase conversion action in Google Ads

In Google Ads, open Goals → Summary and click Create conversion action.

  1. Enter your website address. You can skip the scan, because GTM will fire the tag.
  2. Choose Purchase as the category.
  3. Add a conversion action for your website, choose to set it up manually, and give it a clear name such as Purchase (GTM).
  4. For Value, choose to use different values for each conversion. The tag will send each order's real total.
  5. For Count, choose Every. Google recommends it for purchases, because every sale adds value.
  6. Save, and choose Google Tag Manager as the setup method.

Google Ads now shows a Conversion ID and a Conversion label. Keep this page open. You'll paste both into GTM in Step 6.

Step 2: Create your Google Tag Manager container

Go to tagmanager.google.com and create an account. Enter your business name and country, then a container name such as your store's name, and choose Web as the target platform. Accept the terms.

GTM shows you the installation code. You don't paste it into your theme. You only need the container ID, which looks like GTM-XXXXXXX.

Step 3: Add the data layer as a custom pixel in Shopify

Open the data layer script and replace the placeholder container ID with your own GTM- ID. Then copy the whole script.

In your Shopify admin:

  1. Go to Settings → Customer events.
  2. Click Add custom pixel and give it a name, such as GTM data layer.
  3. Under Customer privacy, set the permission. The video uses Not required. If you need visitor consent for marketing in your region, choose Required and the right data purposes instead.
  4. Paste the script into the Code box.
  5. Click Save, then Connect.

These are Shopify's own steps for a custom pixel. Once the pixel is connected, your GTM container loads on the store and receives the events, including the purchase.

Step 4: Make a test purchase and read the data layer

Before you build any variables, look at what the data layer actually sends. Open GTM Preview, enter your store's address, and place a test order.

In the video, the purchase event doesn't show up in GTM Preview. That's normal with a custom pixel: GTM runs inside Shopify's sandbox, and Google's debugging tools can't always see into it. Shopify says Tag Assistant's troubleshooting feature isn't compatible with custom pixels (Shopify Help Center, Google Tag Manager custom pixel).

So check the browser's console instead (right-click, Inspect, Console). The data layer script logs the purchase there, with the order total, currency, order ID, products and customer details. Note the exact names of those fields. Your variables have to match them.

Step 5: Create the value, currency and transaction ID variables

In GTM, go to Variables and create three Data Layer Variables, one for each field the purchase event sends:

  • Value: the order total.
  • Currency: the store's currency as a three-letter code, such as USD.
  • Transaction ID: the order ID.

The transaction ID matters more than it looks. If the order page loads twice, the tag can fire twice, and Google Ads uses the transaction ID to spot the second one as a duplicate and not count it. Each ID must be unique per order and must not contain anything that identifies the customer (Google Ads Help, use a transaction ID). The Shopify order ID meets both rules.

Step 6: Add customer data for enhanced conversions

The video also sends the buyer's details, so the conversion can use enhanced conversions. Create a Data Layer Variable for each customer field in the purchase event: email, phone, first name and last name, and the address fields if your data layer has them.

Then create a variable of the type User-Provided Data, choose Manual configuration, and put each variable in its field. Google hashes the values before they're sent.

The video adds two more variables, for new customer and customer lifetime value. They tell Google whether this buyer is new, which helps if you use the new customer acquisition goal. In the tag, you turn on Provide new customer data and pick these values. If you don't use that goal, you can leave them out.

Enhanced conversions also have to be switched on in Google Ads. If your conversion shows Needs attention later, this post covers the fix. For the exact variables and settings on Shopify, get the free Google Ads enhanced conversions variable list.

Step 7: Build the Google Ads conversion tag

In GTM, go to Tags → New and choose Google Ads Conversion Tracking.

  • Conversion ID and Conversion label: paste them from Step 1.
  • Conversion value: your value variable.
  • Transaction ID: your transaction ID variable.
  • Currency code: your currency variable.
  • Include user-provided data from your website: tick it and select your User-Provided Data variable.
  • Provide new customer data: optional, as above.

Leave nothing to chance in the value field. Google says that if it's empty or undefined, Tag Manager sends the value as 0.

GTM may warn that no Google tag was found in the container. In the video, I create one from the warning and save it, using the same conversion ID. A Google tag, or a Conversion Linker tag, on every page stores the ad click details that the conversion is later matched to. Google recommends the All Pages trigger for the linker, and says you don't need a separate one if a Google tag already loads on every page (Tag Manager Help, conversion linker).

For the trigger, create a Custom Event trigger with the purchase event name your data layer pushes. Shopify's own example uses checkout_completed. Use whatever name you saw in the console in Step 4. Save the tag.

Step 8: Publish and test

Click Submit, give the version a name, and Publish. Back in Google Ads, click Finish. The conversion action will show Inactive or Unverified. That's expected until Google sees the tag fire.

To test, the video uses Google's EC Assist Chrome extension, which checks conversions and enhanced conversions on your site. Install it, enter your store's address, start monitoring, and place a test order. EC Assist shows the Google Ads conversion with your conversion ID and the user data that came with it. In the video it shows the email as observed and no phone, because that test store has no phone field at checkout.

In Google Ads, the status usually changes within a few hours. In the video, I say to allow up to 3 hours. If it's still Unverified a day later, go back to Step 4 and check the event name and the trigger.

Common mistakes

Old tracking code still running. If your theme or an old app still fires a Google Ads purchase tag, every order counts twice. Shopify's advice is to remove or change existing pixel code before adding a custom pixel.

Two purchase conversion actions both counting. If you also connected Google Ads through the Google & YouTube app, check for a second purchase conversion action. If that one and your GTM one are both primary, Google Ads counts each order twice. Keep one as primary.

The placeholder container ID left in the script. The pixel saves and connects, but nothing reaches your container. Check the GTM- ID first if nothing fires.

Variable names that don't match. A Data Layer Variable with the wrong name returns undefined. For the value, that means Google Ads records 0. Copy the names from the console.

A fixed transaction ID. Typing a fixed value, or using the same variable for every order, makes Google treat real orders as duplicates. It must be the order ID.

Panicking at Unverified. A new conversion action always starts there. Give it a few hours and a real test order before changing anything.

Questions people ask

Do I still need the Google & YouTube app?

Not for this setup. GTM sends the purchase conversion on its own. Some stores keep the app for Merchant Center and product feeds. If you do, make sure only one purchase conversion action is primary.

Why doesn't the purchase show in GTM Preview?

Because GTM runs inside Shopify's custom pixel sandbox, and Google's debugging tools can't always see into it. Check the browser console for the data layer event, and use EC Assist or Shopify's Pixel Helper to confirm the tag fired.

Can I still use Additional scripts?

No. Since August 28, 2025 the Additional scripts section is view-only, and the Thank you and Order status pages now run on Shopify's new checkout. Customer events is where tracking code goes now.

How long until the conversion shows as active?

Usually a few hours after the first test order. It needs the tag to fire at least once. If your ads get little traffic, it can also show no recent conversions for a while, which isn't an error.

Is this server-side tracking?

No. The tag runs in the shopper's browser, inside Shopify's sandbox. Ad blockers and browser privacy settings can stop some of those purchases from reaching Google Ads. Server-side tracking sends them from a server as well.

Where KiteTrack fits

KiteTrack sends your Shopify purchases to Google Ads from your own tracking server on your store's subdomain, with value, currency, order ID and the customer's details hashed for enhanced conversions. It sends the same events to Meta, GA4 and TikTok, and checks your tracking every 30 minutes, so a broken tag becomes an alert instead of something you find weeks later. See how it works for Google Ads enhanced conversions on Shopify.

Not sure your Google Ads purchases are being recorded? Start with the free Tracking Check. It looks at your site in about two minutes, no signup. If you'd rather talk it through, book a call with me.

Sources

Get tracking tips by email

Short, practical fixes for Meta, Google Ads and GA4, from Abir.

You’re in. First tip lands soon.

Abir Molla
Written by Abir Molla

Tracking specialist. He builds and runs KiteTrack, and explains tracking on YouTube.

Keep reading

Let your ads see every sale.

30-day money-back guarantee · free migration · cancel any time