- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
hi @EugeniaFang -
1.Use trackEvent() to pass an mbox-param when interaction happens with the CTA.
button.addEventListener('click', event => {
adobe.target.trackEvent({
"mbox": "clicked-cta",
"params": {
"cta-name": "my-cta"
}
});
});
2. Configure a in a profile script, say my-cta-clicked
if (mbox.name == 'clicked-cta'
&& mbox.param('cta-name')
&& mbox.param('cta-name') === "my-cta"){
return true;
}
3. Use my-cta-clicked in an Audience (for your case - user.my-cta-clicked is not equal to true)
Hope this helps