create_custom_metric
Define and add a custom metric to a Google Analytics 4 property by specifying its name, display name, and measurement unit.
Instructions
Create a custom metric.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | EVENT | |
| description | No | ||
| property_id | Yes | ||
| display_name | Yes | ||
| parameter_name | Yes | ||
| measurement_unit | No | STANDARD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |