Ad platforms
Choose which orders are sent to each pixel
Each destination has a Filters box with one rule per line; an event goes out only when every rule matches. Next to country, value, the UTM fields, domain, product, market, currency and source, orders can be filtered by customer type (customer), order type (order_type), B2B company orders (b2b) and the buyer's language (locale).
Steps
Open the destination
In Connections › Tracking & destinations, edit the destination and scroll to Filters.
Add the rules
Add one rule per line in the form
field op value, for examplecustomer eq newfor an acquisition pixel, orb2b neq yesto leave company orders out. Save.You should see: The destination saved with the rules. A line with an unknown field or operator is refused with “Invalid filter: …”.
Check what goes out
Place a test order that should match and one that should not.
You should see: Data quality › Deliveries lists the matching order for this destination; the other order has no row for it.
Fields and operators
customer:new,returningorunknown(the shop's first-order flag, else the order history in ROASaurus).order_type:one_time,subscription_firstorsubscription_renewal(renewals only reach a pixel when the store sends them).b2b:yesfor a Shopify B2B order placed for a company (b2b: truein the orders API), elseno.locale: the buyer's language, for examplenlorde-ch(Shopify's customer locale, orlocalein the orders API).- Also:
country,value,utm_source,utm_medium,utm_campaign,utm_content,utm_term,utm_id,host,product_id,market,currencyandsource(web, app, pos, draft).
Operators: eq, neq, in (comma-separated list), gte, lte, contains. The customer, order-type, B2B and language fields describe orders; storefront events have no such values. To steer bidding to new customers without dropping returning ones, use the new-customer label (Google Ads) or the new-customer bonus instead.
Common problems
“Invalid filter: …”
field op value, or the field or operator is not in the list above. Check the spelling.Some orders count as "unknown"
customer neq returning to send those orders along with new customers.Next step
All destinations and filtersStill stuck? Email us.