New vs Returning Customers
Automatically flag orders as new or returning customer purchases for better ad targeting.
Overview
MRKT Mesh checks each order against the customer's purchase history and enriches the event with a customer_type field — either "new" or "returning". This enables platforms like Meta and GA4 to optimize for new customer acquisition.
How It Works
- A purchase event arrives via Shopify webhook
- MRKT Mesh queries the customer's order count from Shopify
- If the order count is 1, the customer is flagged as "new"
- If the order count is greater than 1, they're flagged as "returning"
- The enrichment data is attached to the event before delivery
Data Sent to Destinations
| Field | Description |
|---|---|
| customer_type | "new" or "returning" |
| customer_order_count | Total number of orders |
| customer_lifetime_value | Cumulative spend amount |
Platform Integration
- Meta CAPI: Sent as custom data parameters for audience segmentation
- GA4: Sent as event parameters — register as custom dimensions for reporting
- Klaviyo: Sent as event properties for flow segmentation
- Google Ads: Used for new customer conversion value optimization