I've created a Target Activity using experience cloud segments (specifically from Analytics) and I would like to know how can I limit the number of times a visitor sees the activity.
This is the segment I've created. Here's the logic: If a visitor sees that page within their visit, them I'll show a specific message to them whenever they return to my home home. But I would like to show the specific message just a certain number of times (for example 5) then, the message should be off for them or they will have to be no longer in the activity. Which is the best way to do it? Taking into consideration that I'm creating segments in Analytics.
Thanks a lot for your help 🙂
Hi @renatoz28 - 4-8 hrs delay to reflect the analytics segment data available in Experience Cloud(ie: Adobe Target).
I would suggest you to create profile script to achieve the same. sample code below.
var freq = user.get("Impression") || 0;
if (freq < 100)
I agree this is likely not possibly with Analytics segments alone. You need a Target profile script to help with counting prior impressions. Here in the other post I walk through how to do this sort of thing. The use case is similar to yours I think.
Hope this helps.