ParameterMutation

  • A Parameter Mutation defines an event parameter to mutate using a JSON representation with "parameter" and "parameterValue" fields.

  • The "parameter" field is a required string specifying the parameter name, with specific character and uniqueness constraints, and can be 'eventName' for event edit rules.

  • The "parameterValue" field is a required string for the mutation value, with a character limit, and supports constant values or copying from other parameters using a specific syntax.

Defines an event parameter to mutate.

JSON representation
{
  "parameter": string,
  "parameterValue": string
}
Fields
parameter

string

Required. The name of the parameter to mutate. This value must: * be less than 40 characters. * be unique across across all mutations within the rule * consist only of letters, digits or _ (underscores) For event edit rules, the name may also be set to 'eventName' to modify the eventName in place.

parameterValue

string

Required. The value mutation to perform. * Must be less than 100 characters. * To specify a constant value for the param, use the value's string. * To copy value from another parameter, use syntax like "[[other_parameter]]" For more details, see this help center article.