Google Ads Conversion Tracking for Shopify: How to Set It Up Without a Developer
If your Google Ads conversion tracking for Shopify isn’t set up correctly, every optimization decision Google’s algorithm makes — Smart Bidding, Performance Max asset prioritization, keyword bids — is based on garbage data. You’ll keep spending, but the machine won’t know what’s actually working.
The good news: you don’t need a developer to fix this. Shopify gives you enough native access to get clean conversion data flowing into Google Ads in under an hour. This guide walks you through exactly how.
Why Most Shopify Stores Have Broken Conversion Tracking
Before the how, it’s worth understanding the why — because the same mistakes come up repeatedly.
Double-counting purchases. Shopify’s Google & YouTube sales channel app can automatically create a conversion action in Google Ads. If you also manually add the Google Ads global site tag (gtag) or a Google Tag Manager trigger, you end up with two purchase conversion events firing on the same order. Your reported ROAS looks artificially inflated, Smart Bidding overspends, and you have no idea.
Firing on the wrong page. Some setups trigger the conversion event on the cart or on a “processing” page rather than the true order confirmation page. You end up counting intent, not actual purchases.
Missing the thank-you page entirely. Shopify’s default thank-you/order status page is at /thank_you — but some themes or one-click upsell apps redirect customers through a different URL before landing there, breaking the tag completely.
No order value passed through. The conversion fires, but the revenue value is hardcoded to a fixed number instead of pulling the actual order total dynamically. Your conversion value data is useless for value-based bidding.
Know which of these applies to you before you start rebuilding.
The Two Setup Paths: Choose One
There are two reliable ways to set up Google Ads conversion tracking on Shopify. Pick one and commit — running both causes the double-counting problem described above.
Path 1: Google Tag Manager (Recommended for Most Stores)
Google Tag Manager (GTM) gives you the most control and the cleanest separation between your tracking layer and your Shopify theme code. It’s the right choice if you’re running ads on more than one network (which you probably are), because you can manage all your tags from one place.
Step 1: Install GTM on Shopify
In GTM, create a new container and copy the two code snippets — one for the <head> and one for the <body>. In Shopify, go to Online Store → Themes → Edit Code. Open theme.liquid and paste the <head> snippet just before the closing </head> tag, and the <body> snippet immediately after the opening <body> tag. Save.
Step 2: Enable GTM on the order status page
This is the step most guides skip. The Shopify thank-you page lives outside your theme — it’s a system page. To fire tags there, go to Settings → Checkout → Additional Scripts and add the GTM <body> snippet there as well. Without this, your purchase tag will never fire.
Step 3: Create a purchase Data Layer push
Shopify’s checkout exposes order data you can pass into GTM via a dataLayer.push(). In the same Additional Scripts box, add a dataLayer.push block that sends the event name (e.g. purchase), the transaction ID (use {{ checkout.order_id }}), and the revenue value (use {{ checkout.total_price | divided_by: 100.0 }} — Shopify stores prices in cents, so dividing by 100 converts to your actual currency value). Also pass {{ checkout.currency }}.
Shopify’s Liquid templating handles this server-side, so the values are populated before the page renders — no async timing issues.
Step 4: Set up the Google Ads conversion tag in GTM
In GTM, create a new tag of type Google Ads Conversion Tracking. Enter your Conversion ID and Conversion Label from Google Ads (find these under Tools → Conversions → select your conversion action → Tag setup → Use Google Tag Manager). Map the conversion value to the transactionTotal variable you pushed into the dataLayer. Set the trigger to fire on a Custom Event matching your purchase event name.
Step 5: Enable transaction ID deduplication
In the same tag, set the Order ID field to pull the transactionId from your dataLayer. This tells Google Ads to ignore any duplicate fires for the same order — your safety net against double-counting.
Tired of juggling 12 ad network dashboards?
AdPlus plans, launches, and monitors campaigns across Google, Meta, LinkedIn, TikTok, and 8 more networks — from one chat. Free Starter tier.
Get started →Path 2: Shopify’s Native Google Channel (Simpler, Less Flexible)
If GTM feels like too much overhead for now, Shopify’s Google & YouTube sales channel app handles basic conversion tracking automatically. Install the app, connect your Google Ads account, and it will create a purchase conversion action and deploy tags via Shopify’s built-in pixel infrastructure.
The tradeoff: you have less visibility into what’s firing and when, you can’t pass custom parameters as easily, and it becomes harder to manage if you’re running multiple ad networks. It’s fine for a beginner setup — just make sure you haven’t also manually added any Google tags to your theme, or you’ll double-count.
Verifying Your Setup
Don’t assume it works. Verify before you spend another dollar.
Use Google Tag Assistant. The Chrome extension (or the built-in Tag Assistant in GTM preview mode) lets you walk through a test purchase and confirm the conversion tag fires exactly once on the order confirmation page, with the correct revenue value.
Check for duplicate conversion actions in Google Ads. Go to Tools → Conversions and look for multiple purchase conversion actions that might both be set to “Primary.” If you see more than one, audit which one is correctly firing and pause or delete the other.
Place a test order. Shopify lets you place a test order using their Bogus Gateway payment method. Walk through checkout, land on the thank-you page, and verify the dataLayer push fired with the right values using GTM Preview mode.
Wait 24–48 hours, then check conversion lag. Google Ads won’t show conversions in real time — there’s always some processing delay. After your first real orders post-verification, give it a couple of days before concluding something is broken.
Setting Up the Conversion Action Correctly in Google Ads
Even if your tag fires perfectly, the conversion action settings in Google Ads itself can undermine your data.
Set the category to “Purchase.” This tells Smart Bidding and reporting exactly what kind of event it is.
Set the value to “Use different values for each conversion” (not a static amount). Your tag is already passing dynamic revenue — make sure Google Ads is configured to receive it.
Set the count to “One.” For purchase conversions, you only want to count one conversion per order, not one per click. Set count to “One” so a customer who buys after clicking your ad three times only registers a single purchase.
Attribution model. Data-driven attribution is the default and generally the right choice for most Shopify stores — it distributes credit across the touchpoints that actually influenced the purchase. Last-click will undervalue your upper-funnel campaigns.
Cross-Network Tracking: The Bigger Picture
Google Ads conversion tracking is important, but if you’re running ads on Meta, TikTok, Microsoft, or other networks at the same time, you need each platform’s pixel or tracking tag firing accurately too — and they all need to point to the same “source of truth” for purchases.
This is where things get complex fast: multiple pixels on the same thank-you page, potential for conflicting attribution, and no single view of which network is actually driving revenue.
AdPlus approaches this by consolidating conversion tracking setup and cross-network performance into one dashboard — so you can see which channels are genuinely contributing to purchases rather than relying on each network’s self-reported, heavily-attributed numbers. If you’re managing more than two ad networks on Shopify, having that unified view is what turns your tracking data into actionable budget decisions.
Quick Checklist Before You Go Live
- GTM installed on both
theme.liquidand Shopify’s Additional Scripts (checkout) dataLayer.pushpassing order ID, revenue value, and currency dynamically via Liquid- Google Ads conversion tag in GTM firing on the
purchasecustom event only - Transaction ID deduplication enabled on the tag
- No duplicate “Primary” conversion actions active in Google Ads
- Conversion action set to count “One” per order with dynamic value
- Test order verified in GTM Preview with correct values showing
Getting Google Ads conversion tracking right on Shopify is one of the highest-leverage things you can do before scaling spend — everything downstream depends on it. If you’re running campaigns across multiple networks and want cleaner attribution and simpler tracking management in one place, try AdPlus free and see how much clearer your performance data can get.