Hi,
In an activity, i have 5 different experience/offer. I would like to show each experience only for 3 times and move on it to next experience and so on. This should work based on the priority setup in the activity.
Any suggestions?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @MA1985v1,
This can be done with some customization and an XT or Experience Targeting activity. An XT activity will allow you to create experiences and then prioritize the order that a visitor qualifies for them. Move experiences to the top for higher priority. Tracking the views of each experience is where the customization comes in. You need to fire a request back to Target so it can "count" views of a particular experience. This way you can increment a profile script that can be used in an audience definition.
Full explanation:
if (mbox.name == 'impressionCount') { var exp = mbox.param('experience'); var cur = user.get("expImpCounts"); try {var cur = cur.split(":")} catch(err) {cur = [];} if (cur[0] == exp) { return (exp+":"+(parseInt(cur[1])+1))} else {return (exp+":1")} }
<script>adobe.target.trackEvent({mbox:'impressionCount', params:{'experience':'expA'}});</script>Adjust the experience value for the current experience.
There are likely other ways to make this happen but this should help you get what you are looking for.
Hi @MA1985v1,
This can be done with some customization and an XT or Experience Targeting activity. An XT activity will allow you to create experiences and then prioritize the order that a visitor qualifies for them. Move experiences to the top for higher priority. Tracking the views of each experience is where the customization comes in. You need to fire a request back to Target so it can "count" views of a particular experience. This way you can increment a profile script that can be used in an audience definition.
Full explanation:
if (mbox.name == 'impressionCount') { var exp = mbox.param('experience'); var cur = user.get("expImpCounts"); try {var cur = cur.split(":")} catch(err) {cur = [];} if (cur[0] == exp) { return (exp+":"+(parseInt(cur[1])+1))} else {return (exp+":1")} }
<script>adobe.target.trackEvent({mbox:'impressionCount', params:{'experience':'expA'}});</script>Adjust the experience value for the current experience.
There are likely other ways to make this happen but this should help you get what you are looking for.
thanks for the detailed response. will test this one.
Views
Replies
Total Likes
Would you be able to explain how this concept might be used to deliver an experience once per day? Perhaps you could show what that profile script might look like?
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies