Is there a library of profile script to achieve the use case in which we want to display the previous visited pages or categories
Solved! Go to Solution.
Views
Replies
Total Likes
please refer this - https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/variables-profiles-p...
also, you can code something like this. just sample but you can develop better using above info
if(user.isFirstSession){
//do somethign for first time
}else if(user.isNewSession){
if(user.getLocal("lastsession")!=user.sessionId){
//do something for returned users
}
}
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
well. the idea is to use profile script for capturing the pages then create an A/B test to surface those pages name and URLs.
Views
Replies
Total Likes
please refer this - https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/variables-profiles-p...
also, you can code something like this. just sample but you can develop better using above info
if(user.isFirstSession){
//do somethign for first time
}else if(user.isNewSession){
if(user.getLocal("lastsession")!=user.sessionId){
//do something for returned users
}
}
Views
Likes
Replies