Expand my Community achievements bar.

SOLVED

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

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

 

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

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

 

Avatar

Level 4

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> 

 

 

Avatar

Level 4
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.

Avatar

Level 4
Adobe, why does the code markup in your forums have to be in multiple different font sizes?

Avatar

Employee Advisor

You can use profile script to achieve this.