Dynamic Content for visitors of a special site section | Adobe Higher Education
Skip to main content
Level 2
November 13, 2020
Respondido

Dynamic Content for visitors of a special site section

  • November 13, 2020
  • 1 resposta
  • 1452 Visualizações

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 🙂

 

Este tópico foi fechado para respostas.
Melhor resposta por evidana

Take a look at profile scripts. 

https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/use-profile-scripts-to-test-mutually-exclusive-activities.html?lang=en#setting-up-two-activities

https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/variables-profiles-parameters-methods.html?lang=en#section_8F25958273164EBAA6DC659302993FD3

 

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.

1 Resposta

evidanaCommunity AdvisorResposta
Community Advisor
November 13, 2020

Take a look at profile scripts. 

https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/use-profile-scripts-to-test-mutually-exclusive-activities.html?lang=en#setting-up-two-activities

https://experienceleague.adobe.com/docs/target/using/audiences/visitor-profiles/variables-profiles-parameters-methods.html?lang=en#section_8F25958273164EBAA6DC659302993FD3

 

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.

Level 2
November 16, 2020
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.