Create a parameter to define which data points are captured from your website and used for tracking.
Prerequisites
Access to Tag Integration
A data layer or URL structure providing the required values
Procedure
Navigate to Tag Integration.
Open Parameters.
Click Create parameter.
Enter a Name for the parameter.
(Optional) Enter a Description.
Select the Type:
JavaScript variable – Reads values from the data layer or JavaScript.
URL parameter – Reads values from URL parameters (must be UTF-8 encoded).
Mobile parameter – Used for mobile tracking environments.
Enter the Definition of the parameter.
Click Create.
Definition Guidelines
The definition specifies how the parameter value is accessed.
For JavaScript variables, use the variable name or data layer reference.
Example using
wts:wts.get('customerID')Example using other variables:
arrayname[variableposition].variablenameDo not use double quotation marks in the definition.
Result
The parameter is created and appears in the Parameter Overview. It can now be used in plugins and rules.
Best Practices
Use consistent naming conventions for parameters.
Ensure that the defined value exists in the data layer or URL.
Test parameter values before using them in tracking logic.