personalization condition
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?
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?
@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.html?lang=en
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.