since ‎30-11-2017
‎10-12-2019
renatob25477023
Level 1
Re: Launch an activity if a cookie is in the page with mbox.js
Avatar

renatob25477023

renatob25477023
- Adobe Target
Hey, thanks for your reply.Yes, that's what I can not find yet as well.About last code you sent me, that will work only for apply/not apply the code inside the experiment. But a user will be bucketed in in any case as the cookie condition is not on the audiences, but only in the activity code (so that's not what I am looking for).If we could find a way to add a cookie check in the targeting rules should be perfect.But probably Adobe Target is lacking in this.

Views

2.5K

Likes

0

Replies

0
Re: Launch an activity if a cookie is in the page with mbox.js
Avatar

renatob25477023

renatob25477023
- Adobe Target
Hi Yogita, thank you so much for your answer. I suppose I have to paste the code you wrote inside a profile script.Question now are:Since I have only to read the cookie, I think I can remove the line:// this will set cookie user.setLocal('product', 'zz'); Is this correct?Also, what are exactly "product" and "zz"? It seems like I have to replace these.Then, when creating the audience based on a visitor profile (so passing a value for the "equals" condition), which value should I pass, product or ...

Views

2.5K

Like

1

Replies

2
Launch an activity if a cookie is in the page with mbox.js
Avatar

renatob25477023

renatob25477023
- Adobe Target
Hi all,I have a question about on how to target and launch an activity if the user has a cookie on his browser.I already saw different solutions but apparently any on those seems to work to me, probably I'm missing something.Could someone explain me step by step what it needs to be done?Please be aware that this will need to work with mbox.js (so not at.js).Thank you so much,Renato

Views

3.1K

Like

1

Replies

4
Likes from