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 zz?
If "product", why on the 'read the cookie' code I pass only "zz"?
I know this could be a little bit much but let me know for any question or clarification.
Thank you again,
Renato