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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

AT Experience - Show only once

winstonl3651471
Level 3
Level 3

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,

1 Accepted Solution
shelly-goel
Correct answer by
Community Advisor
Community Advisor

@winstonl3651471  If goal metrics as explained by @rush_pawan 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...

View solution in original post

8 Replies
rush_pawan
Community Advisor
Community Advisor

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-a... 

 

for details.

LordOfTheRings
Level 6
Level 6
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
Level 3
@LordOfTheRings 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
Correct answer by
Community Advisor
Community Advisor

@winstonl3651471  If goal metrics as explained by @rush_pawan 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...

View solution in original post

LordOfTheRings
Level 6
Level 6

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
Level 3
@LordOfTheRings 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?
LordOfTheRings
Level 6
Level 6
Hi Winston, within the experience code you can fire the trackEvent code. this you can do post showing the popup
winstonl3651471
Level 3
Level 3
@LordOfTheRings Will test this out at our end. Thank you for the help. Much appreciated.