Expand my Community achievements bar.

Target XT - Returning visitors how to?

Avatar

Level 2

Hi,

Could anyone guide me how to set up an Activity XT in Target so we can target Returning visitors on our frontpage? It should be returning visitors who has been to a specific subpage on their previous visit on our website!
I can't find any documentation or guidance on this on Adobe Help Site.

Regards,

Rasmus

2 Replies

Avatar

Level 3

Hi rasmusa92051331,

you can do it using a/b testing campaign as well

  • To identify if the visitor is coming from a specific page. Set cookies using profile scripts

if(user.isFirstSession){

//identify the targeted page

if (page.url.indexOf("xx") > -1)  {

//set cookies

user.setLocal('cookies', 'yy'); 

var cookies =user.getLocal('cookies');

if(cookies){

return cookies;

}

}

}

above profile will be available in audience.

For returning visitor you can use in-built audience 'Returning visitor'.

1428009_pastedImage_13.png

Avatar

Level 1

Hi @YogitaBist ,

 

Can you please explain exactly how target determines returning visitors. I have created one XT based on it but the website never shows the returning visitor experience