Hi there,
I want to save a cookie as a data element in DTM and then use this to create a parameter in Target which can be used to create a simple audience of visitors that have the cookie and visitors that don't.
I've done the easy part and created the data element, but I don't know what to do next.
We have a huge direct call rule that seems to be creating all our custom Target parameters (?) and most of the rules take the format as below. Would this work?
if (_satellite.getVar("customCookie") != "") {
mboxrequestparams.push('"user.productName.customCookie=' + _satellite.getVar("customCookie") + '"');
mboxparams["user.productName.customCookie"] = _satellite.getVar("customCookie");
}