Shopify Conversion Tracking in 2027: Server-Side Tracking, Google & YouTube App, Stape and the 2026 Changes

Shopify changed how purchase tracking works in 2026. Additional Scripts are gone, script tags are being retired, and Google now receives purchases server-side. Here is how modern Shopify tracking works and how to set it up properly.

In 2026, Shopify and Google changed how purchase tracking works, and many stores lost conversions without noticing. Here is what changed and how to track purchases properly now.

◆ Shopify tracking specialists

We set up and audit Shopify tracking: customer events, server-side tracking, GA4, Google Ads, Meta and more.

Our specialists have worked with Shopify for many years and know how its checkout, pixels and APIs work. We check what your platforms receive, fix gaps and duplicates, and build a setup that respects consent and survives platform changes.

Google & YouTube appGA4Google AdsMeta Conversions APITikTok Events APIStape server-side GTM

Book a tracking audit →

Every advertising decision depends on tracking. If Google Ads, Meta or GA4 see fewer purchases than Shopify, bidding algorithms optimise on incomplete data, good campaigns look weak and budgets go to the wrong places. This guide explains how modern Shopify tracking works and when server-side tracking with tools like Stape makes sense.

Key takeaways

  • Additional Scripts on the Thank you and Order status pages stopped running for Shopify Plus stores on August 28, 2025, and for all other plans on August 26, 2026. Purchase tags pasted there no longer fire.
  • Tracking on Shopify now runs through customer events: app pixels (such as the Google & YouTube and Facebook & Instagram apps) and custom pixels.
  • Script tags can no longer be created or updated from October 1, 2026, and stop running on storefronts on March 1, 2027.
  • Since July 2026, GA4 receives Shopify purchases server-to-server through the Google & YouTube app, with automatic deduplication. Other events still come from the browser.
  • Server-side tracking with server-side Google Tag Manager, for example hosted by Stape, gives more control and covers Meta, TikTok and other platforms, but it needs careful setup.
  • Consent must be respected in every setup, including server-side. In the EU, this means Consent Mode v2 for Google and a proper consent banner.
How a purchase reaches your ad platformsLive process
01CheckoutCustomer completes the order
02Customer eventShopify publishes checkout completed
03PixelsApp and custom pixels receive it
04ConsentOnly allowed data is sent
05ServerOptional sGTM, e.g. hosted on Stape
06PlatformsGA4, Google Ads, Meta, TikTok
07DedupTransaction ID removes doubles

Browser and server events work together. The transaction ID makes sure each order is counted once.

What changed in 2026 for purchase tracking on Shopify

Date Change What it means
August 28, 2025 Additional Scripts, checkout.liquid and script tags stop on the Thank you and Order status pages for Plus Plus stores must track purchases with pixels or apps
January 2026 Remaining Plus stores upgraded automatically Legacy Plus customisations removed
June 30, 2026 Shopify Scripts (Ruby checkout scripts) stop running Checkout logic moves to Shopify Functions; not tracking, but often changed in the same project
July 2026 Google & YouTube app starts sending purchases to GA4 server-to-server Better purchase capture in GA4; check for double counting
August 26, 2026 Additional Scripts and order status script tags stop for all non-Plus stores; pages upgraded automatically Purchase tags pasted in Additional Scripts stop firing
October 1, 2026 Apps can no longer create or update script tags Apps must move to app embeds and web pixels
March 1, 2027 Script tags stop running on storefronts Old tracking apps based on script tags stop working

The most common problem after August 26, 2026 is silent: the store keeps selling, but Google Ads, Meta, affiliate networks or survey tools stop receiving purchases, because their code lived in the Additional Scripts box. The new Thank you page also uses a different URL path, so goals and audiences based on the old thank-you URL may also stop matching.

How tracking works on Shopify today: customer events and pixels

Shopify's checkout and Thank you page no longer allow custom scripts. Instead, Shopify publishes customer events, such as page viewed, product viewed, product added to cart, checkout started, payment info submitted and checkout completed. Pixels subscribe to these events and send them to marketing and analytics platforms.

Type What it is Best for
App pixels Pixels installed by apps such as Google & YouTube, Facebook & Instagram, TikTok or Pinterest The standard setup for each platform, managed by the app
Custom pixels Your own JavaScript added in Settings > Customer events, running in a sandbox GTM, affiliate tags and platforms without an app
Theme code and app embeds Scripts on storefront pages, such as GTM in the theme Storefront events and tools that need the page, not checkout
Server-side events Orders sent from Shopify's backend through apps, webhooks or APIs Reliable purchases, refunds and offline or subscription orders

Custom pixels run in a sandbox, so they cannot read or change the page. They receive event data from Shopify and can load tags such as Google Tag Manager inside the sandbox. This is safer and more stable than old scripts, but it means old tag setups that relied on page elements or global variables must be rebuilt.

