Dynamic Content for visitors of a special site section

Avatar

Avatar

Fabian-Felix

Avatar

Fabian-Felix

Fabian-Felix

13-11-2020

Hello everybody,

I am still fairly new to Adobe Target. I have worked with Google Optimize before and the logic to Adobe Target seems to be slightly different. I want to do something pretty simple, but I can't find the solution:

 

Scenario: User visits our website. The person goes to the career section during the session. The person clicks through the website and eventually ends up back on the start page. The start page should now contain a career header.

 

Current status: What I've accomplished is that the career header is displayed on the start page if the person was on the career page exactly before, so if the referrer is /career.

 

But the career header on the start page should also be shown if:
a) The user has been on other sub-pages in the meantime
b) When the user returns after a few minuts/days

 

The banner should simply be displayed to people who have been to the career site at some point.

 

Many thanks in advance 🙂

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

Eric_Vidana

Avatar

Eric_Vidana

Eric_Vidana

13-11-2020

Take a look at profile scripts. 

https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/use-profile-scripts-...

https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/variables-profiles-p...

 

Something like this should work:

if (currentPage.indexOf('career') > -1) { 
    return true; 
}

 

This will create a new profile attribute in the name of whatever you called the profile script (user.whatever). You can then create an audience to look at that profile variable. Just need to make sure that you don't set it back to false. It should stick to the life of the tntID that the user currently has, or to the life of the mbox3rdpartyid, if you have that implemented.