AT Experience - Show only once | Community
Skip to main content
winstonl3651471
Level 3
April 28, 2021
Solved

AT Experience - Show only once

  • April 28, 2021
  • 8 replies
  • 4011 views

Hi,

How do I set a condition in Adobe Target where I can show an experience only once to a user.

Example - We show a pop up message on Page A to the user in a selected audience, user navigated to other pages, arrives back on Page A, pop up should not be shown (reverts to default experience).

 

I read this is somewhat be possible with Goal settings. However, it will only work if using Adobe Target metrics. We will be using A4T so not going to work for this use case.

 

Any feedback will be greatly appreciated.

 

cheers,

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by shelly-goel

@winstonl3651471  If goal metrics as explained by @pawan-gupta doesn't meet your need, you can leverage profile scripts and handle if you want to show the same experience to the user again or not.

https://experienceleague.adobe.com/docs/target-learn/tutorials/audiences/create-profile-scripts.html?lang=en#intended-audience

8 replies

Pawan-Gupta
Level 8
April 29, 2021

Try the goal setting option under advance setting 

 

as below

There are three options for what happens after a visitor reaches the goal metric:

  • Select Increment Count & Keep User in Activity to specify how the count is incremented.
  • Select Increment Count, Release User & Allow Reentry to specify the experience the user sees if they reenter the activity.
  • Select Increment Count, Release User & Bar from Reentry to specify what the user sees instead of the activity content.

also refer - https://experienceleague.adobe.com/docs/target/using/activities/multivariate-test/create-mvt/goals-and-settings.html?lang=en#what-will-happen-after-a-user-encounters-this-goal-metric%3F 

 

for details.

ambikaTewari_ATCI
Community Advisor
Community Advisor
April 29, 2021
Hi Winston, you can trigger a trackEvent on show of popup with some profile param as tru value. In the same activity you can use this profile param in audience > parameter or value is not present
winstonl3651471
Level 3
April 29, 2021
@ambikatewari_atci Thank you for the response. Much Appreciated. I believe track event trigger will be a custom code, is there any sample codes I can see to get an understanding how to structure it. I haven't worked with custom codes before. Also, I assume the custom code for trackevent needs to be placed within our Load Target library rule in Adobe Launch. Please advise. Cheers.
shelly-goel
Adobe Employee
shelly-goelAdobe EmployeeAccepted solution
Adobe Employee
April 30, 2021

@winstonl3651471  If goal metrics as explained by @pawan-gupta doesn't meet your need, you can leverage profile scripts and handle if you want to show the same experience to the user again or not.

https://experienceleague.adobe.com/docs/target-learn/tutorials/audiences/create-profile-scripts.html?lang=en#intended-audience

ambikaTewari_ATCI
Community Advisor
Community Advisor
April 30, 2021

Hi Winston, below code you can use to fire a trackEvent:

 

 

/*fire this when pop is shown*/

adobe.target.trackEvent({
"mbox": "popShown",
"params": {
"profile.isPop": true
}
});

 

Audience setup :

Visitor Profile > isPop>equals>static value>false

 

hope that helps

winstonl3651471
Level 3
April 30, 2021
@ambikatewari_atci Thank you for the code. Only question is, where to fire the trackevent from, using the Tag Manager or within the activity where we have added the custom code for the pop up?
ambikaTewari_ATCI
Community Advisor
Community Advisor
May 4, 2021
Hi Winston, within the experience code you can fire the trackEvent code. this you can do post showing the popup
winstonl3651471
Level 3
May 6, 2021
@ambikatewari_atci Will test this out at our end. Thank you for the help. Much appreciated.