klickbeetracking
Setup guides

Shopify conversion tracking for Google Ads and Meta

Published November 5, 2026

How to track purchases from Google Ads and Meta on Shopify: the two official apps, custom pixels, server-side options and what consent changes.

The simplest way to track Google Ads and Meta conversions on Shopify is to use each platform's own sales channel app: Google & YouTube for Google Ads, Facebook & Instagram for Meta. They send the purchase event for you, with no theme code. Custom pixels are the fallback when an app does not fit, and the main thing to avoid is tracking the same purchase twice.

What changed on the Shopify thank-you page?

Many older tutorials tell you to paste a conversion snippet into "Additional scripts" in the checkout settings. That no longer works. Shopify's own documentation says that as of August 28, 2025, the additional scripts section in checkout settings is view-only and can no longer be edited. You can read the details on Shopify's Thank you and Order status page upgrade guide.

The replacements Shopify points to are blocks, web pixels and app pixels. In practice that means two routes for ad tracking: the official apps, which install their own pixels, or a custom pixel you write yourself.

How do you set up Google Ads conversion tracking on Shopify?

Google's help center describes five steps for the Google & YouTube app:

  1. Install the Google & YouTube app from the Shopify App Store and connect your Google account.
  2. Connect a Google Ads account, or skip the connection if you prefer to map events manually.
  3. Under "Measure conversions", confirm which Shopify events go to which conversion action. You can create a new action, pick an existing one, or leave an event out.
  4. Confirm the Google tags and complete the setup.
  5. Verify that campaigns bid on the new conversion action and that the tags fire.

Two details matter. First, the app directly links a single Google Ads account. If you manage several accounts, Google says to skip the connection and set the extra accounts up manually with conversion IDs and labels. Second, enhanced conversions are optional. You turn them on in the app settings and agree to Google's customer data terms.

If a Google Ads conversion count looks wrong afterwards, our 12 checks for Google Ads conversion tracking walk through the usual causes.

How do you set up Meta tracking on Shopify?

Use the Facebook & Instagram sales channel. Shopify's data sharing page describes three levels, under Sales channels, Facebook & Instagram, Settings, Data sharing settings:

  • Standard uses the Meta pixel only. Shopify notes that a browser-based ad blocker can stop the pixel from sharing data.
  • Enhanced adds the Conversions API, so the purchase event also goes from server to server. It shares name, location, email address and phone number along with browsing behavior.
  • Maximum uses the Conversions API and the pixel, with Facebook's latest advertising technology, and shares the same personal data.

Enhanced or Maximum is what gives Meta a server-side copy of the purchase. Shopify also tells merchants to keep their privacy policy current and to explain how data is shared with customers.

When do you need a custom pixel?

A custom pixel is for events no app covers, or for a platform without a sales channel. You add it in Settings, Customer events, then Add pixel, paste the code and connect it. Shopify's custom pixel documentation gives the key limits:

  • Custom pixels run in a sandbox, so not everything a normal script can do will work.
  • The code is JavaScript only. Strip any HTML tags from a vendor snippet.
  • Shopify describes adding and using custom pixels as unsupported by Shopify, so you test it yourself.

Shopify's own example subscribes to the checkout_completed event and calls the Meta pixel's Purchase event. If you already run the Facebook & Instagram app, that would send a second Purchase. Pick one source per platform.

How do you avoid double counting?

Duplicates are the most common Shopify tracking fault. Google warns about it directly: when you move to the app, set the app's conversion as primary and remove legacy tags, and check for duplicates if conversions exist both in the app and in a storefront or custom pixel. Meta's side is similar: if you edited theme code to add a pixel, remove it before connecting the app.

A quick audit:

  • List every place a Purchase or conversion tag could live: sales channel apps, custom pixels, theme code, Google Tag Manager.
  • Keep one source per platform.
  • Place a test order and compare the count in Google Ads and Events Manager with the order in Shopify.
  • Use Google Tag Assistant on the thank-you page to see what actually fires.

What does consent change?

Shopify's custom pixel documentation says that in consent markets such as the EEA and UK, web pixels run only when visitors have given the required permissions. A visitor who refuses cookies is therefore often missing from your ad platform numbers, and that is expected. Google's guide also reminds you to get consent where it is legally required.

Where does server-side sending fit in?

The Meta route above already includes a server-side option through Enhanced or Maximum. For Google Ads, the Google & YouTube app handles the storefront side. If you want a separate record of which goal was reached, and a way to see why a conversion was or was not sent, you can add a tool that does this independently of the Shopify apps.

Klickbee Tracking installs with a script tag or the npm package, as described in our Shopify install guide. On the Pro plan, a goal reached on your site is sent to the Meta Conversions API and to Google Ads through the Data Manager API. No consent means no conversion: a visitor who refused or did not answer is never sent, and the conversion debugger shows each delivery and why one was skipped. See server-side conversions and the conversions help page. Whether it fits your checkout depends on your setup, so test it before relying on it.

This is general information, not legal advice. Your consent obligations depend on your country and your store's setup.

You can try Klickbee on the free plan by creating an account.

FAQ

Can I still paste a Google Ads snippet in Additional scripts?

No. Shopify states that the additional scripts section in checkout settings has been view-only since August 28, 2025, so you cannot edit it. Use the Google & YouTube app or a custom pixel instead.

Do I need both the Google & YouTube app and a custom pixel?

Usually not. Running both for the same purchase risks double counting, which Google specifically warns about. Start with the app and add a custom pixel only for an event the app does not send.

Why do Meta and Shopify show different purchase numbers?

Common causes are visitors who refused consent, ad blockers on the Standard level, duplicate pixels, and different attribution windows. Moving to Enhanced adds a server-side copy of the purchase, which helps with the first two causes only when consent allows it.

Does this replace the platform apps?

No. It is a separate tool installed with a script tag or npm, and there is nothing to install from the Shopify App Store. It can complement the platform apps by sending goal conversions server-side on the Pro plan, only for visitors who gave consent.

← All articles