ga4_update_custom_metric
Update a Google Analytics 4 custom metric by modifying its display name, description, or measurement unit. Confirmation required to apply changes.
Instructions
[GA4 WRITE] Update a custom metric (parameterName and scope are immutable). Pass only the fields to change; updateMask is derived from them (override with an explicit updateMask for nested paths). Requires GA4_MCP_ENABLE_WRITES=true and confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Full resource name of the custom metric to target, e.g. "properties/123/…/456". | |
| confirm | Yes | Must be true to apply the change. | |
| updateMask | No | Comma-separated field paths to update. Omit to derive from the supplied fields. | |
| description | No | ||
| displayName | No | ||
| measurementUnit | No |