Mutually Exclusive Return Vsistor
Hi,
I am working on re-targeting campaign.
New Visitor to the campaign X : Will see Experience A
Return Visitor to the campaign X : Will see Experience B or C
I am facing challenge with making making B & C mutually exclusive..
Profile script codes are as follows any help would be appreciated:
To identify if the user is new or returning:
if (page.url == "XY"){
if(user.isFirstSession){
return true;
}
else{
return false;
}
To make Experience B and C Mutually exclusive :
if (!user.get('HomePageReturnprofileTest') == true) {
var ran_number=Math.floor(Math.random() *99);
if (ran_number <= 49) {
return 'GroupB';
} else {
return 'GroupC';
}
}
It only seems to be working for two experience i.e new v/s returning visitor. As soon as i add third experience to the XT campaign. The campaign stops working.
ParitMittal ameliaw95025277@ameliaw95025277