- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
Hi Everyone,
I have a use case called window shopper, whoever clicked the same product more than 4 times I want to add them to the Audience and as soon as the visitor ends the session, action will be triggered.
So, to do this I've created a tally Attribute which store the product Name & Product Count As a Key-Value pair.
But I don't know how to populate or use the Product count against the Product to trigger the action.
Product Name ( Key ) | Product Count ( Value ) |
" Tori Tank " | 2 |
"Linen Blazer" | 5 |
"Pearl Strand Necklace" | 4 |
In the above table you can see that the Linen Blazer is clicked for more than 4 times, so how can I use this to add the user to the Window shopper Audience and perform the action.
Kind Regards,
Md Aaqib Uddin
Solved! Go to Solution.
Hi @aaqib
There is an enrichment on Set of Strings that populates the Set of Strings with the key values in a Tally that have a value greater than a threshold you can define (4, in your case).
So the way I would do what you want here is to define a Set of Strings, and use this enrichment on it. If the Set of Strings is assigned (you can check this using a rule operator on the Set of Strings), then the visitor is in the Audience.
You can also/instead, if you wish, use a Number to count how many items are in this Set of Strings. If this is >= 1, then the user is in your Audience.
Here is a diagram that explains how all the AudienceStream attribute types can be used with each other like this;
Thanks
Mark
Hi, I've been struggling with this because I've done every single step but upon testing with Trace I seem to join the audience as soon as I view the first product:
Audience:
Set of Strings (visit):
Tally (visit; increment tally based on the product name):
Copyright All Rights Reserved © 2008-2023