Show Menu
TOPICS×

Copy a context data variable to an eVar

Processing rules are used to move values from Context Data variables to props and eVars.
Context data variables are specified in AppMeasurement in the following format:
 s.contextData['search_term']

The Context Variables list contains all variables that were sent to the report suite in the previous 30 days. If you know the context data variable name but have not sent it into the current report suite, you can add a value by typing the variable name and clicking Add variable name context data :
The following rule definition populates an eVar on every hit that contains a specific context data variable:
Rule Set
Value
Condition
If 'search_term' context data is set
Action
Overwrite value of eVar3 to 'search_term'
For example:
See Context Data Variables in Implementation Help.