Hi there,
I'm currently working on enhancing the user experience for our fashion marketplace and am looking to implement a feature that displays a user’s last 3 searches. I would appreciate any insights or examples on how to effectively set this up within Customer.io.
Specifically, I'm curious about how to efficient ways to track and store the last 3 searches per user.
To give some more context, we capture every search request (e.g. “Nike”, “Adidas”, “Reebok”) and I’d like to, in the people attribute, save that as e.g. “Last search 1: Nike, Last search 2: Adidas etc. However, when there is a 4th search, the 1st one drops off (making it dynamic).
The idea is that we can then display “your last 3 searches” in broadcasts.
I would assume that you would need to update the person with each event that happens but if someone has any idea on the correct liquid to use that would be amazing.
Cheers,