How can we set a condition in Target so that if the personalization is seen once by audience (based on segment), that user will be excluded from seeing the personalization again?
Solved! Go to Solution.
@Pradeep_Kumar_Srivastav In such scenarios, you can use the Profile script wherein "User.frequency" counts when personalization is seen and use this value in the audience conditions.
Here you go for the code:
Name: user.frequency
var frequency = user.get('frequency') || 0;
if (mbox.name == 'orderThankyouPage') {
return frequency + 1;
}
Creates a variable called frequency
, initializing it to either the previous value or 0, if there was no previous value. If the mbox name is orderThankyouPage
, the incremented value is returned.
Refer to this link: https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/profile-parameters.h...
@Pradeep_Kumar_Srivastav In such scenarios, you can use the Profile script wherein "User.frequency" counts when personalization is seen and use this value in the audience conditions.
Here you go for the code:
Name: user.frequency
var frequency = user.get('frequency') || 0;
if (mbox.name == 'orderThankyouPage') {
return frequency + 1;
}
Creates a variable called frequency
, initializing it to either the previous value or 0, if there was no previous value. If the mbox name is orderThankyouPage
, the incremented value is returned.
Refer to this link: https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/profile-parameters.h...
t
With "New Visitors" condition you might miss those who are not new to the site but haven't seen the experience before either because they didn't navigate to the page or the activity wasn't live by then.
One other option you could try is to pass a custom code from within the Target experience to pass an mbox parameter - which could be used as a flag to indicate that the user has seen the experience. In your audience condition use this mbox parameter as an exclusion condition.
Views
Like
Replies
Views
Like
Replies