Exclude User from the audience - based on specific action after seeing the experience | Community
Skip to main content
New Participant
March 11, 2021
Solved

Exclude User from the audience - based on specific action after seeing the experience

  • March 11, 2021
  • 3 replies
  • 1830 views

Hi,

 

I need to remove the user from the audience qualification, if he/she performed any specific action after seeing the target experience/content(for eg: we show the pop up via Target to the user and there is an option to click on "Not interested" and if anyone clicked then need to remove/exclude the user from the audience in real time so that when they come back next time they will not qualify for the same experience/content.

 

Any suggestions?

 

Thanks

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 ambikaTewari_ATCI

Hi @ma1985_cg  you can fire a trackEvent and pass the consent in the profile param value. You just need to check in the audience if that profile param value is present and target the audience

 

3 replies

Gaureshk_Kodag
Employee
March 25, 2021

You can use profile script to achieve this.

zach_shearer
New Participant
March 18, 2021

To add to what @ambikatewari_atci  mentioned, you could have the "opt-out" button have an onclick function like the following. 

 

<script> function AdobeTargetExperienceUserOptOut() { try { var mboxParameters = {}; mboxParameters["experience.optOut"] = "true"; adobe.target.trackEvent({ "mbox": "target-global-mbox", "params": mboxParameters }); } catch (err) { console.log(err) } } </script> <div> <!-- Experience Code --> <a onclick="AdobeTargetExperienceUserOptOut()"></a> </div>

 

 

zach_shearer
New Participant
March 18, 2021
In addition to passing the profile parameter, you'd have to maintain an exclusion criteria in your audience definition in the Adobe Target user interface.
ambikaTewari_ATCI
ambikaTewari_ATCIAccepted solution
New Participant
March 11, 2021

Hi @ma1985_cg  you can fire a trackEvent and pass the consent in the profile param value. You just need to check in the audience if that profile param value is present and target the audience