GTM 'Once per page' breaking post-purchase upsell data

Learn why setting purchase tags to Once per page in Google Tag Manager misses one-click post-purchase upsell orders and how to track multi-step checkouts.

We recently investigated an eCommerce store where reported Google Ads conversion value fell nearly twenty percent short of backend order receipts, caused by a single setting under Google Tag Manager Advanced Settings.

The merchant had configured their primary purchase conversion tag with the tag firing option set to "Once per page". The previous agency implemented this setting to stop customers from generating duplicate purchase events whenever they refreshed their order confirmation screen. While that setting appeared to prevent refresh duplication on standard checkouts, it completely broke tracking when the merchant introduced one-click post-purchase upsell offers.

Modern eCommerce platforms such as Shopify and WooCommerce no longer treat the checkout as a single, static pageview. When a buyer completes their primary order and accepts a subsequent post-purchase offer, the application processes the secondary transaction within the same browser session. If your conversion tag is restricted to firing once per page, Google Tag Manager ignores the upsell transaction, erasing high-margin revenue from your advertising reports.

The mechanics of tag firing options in Google Tag Manager

Google Tag Manager provides three distinct tag firing options under the Advanced Settings dropdown for every tag: "Unlimited", "Once per event", and "Once per page".

"Once per event" is the default setting. It instructs Google Tag Manager that the tag may fire once for every individual event pushed to the dataLayer that meets the trigger criteria. If three distinct purchase events occur during a customer visit, the tag executes three separate times.

"Once per page" operates under a far more aggressive restriction. When selected, Google Tag Manager keeps an internal state boolean for that specific tag during the current Document Object Model lifecycle. The very first time the trigger conditions evaluate to true, the tag fires. From that moment forward, Google Tag Manager locks the tag. Even if the dataLayer receives subsequent purchase events with distinct order IDs and fresh transaction totals, Google Tag Manager blocks the tag from executing again until the visitor performs a hard navigation to a new URL.

"Unlimited" permits the tag to execute multiple times even within the evaluation of a single event, which is rarely needed for conversion tags and creates significant risk of duplicate event dispatch if trigger conditions overlap.

The commercial consequence of suppressed upsell revenue

Post-purchase upsells are among the highest-margin transactions an eCommerce business generates. Because customer card details are already vaulted from the initial checkout step, buyers can accept an add-on item with a single click.

When your conversion tracking drops these upsell transactions, your advertising platforms receive an artificially depressed view of customer value. Google Ads Smart Bidding algorithms determine bids based on reported return on ad spend. If a campaign brings in an initial £80 order followed by a £35 post-purchase upsell, the actual customer value is £115. When the tag firing setting drops the £35 addition, Google Ads records only £80.

Over hundreds of orders, this discrepancy trains bidding algorithms to undervalue your best-performing audiences and keywords. You scale down ad spend on campaigns that are actually profitable because the reported figures mask the true commercial return.

