Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Dynamic Content for visitors of a special site section

Fabian-Felix
Level 2
Level 2

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 🙂

 

1 Accepted Solution
Eric_Vidana
Correct answer by
Level 8
Level 8

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.

View solution in original post

0 Replies
Eric_Vidana
Correct answer by
Level 8
Level 8

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.

View solution in original post

Fabian-Felix
Level 2
Level 2
Hey Eric_Vidana, thank you very much for your help. I'm going to take a closer look at this. I notice here once again that Adobe is really not good in user experience. Most of the time anything is possible, but only by taking long and complicated ways around and with experience in programming language.
zach_shearer
Level 4
Level 4

@Eric_Vidana , when I'm in the profile scripts editor, it looks like the token for page is page.url instead of currentPage. Or was that just a snippet you shared where you would have used the page.url token above it?

Eric_Vidana
Level 8
Level 8
@zach_shearer good catch. I was thinking about the audience builder where it is named Current Page. page.url is the right token.