Solved

Issue with "viewed product" tracking in browse abandonment flow

  • 12 August 2022
  • 1 reply
  • 142 views

Userlevel 1
Badge +6

Hi Community! 

Hope you can help me again. 

I’ve set the flow above, and ran a test to see if it will put me on queue for the email, and it did! 

The thing is… today when I received the email it wasn’t the product that originally put me in the flow, but the last product I saw in the eCommerce today. :/ 

So, I’m thinking I didn’t get right how the flow is supposed to work or even the viewed product snippet. 

This is the tag configured in the email: {{ person.ViewedItems.0.Title }}.

 

My guess is that the tag only recover the last product a browser viewed, so I’m thinking about having to delete or replace the 1-day delay, but I’m all confused here. 

Or maybe there is a different tag that I should be using?

It is important to me to have a time delay to avoid spamming my browsers. 

Thanks in advance!

icon

Best answer by David To 12 August 2022, 20:41

View original

1 reply

Userlevel 7
Badge +60

Hey @Lorena Jaqueline,

From your scenario and the screenshot, I don’t think it’s actually the flow structure that’s incorrect, but rather that you’re using the incorrect variable. The {{ person.ViewedItems.0.Title }} variable you’ve using is meant to bring in the most recent viewed items into an email - in that regards, it’s doing exactly just that. 

A lot of times the use of this would be either in campaign emails or within other flow emails where you don’t have access to the explicit viewed product event data. The viewed product event is sort of unique in the sense that not only is an event recorded, but we also record an accessible profile property for this sort of use case. 

Instead of using that {{ person.ViewedItems.0.Title }} variable, you may want to take a look at our Creating a Browse Abandonment Flow Help Center article which highlights how to build your browse abandonment flow email triggered by the viewed product event. It may also help to take a look at some of the resources below too if you’re unfamiliar with building dynamic table blocks:

 

 

@Anna McCarthy, our template specialist also has a great walkthrough and example on how to use event data to build a dynamic table block:

One additional thing to note that I’ve seen a lot, because a viewed product event only carries one set of data and not an array of data, you wouldn’t need to set your dynamic table block to dynamic. Instead, you’ll want to use the Static option and to input the correct event variables. I know this is called out in the Browse Abandonment flow article I included above, but it often times gets overlooked. 

I hope this helps!

David

Reply