We are currently using a Recently Viewed Product feed; can anyone tell me when a product is no longer considered recently viewed?
For context, we just created one product feed for customers who have viewed products, and another for those who have not. The logic I’m using for customers who have viewed product is
person.ViewedItems|length >= 1
However, this includes customers who haven’t viewed a product in a long time, so the items they see end up being the fall back content.
I’d like to add logic to the statement so that it would only show to customers who actually have recently viewed products, something like:
person.ViewedItems|length >= 1 and person.ViewedItems|[within last 30 days]
However, I can’t find any documentation that tells me if this is possible, and what the logic would actually look like.
Best answer by stephen.trumbleView original