Tracking

Tracking purchases when your checkout isn't Shopify's

When checkout moves off Shopify, the Meta, TikTok and Google apps installed in your store keep tracking product views and add-to-cart, but they no longer see checkout and purchase events, because those happen on another page. To keep purchase tracking, something else must send them: the payment provider's own integration, or the checkout itself, ideally from both browser and server with deduplication.

Updated 4 min readBy the NoHold Checkout team
On this page 9

Key takeaways

  • Storefront events keep working; checkout and purchase events must come from the new checkout or the processor.
  • Pick one sender per event per platform. Two senders without shared IDs means double counting.
  • Carry click IDs and UTM parameters from the store into the checkout, or attribution breaks at the handoff.
  • Reconcile ad-platform purchases with real orders for a week after any change.

What keeps working and what stops

Shopify's tracking apps and customer events are built around Shopify's own storefront and checkout. When the shopper clicks Check out and lands on a page that isn't Shopify's checkout, everything before that click is unchanged, and everything after it is invisible to those apps.

PageView, ViewContent
Where it happens
Shopify storefront
Still tracked by your Shopify apps?
Yes
AddToCart
Where it happens
Shopify storefront
Still tracked by your Shopify apps?
Yes
InitiateCheckout / begin_checkout
Where it happens
Custom checkout
Still tracked by your Shopify apps?
No, unless the checkout sends it
AddPaymentInfo / add_payment_info
Where it happens
Custom checkout or payment page
Still tracked by your Shopify apps?
No
Purchase / purchase
Where it happens
Custom checkout or payment page
Still tracked by your Shopify apps?
No, unless the checkout or processor sends it
Post-purchase upsell purchases
Where it happens
After payment
Still tracked by your Shopify apps?
No

The order still appears in Shopify if the checkout creates it there, but ad platforms optimize on the events they receive at the time of the conversion, with the browser and click context attached. An order created in your admin afterward doesn't replace that signal.

Three ways to report the purchase

Processor's integration
How it works
The payment provider fires the purchase pixel on its page
Pros
Little setup; tied to the real payment
Cons
Coverage and data depend on the provider; check which platforms it supports
Checkout sends everything
How it works
The checkout fires browser pixels and server events
Pros
Full control, consistent IDs, server-side coverage
Cons
More configuration; needs consent handling
Server-only from order webhooks
How it works
Your server sends purchases when the order is created
Pros
Robust to ad blockers
Cons
Weaker match without browser context; easy to send late

The handoff: don't lose the click

Attribution depends on identifiers created when the shopper clicked the ad: fbclid for Meta, ttclid for TikTok, gclid for Google, plus the UTM parameters on the landing URL. They live in the store's URL and cookies. When the shopper moves to a checkout on another domain, those values must be passed along explicitly, or every purchase looks like it came from nowhere.

  1. Capture click IDs and UTMs on landing and keep them for the session.
  2. Pass them to the checkout when the shopper clicks Check out.
  3. Pass them on to the payment provider if it fires the purchase.
  4. Store them on the order so you can analyze attribution later from your own data.

Platform-by-platform checklist

Meta

  • Pixel on the checkout and thank-you step, plus Conversions API from the server.
  • Same event_name and event_id on both copies; Meta deduplicates within 48 hours. Details in Meta CAPI deduplication.
  • Send fbc and fbp unhashed, hash email and phone with SHA-256.

TikTok

  • TikTok Pixel plus Events API, both sending the same event and event_id.
  • Pass ttclid from the landing URL. See TikTok Events API.

Google Ads

  • Fire the purchase conversion on the confirmation step with the order ID as transaction ID, so Google can avoid counting the same order twice.
  • Keep gclid from the landing page through the handoff.

GA4

  • Send begin_checkout, add_shipping_info, add_payment_info and purchase with currency, value and items.
  • Use a unique transaction_id per order. See GA4 checkout events.
  • Configure cross-domain measurement if the checkout is on another domain, or sessions split at the handoff.

Choosing an approach

