Exclude B2B orders from your conversions
Filter wholesale and B2B purchases out of the events so that the algorithms optimize for DTC buyers only.
Last updated
Was this helpful?
Filter wholesale and B2B purchases out of the events so that the algorithms optimize for DTC buyers only.
A filter that stops wholesale and B2B orders from reaching a destination as purchase events.
B2B buyers arrive through direct sales relationships, not your campaigns. Their custom pricing and large order values skew ad optimization, value-based bidding, and your conversion benchmarks. Filtering them keeps the purchase signal DTC-only.
B2B or wholesale orders flowing through your Shopify store
At least one Littledata destination connected, for example Meta Conversions API, Google Ads, or Google Analytics
Access to the Event Editor in the Littledata app
The steps are the same for every destination.
In the destination's Events tab, open the three-dot menu on the purchase event and select Edit.
The event name is different across destinations: Purchase in Meta, purchase in GA4, Placed Order in Klaviyo.
This is where the event's conditions live. With no conditions, the event is sent for every order; once you add conditions, it's only sent when they match. See Filter events with trigger conditions.
Add a condition that rules out orders marked as B2B:
Tagged orders
properties.tags
does not contain
wholesale
See Trigger conditions for the available fields and operators.
Meta: no setup change needed in Meta itself. Expect average order value and ROAS to shift as wholesale pricing leaves the data; that is the correction working. Lookalikes seeded from purchasers no longer include wholesale buyers.
Google Ads: apply the same conditions to the Google Ads connection so value-based bidding optimizes on DTC revenue only.
GA4: this setup removes B2B revenue from GA4 reports entirely. If you still want that revenue visible, create a separate b2b_purchase event instead (see below).
Klaviyo: apply the same conditions to Placed Order so wholesale buyers don't enter your DTC post-purchase flows.
Place or wait for a wholesale order.
Confirm the order appears in Shopify but no purchase event arrives in the destination, for example Meta Events Manager or GA4 DebugView.
DTC orders should still come through as normal.
This setup conditions on how your store marks a segment. The same pattern works with any trigger condition:
Condition on any field: order tags, customer tags, market, order total, or payment gateway.
Want the B2B revenue visible rather than dropped? Create a b2b_purchase custom event with the same condition inverted, so the segment reports on its own without polluting purchase.
Last updated
Was this helpful?
Was this helpful?