Customer Journey StageUser Transaction ActionDataLayer EventGTM Tag Firing SettingAttribution & Revenue Recorded
Initial checkout completionBuys £80 jacketpurchase (Order #1001, £80)Fires on purchase event£80 attributed to Google Ads
Post-purchase upsell 1Accepts £20 waterproofing spraypurchase (Order #1001-A, £20)Blocked by "Once per page"£0 attributed (missed £20)
Post-purchase upsell 2Accepts £15 boot sockspurchase (Order #1001-B, £15)Blocked by "Once per page"£0 attributed (missed £15)
Order status page refreshRefreshes browser screenCached confirmationBlocked by transaction ID check£0 (correctly deduplicated)
Combined basket total3 distinct transactions completed£115 net order revenue2 of 3 events suppressed£35 (30.4%) untracked revenue gap

(The figures above illustrate a live tracking audit for a retailer using single-page upsell funnels.)

How multi-step upsells interact with the browser DOM

To understand why "Once per page" fails, you have to examine how modern checkout applications structure the post-purchase sequence.

When a customer enters payment information on the main checkout step, the store processes the initial transaction and immediately renders the post-purchase offer screen. In modern headless setups and single-page checkout architectures, this transition does not trigger a full browser reload. The application updates the view dynamically using JavaScript while preserving the underlying DOM session.

When the customer accepts the upsell, the app calls the payment gateway API in the background. Once the charge succeeds, the application pushes a second purchase event into the dataLayer. This payload contains the unique upsell order reference and the additional item details.

Because the browser never navigated to a fresh web page, Google Tag Manager considers the original page lifecycle to be ongoing. The container sees the second purchase event, checks its internal firing register, observes that the tag was already fired for the initial order, and terminates execution. The secondary purchase event never leaves the browser.

GTM Tag Firing OptionEvent Trigger BehaviourUpsell Funnel CompatibilityRisk Profile & Practical Application
Once per pageFires once per DOM lifecycle; ignores subsequent dataLayer eventsIncompatible with single-page and post-purchase upsellsSuppresses legitimate secondary transactions; only suitable for static global pixels
Once per event (Default)Fires once per matching dataLayer event pushFully compatible with sequential post-purchase ordersStandard configuration; requires backend transaction ID deduplication
UnlimitedFires every time trigger conditions match within an eventFully compatible, but dangerous if triggers overlapHigh risk of duplicate event dispatch if trigger matches multiple criteria

How we configure robust eCommerce transaction tracking

We address duplicate order tracking at the data layer and platform level rather than relying on blunt container firing restrictions.

First, we set all commercial conversion tags to "Once per event". This ensures that every legitimate transaction event pushed to the dataLayer has the opportunity to execute and dispatch its payload to Google Ads, Meta, and GA4.

Second, to protect against page refreshes, we implement robust transaction deduplication. In Google Ads and GA4, providing a unique transaction_id parameter on every purchase payload ensures that if a customer reloads the final thank-you page hours later, the advertising platforms recognise the duplicate transaction ID and discard the second payload automatically.

Third, for platforms where order IDs are reused during upsells, we work with your engineering team to ensure the dataLayer pushes distinct transaction identifiers for parent orders and child upsells (such as appending -upsell to the order reference). This maintains clean accounting records across your warehouse, payment gateway, and advertising accounts.

To review how we structure tracking architectures for growing stores, explore our eCommerce conversion tracking services. You can also read our technical teardowns on Shopify checkout extensibility custom pixels and how to safely update inherited GTM containers.

Frequently asked questions

What is the difference between Once per page and Once per event in GTM?

"Once per event" allows a tag to fire each time a matching dataLayer event occurs, even if multiple events happen on the same web page. "Once per page" restricts the tag to firing a single time during the entire lifetime of the loaded document, ignoring any subsequent triggering events until the page is fully reloaded.

Why do post-purchase upsells fail to track in Google Ads?

Post-purchase upsells fail to track in Google Ads when the conversion tag is configured to fire "Once per page" instead of "Once per event". Because one-click upsells execute within the same single-page session as the initial purchase, Google Tag Manager blocks the secondary transaction event from firing the tag again.

How do I stop duplicate purchase events without using Once per page?

You prevent duplicate purchase events by passing a unique transaction_id with every purchase payload into Google Analytics and Google Ads. Advertising and analytics platforms use this identifier to automatically deduplicate repeated events if a buyer reloads their order status screen. You can also write a small session storage check in your frontend to suppress the dataLayer push if that transaction ID was already handled in the current session.

Should GA4 purchase tags be set to Once per page?

No, GA4 purchase tags should always be set to "Once per event". Setting a GA4 purchase tag to "Once per page" prevents GA4 from capturing secondary orders, post-purchase add-ons, and multi-step transactions that occur on single-page applications.

Can an upsell app create a separate transaction ID?

Yes, well-designed upsell applications generate a distinct transaction ID for post-purchase offers, often appending a suffix like -1 or -upsell to the primary order number. Passing a distinct transaction identifier ensures that Google Ads, Meta, and GA4 record the additional revenue as a valid conversion without conflicting with the initial order deduplication rules.