How to Track Conversions in Shopify (2026)

Last updated
Expert reviewed
5 min read
Jacques Blom
Jacques Blom
CTO at Fudge.

Key takeaways

  • Each platform (Shopify, Google Ads, GA4, Meta) requires its own conversion tracking setup.
  • Shopify’s Customer Events API is the recommended way to send conversion data to ad platforms.
  • Shopify’s built-in Analytics reports give you order data without any extra setup.
  • Avoid installing the same pixel in multiple places - duplicate events inflate your reported conversions.

Conversion tracking is what turns your ad spend from a guess into a measurement. Without it, you can’t know which campaigns, keywords, or audiences drive actual purchases. The problem with Shopify is that there are multiple overlapping tracking systems to set up correctly.

This guide walks through the full picture.

Shopify’s built-in conversion tracking

Shopify tracks every order natively. No setup required.

Where to find it: Analytics → Reports → Sales over time, Orders over time, and Conversion rate.

Shopify’s analytics show you:

Limitations: Shopify’s analytics don’t integrate with your ad platforms. You can see that 100 orders happened, but not which ones came from your Google Ads campaign vs. your email list vs. organic search.

For that level of attribution, you need platform-specific tracking.

To measure results, see add google tag manager to shopify.


Google Analytics 4 (GA4) conversion tracking

GA4 tracks the full shopping journey and can attribute purchases to traffic sources.

Setup via Shopify’s native integration:

  1. Go to Online Store → Preferences
  2. Find the Google Analytics section
  3. Enter your GA4 Measurement ID (G-XXXXXXXXXX)
  4. Enable Enhanced Ecommerce

This sends basic purchase data to GA4. For richer ecommerce tracking (product view, add to cart, begin checkout events), use the Google & YouTube Shopify app or set up via Customer Events.

Viewing conversions in GA4: Reports → Monetization → Ecommerce purchases. Shows revenue, transaction count, and item-level data.


For Google Ads to optimize your campaigns toward purchases, it needs to know when a purchase happens.

Recommended method — Customer Events:

  1. Settings → Customer events → Add custom pixel
  2. Write a pixel that listens to checkout_completed and fires the Google Ads conversion via gtag:

To measure results, see create a landing page in shopify.

Related: Capture UTM Values in Shopify Forms.

To measure results, see add a custom conversion element in shopify.

Related: Fix Duplicate Pixel Events in Shopify.

analytics.subscribe('checkout_completed', (event) => {
  const order = event.data.checkout;
  gtag('event', 'conversion', {
    'send_to': 'AW-XXXXXXXXX/XXXXXXXXXXXX',
    'value': parseFloat(order.totalPrice.amount),
    'currency': order.currencyCode,
    'transaction_id': order.order.id
  });
});

Alternative method: Use the Google & YouTube Shopify app (free, by Google). It handles Google Ads conversion tracking and GA4 automatically.


Meta (Facebook) Pixel conversion tracking

Meta Pixel tracks who visits your store and reports purchases back for ad optimization and retargeting.

Setup via Shopify’s Facebook & Instagram app:

  1. Install the Facebook & Instagram app from the Shopify App Store
  2. Connect your Facebook Business Manager account
  3. The app automatically sets up the Meta Pixel and sends purchase events

Or via Customer Events:

  1. Settings → Customer events → Add custom pixel
  2. Add the Meta Pixel base code and listen for checkout_completed
  3. Fire fbq('track', 'Purchase', {...}) with order value and currency

Do not use both methods at the same time. This is the most common cause of duplicate purchase events in Meta Ads Manager.


How to avoid duplicate conversion events

Duplicate events inflate your reported conversions and make ad optimization unreliable. Common causes:

Meta Pixel installed twice: once via the Facebook & Instagram app, once via manual pixel code in theme.liquid. Fix: use only the app, remove manual code.

GA4 tag firing twice: Shopify’s native integration AND a GTM GA4 tag both active. Fix: use one source, disable the other.

The “additional scripts” field in Checkout settings: if you added pixel code here years ago, it may now conflict with a newer integration. Go to Settings → Checkout → scroll to “Order status page” and check for old pixel code.

How to diagnose: use Meta Events Manager → Test Events tab, or GA4’s DebugView. If you see the same event firing twice within milliseconds, you have a duplicate.

Build better Shopify conversion elements with Fudge.
Try Fudge for Free

TikTok, Pinterest, and other ad platforms

The pattern is the same for all ad platforms:

  1. Check if there’s a native Shopify app (TikTok has one, Pinterest has one)
  2. If yes, use the app — it handles pixel installation and purchase event tracking
  3. If no, use Customer Events to install a custom pixel

Always test using the platform’s native testing tools after setup. Don’t assume it’s working just because the pixel is installed.


Attribution: why different platforms show different numbers

Google Ads, Meta, GA4, and Shopify Analytics will each show different conversion numbers for the same time period. This is normal and expected.

Why it happens:

Use Shopify’s native order data as your ground truth. Use ad platform conversions for optimization within each platform’s own interface.

Related: Track Click Events in Shopify.

Related: Track Scroll Events in Shopify.


FAQ

Why do my GA4 and Meta conversion numbers differ from Shopify orders?

Different attribution models, time windows, and counting methods. Each platform claims attribution for clicks/views within its window. Cross-platform conversions are claimed multiple times. Modeled conversions (when actual signal is missing) inflate ad platform totals. Shopify only counts real orders. Treat ad platform numbers as relative-to-themselves, Shopify as ground truth.

Should I trust Shopify's native analytics or the platform pixels more?

Shopify's native analytics for total business performance — orders, revenue, AOV. Platform pixels (Meta, Google Ads) for in-platform optimization decisions — they tell each platform what to optimize toward. Don't expect them to match each other. Reconcile only at high level (total ad spend ROAS), not per-conversion.

How do I track conversions across multiple Shopify sales channels?

Shopify natively tracks orders by sales channel (Online Store, POS, Instagram, Amazon) in Analytics → Reports. For unified attribution across channels, you'd need a third-party tool (Triple Whale, Northbeam) that ingests data from all sources. Native Shopify reports are sufficient for most stores running 2–3 channels.

Will iOS privacy changes affect my Shopify conversion tracking?

Yes. iOS 14.5+ Apple Tracking Transparency reduced Meta's signal accuracy meaningfully, with Google somewhat affected. Shopify's first-party tracking and Customer Events are less affected because they run server-side. Implementing Meta Conversions API (server-side) recovers some of the lost iOS signal — Shopify's Facebook & Instagram app handles this automatically.

Can I track conversions before paid ad purchase (e.g., add to cart)?

Yes — micro-conversion events. Customer Events fires product_added_to_cart, checkout_started, etc. Send these to Meta and Google Ads as custom events to optimize toward earlier funnel signals. Useful when actual purchase volume is too low for ad platforms to optimize against directly.

Jacques's signature
Build conversion-focused Shopify pages by describing them.

You might also be interested in

How to Track Scroll Events in Shopify (2026)
Add scroll depth tracking to your Shopify store. Fire GA4 events at 25%, 50%, 75%, and 100% scroll using GTM or custom JavaScript.
How to Fix Duplicate Pixel Events in Shopify (2026)
Fix duplicate purchase events in Shopify. Find conflicting pixel installations, check Customer Events API vs manual code, and clean up GTM.
How to Add a Custom Conversion Element in Shopify (2026)
Learn how to add countdown timers, urgency bars, trust badges, and sticky CTAs to Shopify — and track their impact on conversions.