Shopify post-purchase upsell: purchase event missing or fires on the wrong page.
- “Shopify post purchase upsell purchase event not firing”
- “Shopify one click upsell GA4 purchase missing”
- “checkout_completed fires on upsell page”
- “Shopify post purchase upsell tracking”
- “Shopify upsell revenue not in GA4”
- “Shopify post purchase offer double counted purchase”
- “purchase event wrong page Shopify upsell”
- “Shopify custom pixel upsell page purchase”
Baris Asa, tracking consultant, London · Last checked: 20 November 2026
With a Shopify post-purchase upsell, the purchase event fires once, on the first upsell offer page, and not again on the Thank you page. If it doesn’t fire there, Shopify’s pixel sends no purchase for that order. The quick check: find a recent upsell order in GA4 DebugView, or in an Explore report filtered to the purchase event, and read its page location. An upsell URL means the event moved, as expected. Missing orders are on file as F-301 , doubled ones as F-101 .If purchases vanished when Additional scripts went, start with Shopify checkout.liquid and Additional Scripts are gone. If every purchase arrives without value or items, that is GA4 purchase events missing items or value.
Which of the four things are you seeing?
| You see | Likely cause | First check |
|---|---|---|
| Purchases on an upsell URL, none on the Thank you page | Event moved to the first offer page (expected) | Page location on the purchase event (GA4 DebugView, or Explore with event name and page location) |
| Purchase event missing for some orders | Buyer left before the first offer page loaded (my reasoning, see below) | Orders in Shopify admin with no GA4 purchase |
| Purchase count right, revenue short | Likely the event fires before the offer is accepted (inference from the timing) | Order total in admin against GA4 value |
| Purchases roughly doubled on upsell orders | The upsell app sends its own purchase | Two purchase requests for one order |
Not sure how to read the last column? The quickest version needs no developer tools. Take ten recent orders that included an upsell. Put the Shopify order total next to the GA4 purchase value for the same order number. The pattern shows in ten rows.
What does Shopify do with the purchase event when there is an upsell?
A post-purchase offer is an extension shown after the payment step and before the Order status page (Shopify: build a post-purchase offer). Shopify’s documentation says checkout_completed fires once per checkout, typically on the Thank you page. For upsells and post purchases it fires on the first upsell offer page instead, and isn’t triggered again on the Thank you page. If the page it should fire on fails to load, it doesn’t fire at all (Shopify: checkout_completed).
That explains most of the table. The “missing for some orders” row is my reasoning from the last sentence: a buyer who pays and closes the tab before the offer renders is the obvious way the page fails. I haven’t seen a Shopify figure for how often.
Does the upsell end up in the revenue figure?
Not by itself, going by when the event fires. Shopify’s extension reference says applyChangeset requests a changeset be applied to the initial purchase and charges the buyer the difference in total price (Shopify: post-purchase extension API). So an accepted offer changes the same order. The pixel event fires on the first offer page, before the buyer has accepted anything, and Shopify doesn’t document whether items added later appear in it. Test it. Don’t guess.
Can the app send a second purchase to cover it?
It can, and that is where doubling comes from. Google says GA4 deduplicates purchases registered with the same transaction ID, and that one ID shouldn’t be used across different users (Google: measure ecommerce). Two things follow, both my reading and not Google’s words.
- An upsell sent as a
purchasewith its own ID adds a second transaction. Revenue is nearer right, order count is one too high. - An upsell sent as a
purchasewith the order’s own ID is deduplicated. Google doesn’t say which copy survives, so the extra value may not arrive.
How do other tools handle the accepted offer?
Elevar’s documentation describes one route. A separate upsell_purchase event fires when the offer is accepted, and its ID is the order ID plus a suffix and a running count, such as -US1, so it never collides with the order. The original purchase is left alone: in Elevar’s setup the standard purchase is its own dataLayer event on the thank-you page, separate from Shopify’s pixel event, and the upsell event is named dl_upsell_purchase there (Elevar: how to track post-purchase upsells). It names Rebuy, CartHook and Zipify as examples. I have no partnership, affiliate or commission arrangement with Elevar or any app named here.
A separate event keeps the order count honest. It also means the upsell value sits in its own event, not inside purchase revenue, so the purchase report alone will still read short.
WeltPixel, which sells server-side tracking, argues that GA4 and Meta have no documented way to add value to a recorded purchase, and that Google Ads can take a conversion adjustment keyed by order ID (WeltPixel write-up). I haven’t verified that against each platform’s own docs, so treat it as one vendor’s view. Server-side tracking protects the base purchase if the offer page fails. It doesn’t by itself report the upsell amount.
Shopify’s webhook reference lists orders/create, orders/edited and orders/updated as topics. That page is the older REST reference, so check the GraphQL topic list before building (Shopify: webhook reference). I haven’t confirmed which of them carries the accepted offer. Check on a test order before building on one.
How do I test it with one order?
You need a test order, a way to pay for it and the upsell app switched on.
- Check the basics first. The custom pixel is connected, you have accepted cookies in this session, and no ad blocker is on. Then open the browser’s network tab (developer tools, F12) and filter to
/g/collectbefore you pay. - Place an order and accept the offer. Note the order number.
- Count purchase requests. One is the clean case. Two means the pixel and the app both send. Zero, with the basics in place, means the pixel didn’t fire on the offer page.
- Read the page location and the
valueon each request. - In GA4, open DebugView and find the purchase. The transaction ID should match whatever ID your tag maps (order ID or order name), and be unique per order.
- Compare the GA4 value with the admin order total, then repeat once with the offer declined.
If the numbers match when you decline and differ when you accept, the cause is the timing above. GTM Preview is limited inside a custom pixel, see GTM in a Shopify custom pixel.
What do I change?
- Wrong URL only. Nothing is broken. Report on the purchase event, not the Thank you URL.
- Revenue short. Put the gap from your test order in pounds next to monthly upsell revenue. If it matters, add the upsell as its own event or a server-side signal from the order record. Routes are in Shopify server-side tracking compared.
- Doubling. Keep one sender per platform, the same rule as in the Google & YouTube app and GTM both send purchase. Switch off the upsell app’s own analytics purchase, or the pixel’s.
- Missing orders. Match admin orders to GA4 purchases for a closed week. A small gap is normal and I haven’t got an official figure for it. A larger, steady shortfall on upsell days is the pattern to look for.
If upsell revenue is a real share of sales and the gap is past a few per cent, this is a measurement job, and it is the one I take on: the Shopify tracking service.
Common questions
Where does the purchase event fire when a Shopify store has a post-purchase upsell?
On the first upsell offer page. Shopify’s documentation says checkout_completed is triggered once per checkout, usually on the Thank you page, and that for upsells and post purchases it is triggered on the first upsell offer page instead. It isn’t triggered again on the Thank you page.
Why is my purchase event missing for some orders when I run an upsell?
Shopify says checkout_completed doesn’t fire if the page it is meant to fire on fails to load. With a post-purchase app that page is the first offer page. A buyer who pays and leaves before it renders can leave an order in Shopify with no GA4 purchase. Compare admin orders with GA4 purchases for a closed week.
Will GA4 revenue include the item the customer added on the upsell?
Shopify doesn’t say. Its documentation doesn’t describe what checkout_completed carries for items accepted after payment. The event fires on the first offer page, before the customer accepts, so test with a real accepted offer and compare the GA4 value with the order total in Shopify admin.
Is an accepted upsell a second order?
Shopify’s extension reference says applyChangeset applies the changes to the initial purchase and charges the buyer the difference in total price. That is one order that grows, not a second one. A tool that sends its own purchase for the upsell is sending a second purchase for the same order. An order can take more than one changeset, but it is still one order.
What happens if the upsell app sends its own GA4 purchase with the same transaction ID?
Google says GA4 deduplicates purchases registered with the same transaction ID. The page doesn’t say which copy is kept, so the extra value may not be added. Don’t rely on a second purchase to top up revenue. Check what the report actually shows.
Why is the purchase page location an upsell URL and not the Thank you page?
Because Shopify fires the event there. It is expected with a post-purchase app, not a bug in your tag. If a report filters on the Thank you URL, filter on the purchase event instead.
Sources
Read on 20 November 2026:
- Shopify developer docs, checkout_completed (once per checkout, first upsell offer page for upsells and post purchases, not triggered again on the Thank you page, not fired if the page fails to load)
- Shopify developer docs, build a post-purchase product offer (offer shown after payment and before the Order status page)
- Shopify developer docs, post-purchase extension points API (applyChangeset applies to the initial purchase and charges the difference)
- Shopify developer docs, webhook reference (topic names only)
- Google Analytics Help, measure ecommerce (purchases with the same transaction ID are deduplicated; ID not shared across users)
- Elevar documentation, how to track post-purchase upsells (separate upsell event, suffixed ID; vendor documentation)
- WeltPixel, post-purchase upsell tracking on Shopify (vendor view, not verified against platform docs)