Skip to main content

Hi,

I am using Klaviyo with Shopify integration. I double checked and everything is well integrated. I have welcome flows (using a klaviyo form) working correctly for a few months now.

The plan is to create an abandoned cart for people adding a product to cart without starting the checkout. Then I plan on duplicating this flow once it is up and running for an abandoned checkout flow (changing the trigger of course and optimizing the filters). 
I created an abandoned cart with “Added to cart” trigger and it worked and received an email, however the dynamic table containing the cart and the “view cart” button are empty and the button has no link at all :

The table : 

and the link of the button : 

{{ event.extra.checkout_url}}

When checking the preview, the event does not contain any checkout_url 

Which made me doubt my flow is even correct. To test it, I wanted to use the klaviyo template but got this error : 

However, the metric “Added to cart” has some activity on Klaviyo which means it is correctly integrated : 

 

I am stuck here, can’t figure out the next step.

Please help. This is an important flow for us as the product are a bit high priced and we can’t afford to lose any lead. Thank you 

Hi ​@TL176, let’s see if we can get this sorted.

 

Did you create the flow from a template or build from scratch?

Do you have any other ecommerce platforms stores connected to your Klaviyo account besides Shopify?

 

Either way, I recommend setting up the Abandon Cart (Checkout Started) flow first. That one should be more reliable and help us fix the problem or identify the root of it.

 

Once we confirm the links and tags in the Abandon Cart (Checkout Started) flow are working correctly, then it’ll be easy to clone that one to create the Abandon Added to Cart flow.

 

Let me know if you like this plan. I look forward to your feedback.

 

Cheers,

Paul


Hi ​@Paul808 ,

Thank you for your reply. I tried creating the abandoned cart “Added to cart” manually from scratch. The email works, when I use a user (with ?utm=email_address) it works, I receive the email from the flow I created manually. The problem is that the data is not recovered which made me doubt my flow (see the 2 first screenshots of my post). 

This is why I thought I’d get started with a klaviyo flow template thinking it will probably work better than mine in inegrating the data. However, I could not use the template flow added to cart because Klaviyo thinks it is not receiving any data from Shopify in link with this metric. This is of course not true, as the metric appears in the dashboard. The 2 last screenshots are about this.

I don’t mind starting with the abandoned checout (checkout started) flow first and then creating the added to cart one, but I feel it will not work if Klaviyo doesn’t even let me use one of its template, which means there is an integration error somewhere.


sorry forgot to mention, my accoutn is connected to only 1 shopify store. Similarly, my shopify account is connected to only one klaviyo account.


Hi ​@TL176 , thank you for that information. I’m following.

 

I believe the best step right now would indeed be to set up the Abandon Cart (Checkout Started) flow from the standard Shopify “Abandoned Cart Reminder” flow template (as highlighted in my previous screenshot). This will help confirm whether some larger hiccup is occurring or not. (And FWIW, in my experience the Checkout Started metric is more reliable than the Added to Cart metric.)

 

Would you mind setting up that Abandoned Cart Reminder flow and letting my know how it goes? To state the obvious, make sure you’re using the Shopify flow template. :) 


 Hi ​@Paul808 ,

Thank you for your reply. 

I think I might have solved my original issue. The checkout started flow was created and works fine. 

I also created the added to cart flow and the dynamic content is now working. In fact instead of using a table we need a split in the email and we need to change certain variables. Shout out to the video from @MaxwellCopy 

Now the small issue I have is that the added to cart metric is not always added.  I suspect it is due to me using multiple users (though with different browsers) to test my flow. As an example, for one user, klaviyo detects I viewed the product but not that I added it to my cart :

All the “Viewed Product” were imediately followed by an added to cart action. 

Not sure why, maybe the metric is sent only when the cart was empty and one product was added? 


Hi ​@TL176,

It looks like you managed to correctly set up your flow. Are you having any issues with this?

Addressing your other questions about the Added to Cart event, it is expected that if a user has not been identified by Klaviyo, we won’t be able to track their activity. They’ll need to fill out a Klaviyo form, click a link in an email that Klaviyo sent them, or cookie themselves manually for us to be able to track them, which is why you may not be seeing Added to Cart events from browsing sessions on certain browsers.

I see that you’re using the Added to Cart event with the little gear icon. That means that your Added to Cart event was installed manually onto your site at some point. I’d recommend using Shopify’s Added to Cart event, and setting up a flow triggered by that event. Shopify’s Added to Cart event has a little green Shopify icon next to it. I recommend this because we actively maintain this event, and you won’t have to worry about unexpected behavior, like tracked Viewed Product events, but not Added to Cart events. This article goes over how to migrate to this event if you haven’t done it already. After that, you’d just need to make sure that you have a live flow triggered by the Shopify Added to Cart event.

Let me know if I can answer any additional questions!

-Byrne


Reply