To address the issue of your Klaviyo flow triggering for both online and physical store purchases, you can implement a solution that differentiates between these two types of orders. Here's how you can do this:
Step 1: Tagging Orders in Shopify
First, ensure that your orders are tagged correctly in Shopify. You can use tags to distinguish between online and physical store purchases.
Online Orders: These orders are typically tagged automatically by Shopify or your e-commerce platform.
Physical Store Orders: When processing an order in your physical store, add a specific tag such as "physical_store" or "in_store" to these orders.
Step 2: Creating a Segment in Klaviyo
Next, create a segment in Klaviyo that only includes customers who made online purchases.
1. Log in to Klaviyo
2. Navigate to Lists & Segments.
3. Create a new segment and name it something like "Online Orders Only".
4. Set the segment conditions to include only orders without the physical store tag. For example:
- "Shopify Order" > "Has Placed Order" > "At least once" AND
- "Shopify Order" > "Tag" > "does not contain" > "physical_store" (or the tag you used).
Step 3: Modifying the Flow in Klaviyo
Now, modify your existing parcel tracking flow to only trigger for this segment.
1. Navigate to your existing parcel tracking flow.
2. Click on the Trigger to edit it.
3. Add a Flow Filter:
- Select "Properties about someone" > "Is in segment" > "Online Orders Only".
This filter ensures that the flow will only trigger for customers in the "Online Orders Only" segment, thus excluding physical store purchases.
Step 4: Testing
Before fully implementing, test the flow to ensure it's working as expected.
1. Place a test order online and verify that the flow triggers and sends the tracking email.
2. Process a test order in the physical store with the tag and ensure that the flow does not trigger.
By tagging orders appropriately in Shopify and creating a segment in Klaviyo that includes only online purchases, you can ensure that your parcel tracking flow triggers only for online orders. This way, customers who make purchases in your physical store will not receive unnecessary tracking emails.