Create GA4 Custom Dimension
ga4_create_custom_dimensionCreates a GA4 custom dimension → makes an event/user parameter reportable in GA4. parameter_name = the event param key (e.g. 'plan', 'lead_source'); display_name = shown in reports; scope: EVENT | USER. property: see ga4_list_properties. SAFETY: confirm=false → preview; confirm=true → creates. Needs the analytics.edit scope (reconnect Analytics if you get a permission error).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | EVENT | |
| confirm | No | ||
| property | Yes | ||
| display_name | No | ||
| parameter_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||