How to set a list Var and products variable in a page load rule in DTM?

Archana_Singh 22-10-2017

I have two data elements. I want to assign it to a list Var and products variable respectively in a page load rule. Need help with the custom script to do this.


Accepted Solutions (1)

Accepted Solutions (1)


Hi Archana,

In the 'Custom Page Code' section for Adobe Analytics within your Page Load Rule, you can define both the products variable and the list variable in the same manner as it's implemented in standard javascript implementation. I'm sharing a generic example below:



Typically, you'd want to use data elements to assign values to these variables by using "_satellite_getVar('data element name')" for both of these variables.

Answers (0)