Before Adobe Analytics event attribute data can be associated with an Acoustic Exchange event type, it must first be mapped to the Acoustic Exchange attribute naming convention and syntax.
In the Acoustic Exchange and Adobe Analytics integration, you must map Adobe Analytics attributes to Acoustic Exchange attributes so that they can be associated with an Acoustic Exchange event. To do so, you must create an attribute mapper object and place it on any web page that is embedded with Acoustic Exchange and Adobe JavaScript.
For example, the Adobe Analytics attribute eVar1
can be mapped to the Exchange attribute productID
by creating an array like attributesMapper.push({"adobeName":"eVar1", "ubxName":"productID"});
and calling the mapper object in adobe_ubx.sendEventFromJSONPayload(s, identifiersMapper,
"ibmproductView", attributesMapper);
.
In the example above, the attributesMapper
pulls data from the Adobe s
function and associates it with the event ibmproductView
.
Use the following code as a template for your attribute mapper object.
var attributesMapper = [];
attributesMapper.push({"adobeName":"adobeAttributeField1",
"ubxName":"ubxAttributeField1", "type":"string"});
attributesMapper.push({"adobeName":"adobeAttributeField2",
"ubxName":"ubxAttributeField2", "type":"string"});
attributesMapper.push({"adobeName":"adobeAttributeField3",
"ubxName":"ubxAttributeField3", "type":"string"});
attributesMapper.push({"adobeName":"adobeAttributeField4",
"ubxName":"ubxAttributeField4", "type":"number"});
- Enter the name of the mapper object in the
attributesMapper
field. - Enter the Adobe Analytics attribute names in the
adobeAttributeFieldN
fields. - Enter the Exchange Attribute names in the
ubxAttributeFieldN
fields. - Map the attributes by calling
adobe_ubx.sendEventFromJSONPayload(s, <identifiersMapper>, "<event name>", <attributesMapper>);
.
Comments
0 comments
Article is closed for comments.