How do I set hierarchy values in DTM?

To set up a hierarchy in DTM, use the following example: 

Hierarchy 1 Example: 

s.hier1 = "value1|value2|value3....."

This example would translate directly into the DTM UI fields for hierarchy:  

The hierarchy can be configured globally at the tool level, or conditionally at the rule level. There is an option to place the direct value in the UI fields. There is also the option to leverage data elements to dynamically populate these values. To dynamically populate the value, use the % syntax as described in the following link under 'Data Element Usage': https://marketing.adobe.com/resources/help/en_US/dtm/data_elements.html

 

The UI in DTM only accommodates four values. If more than four values are needed in a single hierarchy, use the custom code section to set the hierarchy. It can be done in either the global Adobe Analytics editor or conditionally in the rule level Adobe Analytics editor. If custom code is required, the data elements can be used, but the syntax changes as follows:

s.hier1 = _satellite.getVar('dataElement1')+'|'+_satellite.getVar('dataElement2').

 Adobe

Få hjælp hurtigere og nemmere

Ny bruger?