Audience set up - UI element that goes away without DMP | Community
Skip to main content
Level 2
September 10, 2020
Solved

Audience set up - UI element that goes away without DMP

  • September 10, 2020
  • 2 replies
  • 1095 views

Hi, I'm trying to set up an audience rule to display an UI element until users interact with it, then hide it. Is there a way to do that in absence of a DMP?

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 ravi_teja_guttula

Hi @a_hulshof ,

Trigger below code on click of UI element. Profile variables will be stored in the profile. So, you can use the profile variable, to hide the content across the sessions.

 

https://docs.adobe.com/content/help/en/target/using/implement-target/client-side/functions-overview/adobe-target-trackevent.html

 

adobe.target.trackEvent({ 
    "mbox": "clicked-cta", 
    "params": { 
        "profile.param1": "true" 
    } 
});

 Create an Audience to show content when "profile.param1" value is not set.

2 replies

Gaureshk_Kodag
Adobe Employee
Adobe Employee
September 10, 2020

Hi @a_hulshof 

Maybe you can fire an extra mbox on click of element. Pass parameter in that mbox as xyz=clicked.

Then create audience as mbox parameters xyz is equal to clicked.

Hope this works.

 

Thanks,

Gauresh

 

ravi_teja_guttulaAccepted solution
Level 2
September 15, 2020

Hi @a_hulshof ,

Trigger below code on click of UI element. Profile variables will be stored in the profile. So, you can use the profile variable, to hide the content across the sessions.

 

https://docs.adobe.com/content/help/en/target/using/implement-target/client-side/functions-overview/adobe-target-trackevent.html

 

adobe.target.trackEvent({ 
    "mbox": "clicked-cta", 
    "params": { 
        "profile.param1": "true" 
    } 
});

 Create an Audience to show content when "profile.param1" value is not set.