hi Dani,
There is no option in adobe target to create audience based on cookie value, but this can be done with help of adobe launch/DTM
1.Go to data elements in adobe launch/DTM.
2.Add data element
3.Name : Element_Name
4. Extension : Core
5. Data Element Type : Cookie
6. Default Value : None
7. Check Clean Text
8. Storage Duration : Page view / Session / Visitor - As per your requirement
9. Cookie Name : Cookie_Name
SAVE Data element
Pass it in your global mbox
(Name : any name to capture in target
Value : Data element name that you created earlier)
Then go to adobe target
1.Create Audience
2.Rule -> Custom -> Type Name (which is passed in mbox through launch) -> follow your conditions
if you choose to use js you can use code snippet that looks something like this
targetPageParams = function() {
var cookieValue = document.cookie.replace(/(?:(?:^|.*;\s*)COOKIENAME\s*\=\s*([^;]*).*$)|^.*$/, "$1");
return "PARAMNAME="+cookieValue;
};
/* replace `COOKIENAME` and `PARAMNAME` */
hope this works for you.
Thanks,
Gauresh Kodag.