The Google & YouTube app: what it does now

  • Google tag and conversions: the app installs the Google tag through Shopify's pixel system and creates purchase and other conversion actions in Google Ads.
  • Enhanced conversions: it can send hashed customer data, such as email, with conversions, which helps Google match more purchases.
  • Server-side purchases to GA4: since July 2026, Google Analytics receives the checkout completed event from Shopify's backend through Google's Data Manager API. It is on by default, and duplicates with the browser purchase are removed automatically using the transaction ID.
  • Merchant Center: the app also syncs products to Google Merchant Center for Shopping and Performance Max campaigns.

This is a big improvement for many small and mid-sized stores, but it has limits. Only the purchase event is sent server-side; product views, add to cart and checkout steps still come from the browser. It covers Google only, not Meta, TikTok or other platforms. Stores that also send purchases through their own GTM setup or another server-side tool can see double counting, and how consent applies to these server events has not been explained in full detail. Disconnecting the GA4 property in the app turns off the whole GA4 connection, not just the server-side part.

Server-side tracking: what it is and why it helps

With browser tracking, each platform's tag runs in the customer's browser and sends data directly to Google, Meta or TikTok. Ad blockers, browser privacy features and short cookie lifetimes block or shorten part of this data. With server-side tracking, events are sent to a server you control first, usually a server-side Google Tag Manager container, and from there to each platform.

Browser tracking Server-side tracking
Where tags run In the customer's browser On your tracking server
Ad blockers and browser limits Often blocked or limited Less affected, especially on your own subdomain
Cookie lifetime Often shortened by browsers First-party cookies set by your server can last longer
Data control Each tag collects what it wants You decide what each platform receives
Data enrichment Limited Add data such as margin or customer type before sending
Page speed Many scripts on the page Fewer scripts in the browser
Setup and cost Simple, usually free Needs hosting, setup and maintenance

Server-side tracking does not replace consent. If a customer declines tracking, the server must respect that choice too. It also does not create data that was never collected; it makes the data you are allowed to collect more complete and more reliable.

Stape and server-side GTM on Shopify

Stape is a popular hosting platform for server-side Google Tag Manager. It also offers a free Shopify app, Stape Conversion Tracking, which makes the setup easier:

  • GTM on the storefront: the app adds the web GTM container to your store pages.
  • Data layer events: it creates e-commerce events, such as view item and add to cart, for GTM to use.
  • Purchase and refund webhooks: it can send order and refund events from Shopify's backend to your server container.
  • Power-ups: features such as a custom loader for GTM and GA4, and Cookie Keeper for longer-lasting cookies, when the server container is hosted on Stape.
  • Prebuilt tags: templates for Google Ads, GA4, Meta Conversions API, TikTok and other platforms in the server container.

Two details matter. First, checkout and Thank you pages run in Shopify's sandbox, so the storefront GTM snippet cannot run there; checkout events must come from a custom pixel or from webhooks. Second, Shopify webhooks do not include browser cookies, which platforms use to connect a purchase to an ad click. Stape itself recommends using webhooks as a secondary source, for example for offline, phone or subscription orders, with the browser and pixel events as the main source.

Which tracking setup is right for your store

Store situationRecommended setup
Small store, mainly Google adsGoogle & YouTube app with enhanced conversions, plus Consent Mode v2
Google and Meta adsGoogle & YouTube app plus Facebook & Instagram app with Conversions API at maximum data sharing
Several ad platforms and affiliatesCustom pixel with GTM, plus server-side GTM for Meta, TikTok and others
Subscriptions, phone or offline ordersServer-side GTM with purchase webhooks for orders that never pass the online checkout
High ad spend and strict data needsFull server-side setup on your own subdomain, with data enrichment and monitoring
Headless storeServer-side events from the backend plus browser events from the custom frontend

Meta, TikTok and other platforms

Meta (Facebook and Instagram)

The Facebook & Instagram app sends events through the Meta pixel and the Conversions API. Setting customer data sharing to the highest level that your consent setup allows improves event match quality. Stores that need more control send Meta events through server-side GTM instead, but then the app's own tracking must be adjusted to avoid double counting.

TikTok, Pinterest and Snapchat

These platforms have their own Shopify apps with pixels and server-side events. For stores using several of them, server-side GTM keeps all platforms in one place, with the same data, consent rules and deduplication.

Affiliates and other tools

Affiliate networks, survey tools and influencer platforms often relied on Additional Scripts. They now need an app, an app block on the Thank you page, or a custom pixel. Check every tool that used to load on the Thank you page.

Consent and privacy

  • Consent banner: use Shopify's customer privacy banner or a consent app that works with Shopify's Customer Privacy API.
  • Consent Mode v2: required for Google advertising features for visitors in the EEA. Consent defaults and updates must reach the Google tag in pixels and GTM.
  • Pixels follow consent: Shopify only fires pixels according to the customer's choice and each pixel's permission settings.
  • Server-side follows consent too: the server container must check consent before sending data to each platform.
  • Send only what is needed: hash personal data such as email and phone, and do not send more than each platform needs.

Deduplication: counting each order once

Modern setups send the same purchase from more than one source, for example the browser and the server. Platforms remove duplicates when both events share the same ID:

PlatformHow duplicates are removed
GA4The same transaction ID
Google AdsThe same transaction or order ID on the conversion
MetaThe same event name and event ID in the pixel and the Conversions API
TikTokThe same event ID in the pixel and the Events API

Use the Shopify order ID or order number consistently in every source. The most common double counting problem in 2026 is a store that has the Google & YouTube app sending purchases and an old GTM purchase tag sending them again with a different ID.

How to check if your tracking works

  1. Compare orders in Shopify with purchases in GA4, Google Ads and Meta for the same period, and look at the size of the gap and whether it is stable.
  2. Place a test order and check it in GA4 DebugView, Google Tag Assistant, Meta Events Manager test events and the server container preview.
  3. Check Settings > Customer events in Shopify: which app pixels and custom pixels are connected, and their permissions.
  4. Look for old code: tags in the theme, old apps based on script tags and anything left in the Additional Scripts field.
  5. Check that purchase values, currency, tax and shipping are sent the way your reports expect.
  6. Accept and decline consent and confirm that tags behave correctly in both cases.
  7. Check that refunds reduce revenue where your platforms support it.

Common tracking mistakes on Shopify

MistakeWhat happens
Tags left in Additional ScriptsPurchases stopped reaching platforms after the August 2026 upgrade.
Two sources without the same IDPurchases are counted twice and ROAS looks better than it is.
GTM in a custom pixel and the theme without a planSome events fire twice, others never fire.
Goals based on the old thank-you URLConversions stop matching after the new Thank you page goes live.
Consent ignored on the serverData is sent without permission, which creates legal risk.
Webhooks used as the only sourcePurchases arrive without click IDs and cookies, so attribution is weak.
Wrong valuesRevenue includes or excludes tax and shipping inconsistently between platforms.
No monitoringTracking breaks after an app update and nobody notices for weeks.

Our tracking setup process

  1. Audit: what is installed today, what each platform receives and how big the gaps and duplicates are.
  2. Plan: which events, platforms, consent rules and IDs you need, and whether server-side tracking is worth it.
  3. Clean up: remove old tags, script tag apps and duplicate pixels.
  4. Build: app pixels, custom pixels, GTM and server-side GTM, for example on Stape, with your own tracking subdomain.
  5. Consent: banner, Customer Privacy API and Consent Mode v2 connected to every tag.
  6. Test: real orders, refunds, consent choices and every platform's debug tools.
  7. Monitor: regular checks of the Shopify versus platform gap and alerts when it changes.

Why merchants choose us for Shopify tracking

Tracking sits between the checkout, apps, consent and ad platforms, so it breaks easily when one of them changes. Our specialists have worked with Shopify for many years and know where tracking fails:

  • Up to date with Shopify changes: customer events, checkout extensibility, script tag and Additional Scripts deprecations.
  • All platforms together: GA4, Google Ads, Meta, TikTok, Pinterest and affiliates with one consistent data model.
  • Server-side when it makes sense: we recommend the simplest setup that gives reliable data.
  • Consent and privacy built in: Consent Mode v2, Customer Privacy API and minimal data sharing.
  • Clean numbers: deduplication, correct values and a stable gap between Shopify and your platforms.

FAQ

My Google Ads or Meta purchases dropped after August 2026. Why?

The most likely reason is that purchase tags were in the Additional Scripts box, which stopped running on August 26, 2026 for non-Plus stores. Move tracking to app pixels or a custom pixel, and check goals that use the thank-you URL.

Do I still need server-side tracking if I use the Google & YouTube app?

For many small stores that mainly advertise on Google, the app's server-side purchases are enough. Server-side GTM makes sense when you advertise on several platforms, need full control of the data, run subscriptions or offline sales, or want to enrich events.

Is server-side tracking legal under GDPR?

Yes, when it respects consent. Server-side tracking must follow the same consent choices as browser tracking. It can even help privacy, because you control exactly what each platform receives.

Why do Shopify and GA4 never show exactly the same numbers?

They count differently: consent, time zones, refunds, test orders, attribution models and blocked events all create differences. The goal is a small, stable gap, not a perfect match.

Is Stape the only option?

No. Server-side GTM can also be hosted on Google Cloud or other providers, and there are Shopify apps that send purchases server-side to Google and Meta without GTM. Stape is popular because it makes hosting and setup easier.

Not sure your tracking is correct? We audit and set up Shopify tracking: customer events, GA4, Google Ads, Meta, TikTok and server-side GTM, with consent and deduplication handled properly. Book a free consultation.

Share LinkedIn X
Ihor Hrybeniuk

Ihor Hrybeniuk

eCommerce Solutions Architect (Shopify) with 10+ years of hands-on experience building complex Shopify and Shopify Plus solutions: custom apps, integrations, marketplaces and high-performance storefronts. Founder of Ecom Novo and creator of the Kolo app.

Keep reading

Let's talk

Need an expert to implement this?

Tell us what you're working on. You'll get a senior engineer's view on the best approach, usually within one business day.

Free 30-minute call Reply within 1 business day NDA on request