How Free Gifts and Buy-One-Get-One Deals Show Up in GA4 and Ad Platform Revenue on Shopify

|Dan Giura
How Free Gifts and Buy-One-Get-One Deals Show Up in GA4 and Ad Platform Revenue on Shopify

TL;DR

A free gift reaches GA4 as an ordinary line. The app has no gift setting and doesn't treat the line specially. What differs is where you read it: the checkout steps list a partly discounted line after line-level discounts, the purchase lists every line before discounts, and the purchase value on every destination is the order total. Ad platforms receive that value, so the gift can't raise it. GA4 item reports are where the gift shows up as sold. One test order, read in the Shopify admin and in DebugView, tells you which of three order shapes you have.

Key Takeaways

  • A Shopify free gift with purchase can sit on the order as a discounted full-price line, a product priced 0, or a price a gift app wrote. The offer's name doesn't tell you which.
  • The purchase's item list carries each line's price before discounts [5]. A fully discounted gift therefore adds its full price to GA4 item revenue and one unit to items purchased [7].
  • Before the purchase, the GA4 checkout events list a partly discounted line at its price after line-level discounts. A fully free gift reads its own price there, as on the purchase.
  • The purchase value is the order total Shopify records, on every destination. Google Ads receives that total and no items.
  • Meta, TikTok and Google Ads don't document what they do with item prices that don't add up to value.
  • Test with Advanced Settings > Google Analytics 4 Settings > Enable Debug Mode, one real storefront order with the gift, and GA4 DebugView.

What does a free gift look like on the order?

Shopify's Help Center describes the Shopify Buy X Get Y discount: the "get" item can be free, a percentage off or an amount off, and it's never added to the cart automatically, so the shopper adds it [1]. The same page says nothing about how the gifted line is written on the order [1]. Shopify's developer reference for the automatic version splits the offer into what the customer buys and what the customer gets, and says nothing about the order line [4]. The report that shows which offer ran is in the guide to which discount codes drove your Black Friday sales.

The word "free" can mean three different things on a Shopify free gift with purchase order, and the offer name won't tell you which:

  1. A full-price line with a 100% allocation. The gift is listed at its normal price and a discount cancels it.
  2. A product priced 0. The line itself says 0.
  3. A price set by a gift app. Whatever that app wrote on the line. We won't guess at app behavior here.

Shopify's Admin API shows why reading the line matters. A line's original unit price is "the unit price of the line item when the order was created" and "doesn't include discounts" [3]. Its discounted unit price "includes line-level discounts" but "doesn't include order-level or code-based discounts" [3]. A third field lists the discounts "allocated to the line item by discount applications" [3]. Those can disagree for one line, and Shopify Help doesn't say which of them a Buy X Get Y gift lands in. Open the order, find the gift line, and write down its price, the discount shown against it and its quantity.

A Shopify BOGO deal on two of the same product works the same way: the shopper adds both, and you read the order's line or lines for that product, with the quantity and the discount shown against each. A line with no usable product identifier, such as a custom line, is dropped by most destinations, which the guide to what bundles and shipping protection do to purchase events walks through.

What does GA4 record for the gift line at purchase?

An illustrative shopper buys an $80 jacket and adds a $24 tote that a 100% Buy X Get Y makes free. Leave tax and shipping out so the arithmetic stays readable. Shopify records an order total of $80.

The purchase is sent from the Shopify order itself, not from the browser. Each item row carries the line's price before discounts, which is how Shopify's REST reference defines a line's price: "the price of the item before discounts have been applied" [5]. So the purchase event for this order lists the jacket at $80 and the tote at $24. The item prices add up to $104. The event's value is $80, because that's the order total.

Where you read it Jacket line Gift line
Shopify order $80 $24 listed, fully discounted
begin_checkout item rows $80 $24 when fully discounted
purchase item rows $80 $24

