I’m rebuilding our Abandon Cart. We previously used a 3rd party integration event, but we want to transition to Shopify to test linking to cart directly.
I’m running into a situation where I’m copying the Event Properties from the preview, but it’s not populating when copied into the template. Additionally, our product feeds are not populating as well.
Please note that I’m not actually putting the variables in the text and expecting them to work - I just want the variable to be listed in the text part of the button so that I understand what I’m clicking / testing.
Page 1 / 1
Hey, having checking your screenshots. The reason event event.extra.checkout_url and other event properties aren't working is likely because they don't exist in the shopify. Klaviyo's native shopify events like "Added to cart" don't always include those extra properties.
To be of what's available, click into the event preview and look only at what's listed under "event properties. "If checkout_url or cart_url isn't there, it can't work in your email.
Also, product feeds won't show unless your email is inside a flow triggered by a product event (like added to cart) and your shopify product catalog is properly synced with klaviyo
Let me know if this help
Our Shopify product catalog is synced to Klaviyo, and our feeds function in our current Abandoned Cart flow which is why I expect the feed to work.
Not only are cart variables not populating, which perhaps are not listed under Event Properties, but I AM cloning several variables as instructed from beneath “Event Properties” on the right and they aren’t populating with content either:
{{ event|lookup:'Product Name'|default:'' }}
{{ event.ImageURL|default:'' }}
{{ event.URL|default:'' }}
If your product catalog is synced and feeds work in your current flow, that's good. But those variables won't populate unless they show under Event properties in the preview. Even if they worked before through a 3rd party integration, shopify's native Added to cart event has its own structure. You will need to match exactly what's in the event not guess or reuse old variable names.
The product catalog is synced and feeds DO NOT work in my current flow. They work in other non-Shopify flows.
All the variables, except for the cart variables, I’m trying to use are listed under the Event Properties in the preview. The cart links came from Shopify data source documentation here.
Do the Event Properties inherently match the new Shopify trigger, or do I need to take steps to adjust the Event Properties to match the new Shopify trigger somehow?
If the properties show in the preview and you are using shopify's native Added to cart as the trigger, they will work, if they are not showing the flow might not be triggered by that exact event or you are previewing the right event but editing a different email.just make sure both match exactly.
I can confirm that I am editing the correct email, that the flow is powered by the Shopify Added to Cart metric, and that the metric is populating data.
Is possible to receive previews for customers who don’t qualify for the metric? Especially since the metric was just activated?
If the metric was just activated, it may take time to collect real data. Until someone actually triggers it (add to cart) you won't get real previews. Klaviyo only shows preview data for people who triggered that exact event. If no one qualifies yet, previews will be empty on show old/default data
Okay so the previews should reflect accurate data.
Summarizing current issues:
The product catalog is successfully synced from Shopify to Klaviyo, IS powering other flows that do not use Shopify events, but is NOT working in the Shopify Abandoned Cart metric powered flow.
All the failing variables, except for the cart variables, are listed under the Event Properties in the preview. The cart links came from Shopify data source documentation here.
Summarizing triage questions:
I confirmed that I am editing the correct email.
I confirmed that the flow is powered by the Shopify Added to Cart metric
I confirmed the Shopify Added to Cart metric is populating data
Thanks for the summary, it's clear since the catalog works in other flows but not in this shopify triggered one it's likely because product feeds don't work with the added to cart metric. Klaviyo's dynamic Catalog blocks require metrics like started check out or place order to link product data.
For the other listed under event properties, if they are still not rendering despite showing in the preview, try removing filters or wrappers like lookup, and use the exact path as shown like Event .productname of that's how it appears.
Hi @awlhaint
I might have a solution for you.
I see in the event payload that you have the product id available. From there - you can make a catalog lookup and pull the data straight from the catalog instead of using the event data that is not available in this metric (as I understand from your above conversation).
Please keep in the mind that integrations are different and the product id variable might differ in yours - so it might be that it is product.id without capital letters :-)
I hope this helps - otherwise, let me know and I’m happy to investigate further.