Create Parameter

Prev Next

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

  1. Navigate to Tag Integration.

  2. Open Parameters.

  3. Click Create parameter.

  4. Enter a Name for the parameter.

  5. (Optional) Enter a Description.

  6. 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.

  7. Enter the Definition of the parameter.

  8. 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].variablename

  • Do 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.