What GA4 does next is Google's arithmetic. Item revenue is price times quantity, less refunds [7]. The tote contributes $24 of item revenue, and items purchased, which counts units of an item in purchase events, goes up by one [7]. Google's own guidance for an item that was discounted is to set its price to the discounted unit price [6]. The app's purchase rows carry the line price before discounts, so a fully discounted gift reads as sold at full price in item reports. In the illustrative order, GA4's item view says $104 of product moved while the order brought in $80.

If the gift had been shape two, a product priced 0, the same formula adds $0. Whether GA4 treats a price-0 item differently in any report isn't documented on the pages we read [7], so check the report you use rather than assume.

The guide to why products can lose money at a good ROAS works through the same pre-discount mechanism for discount codes. A gift is that case at its extreme: a line discounted by its whole price.

The checkout steps read a different price

The browser events before the purchase use a different field. Shopify's Web Pixels reference defines a checkout line's final price as "the combined price of all of the items in the line item after line-level discounts have been applied" [2]. The page adds that this property is only available if the shop has upgraded to Checkout Extensibility [2]. The app's begin_checkout, add_shipping_info and add_payment_info events for GA4 list each line at that price when it's above 0. A line discounted to 0 is listed at the product's own price instead, the figure the purchase also carries. So a fully free gift reads $24 at every step, while a single "get" item at 50% off reads lower at the checkout steps than on the purchase.

The other platforms' checkout events list the product's own price before discounts.

Does a gift change the revenue your ad platforms see?

The purchase value is the order total Shopify records, on every destination the app sends to, and a gift can't raise it. In the illustrative order that's $80 whatever the tote's price is. How tax and shipping fit into that total is covered in the guide to purchase value, tax and shipping.

The free plan sends GA4 only [11], up to 100 storefront orders a month. Plus is $39/month with no order limit [11], adds the other ten integrations, and also sends admin, POS and draft orders. On a destination that takes line items, the item list holds the gift at the line price before discounts.

Google Ads is the exception. It receives the order total as the conversion value and none of the items. Its API reference has a cart data field, and the app doesn't fill it [10].

What the platforms do with an item list that sums to $104 beside a value of $80 isn't documented where we looked:

  • Meta's Pixel reference requires a currency and a value, and requires only an id and a quantity per content item [9]. Its Conversions API reference says value must be a monetary amount and lists item_price among the content fields [8]. Neither says value has to match the item prices [8][9].
  • TikTok's standard events page describes Purchase and recommended parameters, and doesn't say how value relates to the content prices [12].
  • Google's conversion upload reference describes the value as the value of the conversion for the advertiser and has no note on zero values [10].

What you can say is narrower: the conversion value each platform receives is the order total, and that's the number to reconcile against Shopify.

How do you check a Shopify gift with purchase offer before Black Friday?

You need one real storefront order, because the checkout events only fire in a storefront checkout. We haven't run this offer on a live store, which is the reason the check is yours.

  1. Turn on debug. In the app, go to Advanced Settings > Google Analytics 4 Settings > Enable Debug Mode. It puts debug mode on both the browser events and the server purchase. Turn it off when you're done.
  2. Place the order. Add the qualifying product and the gift, and go through to the end of checkout with a normal storefront checkout.
  3. Read the Shopify order. For the gift line, note the price, the discount shown against it, the quantity and the order total. Then write down which of the three shapes you have.
  4. Open DebugView. The DebugView guide covers opening it. Click begin_checkout, read the gift item's price, and do the same on purchase.
  5. Do the sum. On the purchase, add up the item prices times quantities and compare the result with value. The gap is the discount, plus any tax and shipping effects. If a partly discounted gift read lower at begin_checkout than at purchase, you've seen the two-field behavior above.
  6. Look at the ad platforms. On Plus, enter a test event code under Advanced Settings > Meta Settings > Test Event Code (Optional), then compare value with the content prices on the purchase in Meta's Test Events tab. Google Ads shows the value only.

