Running Google Ads without conversion tracking means spending budget with no way to see which clicks become sales. Setting up Google conversion tracking on a Shopify store closes that gap — it shows which campaigns, keywords, and products actually drive revenue, and it feeds Google's automated bidding the data it needs to optimize for sales rather than clicks.
The fast version:
- Install the Google & YouTube app in Shopify.
- Link the Google Ads account inside the app.
- Enable conversion tracking (and enhanced conversions) in the app settings.
- For more control, add a Google Ads tag via Customer Events or Google Tag Manager.
- Place a test order and confirm the conversion appears in Google Ads.
Why conversion tracking matters
Conversion tracking connects a Shopify store to Google Ads so each sale is attributed to the click that produced it. With it in place, a store gets:
- ROI measurement: which campaigns, keywords, and products earn back their spend, in real numbers.
- Smarter automated bidding: Google's Smart Bidding optimizes toward actual purchases, shifting budget to what converts.
- Remarketing: the ability to re-target shoppers who viewed or added to cart but did not buy.
- Attribution: credit assigned to the right source even when a shopper sees several ads before converting.
- Decisions from data: optimization based on performance rather than guesswork.
As Google's own documentation puts it, conversion tracking shows how ad clicks lead to valuable actions like purchases, sign-ups, and form submissions. Without it, campaign optimization is essentially blind.
Google Analytics vs. Google Ads conversions
GA4 can track conversions, but it uses its own attribution model and can miss conversions due to cross-domain flows or cookie restrictions. For optimizing Google Ads campaigns directly, native Google Ads conversion tracking is more reliable. A common setup is to use Google Ads tracking as the primary source for bidding and treat GA4 as secondary for reporting.
Four ways to set it up
Method 1 — Google & YouTube app (recommended)
For most stores, the official Google & YouTube app is the simplest route. It injects Google's tracking code automatically, connects Shopify to Google Ads, tracks purchases without manual code, and supports enhanced conversions for better accuracy.
- In the Shopify admin, go to Apps and search for "Google & YouTube."
- Install it and connect the Google account.
- Link the Google Ads account inside the app.
- Open Settings, turn on Conversion Tracking, and enable enhanced conversions if available.
- Save.
This method suits the large majority of merchants: no code, and both Shopify and Google support it. A test order is still worth running to confirm tracking fires.
Method 2 — Manual tag (Customer Events)
When a store needs more control, a Google Ads conversion tag can be added manually. First, in Google Ads, create a new conversion action: Tools & Settings > Conversions > New conversion action > Website, with the category set to Purchase. To track order value, choose "Use different values for each conversion." Google then supplies a conversion ID and label (an AW- value).
On current Shopify stores, that tag is added through Settings > Customer events as a custom pixel, reading order value and currency from the event object. (Shopify has deprecated the older "Order status page > Additional scripts" field, so new setups should use Customer events or the app rather than the legacy Liquid method below.)
For reference, the legacy Liquid snippet that stores historically placed in Additional scripts looked like this — wrapped in a Liquid condition so it fired only once per order:
{% if first_time_accessed %}
<!-- Google Ads Conversion Tracking Event Snippet -->
<script>
gtag('event', 'conversion', {
'send_to': 'AW-XXXXXXXXX/YYYYYYYYY',
'value': {{ checkout.total_price | divided_by: 100.0 }},
'currency': '{{ checkout.currency }}',
'transaction_id': '{{ checkout.order_number }}'
});
</script>
{% endif %}The conversion ID and label replace AW-XXXXXXXXX/YYYYYYYYY. Using subtotal_price instead of total_price excludes shipping and taxes from the tracked value. The transaction_id is what lets Google dedupe repeat fires of the same order.
Method 3 — Google Tag Manager
For stores managing several marketing tags (Google, Meta, TikTok) or needing advanced event tracking, Google Tag Manager centralizes everything in one container.
- Create an account and container at Google Tag Manager.
- Add the container code to the Shopify theme.
- Add a Google Ads conversion tag in GTM, connected to purchase events via Shopify's data layer.
- Verify with GTM Preview mode and Google Tag Assistant before going live.
The trade-off is a steeper learning curve, and stores on lower Shopify plans have less direct access to checkout code, so a compatible app or Customer Events may be needed instead.
Method 4 — Third-party tracking apps
Several apps automate tracking setup and add features like multi-channel attribution or extra reporting. When evaluating one, weigh how easy it is to set up, what it adds beyond basic tracking, the support available, and — importantly — whether it risks double-counting conversions alongside another method.
| Method | Setup | Customization | Best for |
|---|---|---|---|
| Google & YouTube app | Easiest | Low | Most merchants |
| Manual tag (Customer Events) | Moderate | High | Custom requirements |
| Google Tag Manager | Moderate | Very high | Multi-tag, advanced |
| Third-party apps | Easy | Varies | Quick setup, extra tools |
Most stores should start with the Google & YouTube app and move to a more custom method only if needs grow.
Avoiding duplicate conversions
Counting the same sale twice corrupts reporting and confuses Google's automated bidding. The rule is to pick one primary method for tracking purchases and stick with it. To keep data clean:
- If importing GA4 conversions into Google Ads, mark only one conversion action as "primary" so bidding uses a single source.
- For any manual implementation, ensure the tag fires once per order — the legacy Liquid approach used
{% if first_time_accessed %}for this; a custom pixel should guard against double-firing similarly. - Pass a unique
transaction_id(the order number) so Google can ignore duplicate purchase events.
The most common cause of doubled conversions is running two methods at once — for example, the app and a manual tag for the same purchase event. Choose one.
Testing and troubleshooting
Tracking is not done until it is verified. Four checks:
- Google Tag Assistant: the Chrome tool shows which tags fire on the order-confirmation page.
- A real test order: run a full checkout (a discount code or test gateway keeps the cost down) to trigger the conversion tag.
- Google Ads reports: check Tools & Settings > Conversions for the test purchase. Google can take up to three hours to show new conversions.
- Browser console: open developer tools on the confirmation page to spot JavaScript errors in the tracking code.
If no conversions appear, confirm the tag is firing, double-check the conversion ID and label for typos, look for duplicate or conflicting tags, and allow up to three hours for processing. Duplicate conversions usually mean two methods are active — remove the extra one. Currency or value problems usually trace to the wrong variable; for multi-currency stores, use Shopify's presentment_money so the customer's selected currency is tracked.
Verification checklist
- Conversion action created in Google Ads (category: Purchase).
- Tag fires only once per order confirmation.
- Order value and currency passed correctly.
- Enhanced conversions enabled if supported.
- Test order appears in Google Ads within three hours.
- No duplicate conversions in reporting.
Advanced features
Once basic tracking is live, several options sharpen accuracy and insight:
- Enhanced conversions: sends hashed first-party data (such as email) to improve attribution, recovering some conversions that cookie restrictions would otherwise miss.
- New-customer acquisition: flags whether an order is from a new or returning customer, useful for customer-acquisition-cost analysis.
- Dynamic conversion value: passes order value, currency, and line-item data for accurate revenue tracking.
- Multi-currency tracking: uses
presentment_moneyso sales in every currency are recorded correctly. - Dynamic remarketing: sends product IDs and cart data so ads can show the exact items a shopper viewed.
Privacy, consent, and best practices
Tracking customer data carries responsibilities. Stores serving regions with strict privacy laws — the EU (GDPR), California (CCPA), and similar — should show a cookie-consent banner and explain data collection in their privacy policy. Shopify includes privacy settings that help with compliance.
Google's tracking tools also require following its User Consent Policy, which calls for clear consent before tracking users in many regions; ignoring it can put a Google Ads account at risk. Enhanced conversions send hashed customer data, so even though the data is hashed, the privacy notice should disclose it. Privacy rules change often, so it is worth revisiting the setup as laws evolve.
Frequently asked questions
Does the Google & YouTube app handle everything automatically?
For most stores, yes. The app injects the necessary code, connects the Google Ads account, and supports enhanced conversions. A test order afterward is still wise to confirm tracking works before making decisions on the data.
Can I track conversions in both GA4 and Google Ads without double-counting?
Yes, as long as the same purchase event is not marked "primary" in both. The common pattern is to make Google Ads native tracking the primary source for Smart Bidding and treat GA4 as secondary for reporting. The mistake to avoid is running both app tracking and a manual tag for the same event.
How long before data shows in Google Ads?
Typically up to three hours after a test purchase. If nothing appears after a full day, recheck the setup against the verification checklist — most issues come down to a missing tag, an incorrect conversion ID, or a browser extension blocking the script.
Next steps
Accurate conversion tracking is the foundation every other Google Ads decision rests on — the method matters less than implementing one method correctly and testing it. First Pier is an ecommerce agency in Portland, Maine that builds and optimizes Shopify storefronts, including ad tracking and conversion-rate work. For help getting tracking set up correctly, get in touch.





.png)
.png)