There's no universally right answer; it depends on which platforms you spend on and how much control you need. A few rules of thumb from running stores through external checkouts:

  1. If you spend mainly on one platform and the processor's integration supports it well, start there. Fewer moving parts means fewer double-counting bugs.
  2. If you run Meta and TikTok at meaningful budgets, server-side events with deduplication usually pay for the setup time, because both platforms optimize on the purchase signal.
  3. If you rely on one-click upsells, check who reports the upsell purchase. A processor integration may only see the first payment.
  4. If you sell in the EU or UK, decide where consent is collected before choosing; it changes which events you're allowed to send from the browser.
  5. Whatever you choose, write down which system sends which event to which platform. That one table prevents most tracking incidents.
Storefront events
Meta
Shopify app
TikTok
Shopify app
Google Ads
Shopify app
GA4
Shopify app
Begin checkout
Meta
Checkout
TikTok
Checkout
Google Ads
Not needed
GA4
Checkout
Purchase
Meta
One sender, browser + server
TikTok
One sender, browser + server
Google Ads
One sender
GA4
One sender
Upsell purchase
Meta
Checkout
TikTok
Checkout
Google Ads
Checkout
GA4
Checkout
Example of a sender map. Fill in your own and keep it next to your tracking settings.

If the checkout fires pixels itself, it's the checkout's job to respect consent rules for your shoppers' region. In the EU and UK that generally means asking before setting non-essential tracking cookies. A consent choice made on the store doesn't automatically carry to another domain, so the checkout needs its own banner or a way to receive the store's choice.

Verify for a week after switching

Daily check, hypothetical day:
Orders paid through the custom checkout (from your store): 64
Meta Purchase events received: 63   -> ratio 0.98, healthy
TikTok CompletePayment received: 128 -> ratio 2.0, double counting
GA4 purchases: 41                  -> ratio 0.64, missing events or consent losses

Ratios won't be exactly 1, because of consent refusals, ad blockers and attribution rules, but big gaps in either direction point to a specific sender. Fix one platform at a time. Start with the platform carrying most of your ad spend, because that's where a broken signal costs the most in wasted optimization. A gradual rollout with a traffic split makes this much safer, because a tracking bug affects only a share of orders.

How NoHold Checkout handles tracking

NoHold has two tracking modes, and you pick one per store.

  • Shopify + Whop (default): your existing Meta, TikTok and Google apps keep tracking page views and add-to-cart on the store. The Purchase is sent by Whop's own pixel integration. NoHold sends InitiateCheckout and one-click upsell purchases, passes fbclid and UTM parameters to Whop, and stores them on the Shopify order.
  • NoHold sends everything: NoHold sends Meta Pixel plus Conversions API, TikTok Pixel plus Events API, Google Ads conversions and GA4, from the browser and the server, deduplicated with shared event IDs, with a cookie consent banner on the checkout.

Don't run both for the same platform without checking: if Whop's integration and NoHold both send Purchase to the same pixel with different IDs, you'll double count. See the feature list.

Frequently asked questions

Why did my Shopify pixel apps stop tracking purchases?

If your checkout or payment now happens outside Shopify's checkout, apps that rely on Shopify's checkout events can't see the purchase. Storefront events like product views and add-to-cart still work. Purchase events must be sent by the new checkout or by the payment provider's own integration instead.

Do I need server-side tracking with a custom checkout?

It's strongly recommended. Browser pixels lose events to ad blockers, privacy features and closed tabs, and a cross-domain handoff adds another point of loss. Sending purchases from the server too, deduplicated with the browser copy through shared event IDs, gives ad platforms a more complete signal.

How do I keep attribution when the checkout is on another domain?

Capture the click identifiers and UTM parameters when the shopper lands on your store, pass them to the checkout when they click Check out, forward them to whatever sends the purchase, and store them on the order. For GA4, also set up cross-domain measurement so the session doesn't split.

Sources

  1. Meta for Developers: Handling duplicate Pixel and Conversions API events
  2. Google Ads Help: Use a transaction ID to minimize duplicate conversions
  3. Google Analytics: Measure ecommerce
  4. TikTok Ads Help: About event deduplication

Keep reading