create_custom_dimension
Create a custom dimension in Google Analytics 4 by specifying property ID, parameter name, display name, and scope (EVENT, USER, or ITEM) to define how event parameters or user properties are tracked.
Instructions
Create a custom dimension. parameter_name is the event parameter / user property key; scope is 'EVENT', 'USER' or 'ITEM'. display_name may contain only letters, numbers, underscores and spaces.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | EVENT | |
| description | No | ||
| property_id | Yes | ||
| display_name | Yes | ||
| parameter_name | Yes |