Expand my Community achievements bar.

Applications for the 2024 Adobe Target Community Mentorship Program are open! Click to the right to learn more about participating as either an Aspirant, to professionally level up with a new Certification, or as a Mentor, to share your Adobe Target expertise and inspire through your leadership! Submit your application today.
SOLVED

AT Experience - Show only once

Avatar

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

Avatar

Correct answer by
Employee Advisor

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

View solution in original post

8 Replies

Avatar

Level 9

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.

Avatar

Community Advisor
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

Avatar

Level 3
@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.

Avatar

Correct answer by
Employee Advisor

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

Avatar

Community Advisor

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

Avatar

Level 3
@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?

Avatar

Community Advisor
Hi Winston, within the experience code you can fire the trackEvent code. this you can do post showing the popup

Avatar

Level 3
@ambikaTewari_ATCI Will test this out at our end. Thank you for the help. Much appreciated.