We have this all year long campaign page: xyz.html
We want to display a different content for those who’ve already seen this page: xyz.html
[Note: this page is public, anyone with internet access can see it – there’s no special credentials required to view the content.]
If we target the audience via ‘Returning Visitor’ – how does target determine the ‘returning visitor’? Is it entirely through browser cookies? If a user clears the cookies, what happens?
In case there are any limitations around this, we were thinking maybe we could use ‘Profile Scripts’. If we can use profile scripts, do you happen to have any syntaxes that you could share?
Any suggestions you could provide would be highly appreciated.
Thank you,
Shailiza
Solved! Go to Solution.
@Shailiza Solution using profile script is outlined in this post https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/new-vs-returning-visitor/m-p...
1) Create profile scripts
if(user.isFirstSession) {
return true;
}
2) create audience
Thank you, @Avinash_Gupta_. The article link with additional details not working: https://marketing.adobe.com/resources/help/en_US/target/target/c_target_visitor.html
So, does this mean - let's say, a user AB checked the page: xyz.html and stayed for a few minutes on xyz.html. Exited and came back the next day (after over 30 minutes), checked the same xyz.html page. Now this user AB will be considered a 'returning visitor' correct?
Another scenario, what if, the same user AB, checks the page: xyz.html, stays for a few minutes. Exits. The next day, user AB clears the cache, and visit the same page again xyz.html - In this case, will the visitor AB be considered a new visitor or a returning visitor?
@Shailiza In first scenario. it would be considered as returning visitor and in the second scenario as the user has cleared the cookie, it would be considered as new user.
Thank you, @Avinash_Gupta_! Much appreciated.
Is there anyway we could bypass that using profile script? To personalize the experience for the returning visitors, regardless of the status of their cache. Provided the visitors have already visited xyz.html once before.
@Shailiza Solution using profile script is outlined in this post https://experienceleaguecommunities.adobe.com/t5/adobe-target-questions/new-vs-returning-visitor/m-p...
1) Create profile scripts
if(user.isFirstSession) {
return true;
}
2) create audience
Thank you, @Avinash_Gupta_.
Views
Like
Replies
Views
Likes
Replies