Write down three numbers when you finish: the gift line's price in Shopify, its price on begin_checkout, and its price on purchase. The purchase price tells you what item revenue will credit the gift; the other two show where it changed. The BFCM readiness checklist has the other tracking checks to run before the offer goes live, and the guide to GA4's recommended ecommerce events lists what each event carries if you want the item fields side by side.

Where the fix lives

Nothing in the app strips or flags a gift line, and there's no setting that leaves one out of the item list. If you'd prefer GA4 item revenue not to credit the gift, the lever is how the offer writes the line. A product priced 0 contributes $0 by Google's formula [7]. That's a catalog decision with consequences beyond tracking, so make it for the offer's sake first.

FAQ

Does the free plan send orders with a gift?

Yes, a storefront order with a gift is an ordinary storefront order. It goes to GA4, the only destination on the free plan, within the 100 storefront orders a month [11].

Will a gift raise the conversion value my ad platforms receive?

The value sent is the order total after the discount, so the gift's price isn't added to it. The gift's price does sit in the item list on destinations that take items, and Google Ads gets none.

What if the whole order is free?

It's still sent. GA4 receives a value of 0, with the gift lines at their price before discounts.

Is a Shopify BOGO deal handled differently from a free gift?

No. The app reads each line the same way either way. What differs is the price, quantity and discount the order shows on the line, which you read on the order.

Send the gifted order as the order says

WeltPixel Conversion Tracking sends each purchase from the Shopify order, with the order total as value. Place one test order with your gift, read the gift line's price and discount in the Shopify order, then compare it with the begin_checkout and purchase item rows in DebugView before the offer goes live. Plus is $39/month and also sends admin, POS and draft orders.

Sources

  1. Shopify Help Center, "Buy X Get Y discounts", help.shopify.com/en/manual/discounts/discount-types/buy-x-get-y, accessed November 3, 2026
  2. Shopify developer documentation, Web Pixels API standard event checkout_completed (finalLinePrice, DiscountAllocation), shopify.dev/docs/api/web-pixels-api/standard-events/checkout_completed, accessed November 3, 2026
  3. Shopify developer documentation, GraphQL Admin API LineItem object, shopify.dev/docs/api/admin-graphql/latest/objects/LineItem, accessed November 3, 2026
  4. Shopify developer documentation, GraphQL Admin API DiscountAutomaticBxgy object, shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticBxgy, accessed November 3, 2026
  5. Shopify developer documentation, REST Admin API Order resource (line item price), shopify.dev/docs/api/admin-rest/latest/resources/order, accessed November 3, 2026
  6. Google Analytics developer guide, GA4 event reference (purchase, item price), developers.google.com/analytics/devguides/collection/ga4/reference/events, accessed November 3, 2026
  7. Google Analytics Help, "Analytics dimensions and metrics" (item revenue, items purchased), support.google.com/analytics/answer/9143382, accessed November 3, 2026
  8. Meta for Developers, Conversions API custom_data parameters, developers.facebook.com/docs/marketing-api/conversions-api/parameters/custom-data, accessed November 3, 2026
  9. Meta for Developers, Meta Pixel reference (Purchase), developers.facebook.com/docs/meta-pixel/reference, accessed November 3, 2026
  10. Google Ads API reference, ClickConversion (conversion_value, cart_data), developers.google.com/google-ads/api/reference/rpc/v21/ClickConversion, accessed November 3, 2026
  11. WeltPixel Conversion Tracking, Shopify App Store listing (free plan GA4 up to 100 orders a month; Plus $39/month), apps.shopify.com/weltpixel-conversion-tracking, accessed November 3, 2026
  12. TikTok Ads Manager Help Center, "Standard Events and Parameters", ads.tiktok.com/help/article/standard-events-parameters, accessed November 3, 2026

Ready to upgrade your tracking?

Server-side tracking for Magento and Shopify: more of your conversions reach GA4 and your ad platforms, with better attribution.