ga_list_custom_metrics
Lists all custom metrics for a GA4 property, giving you the exact API names needed to include them in analytics reports.
Instructions
List all custom metrics defined for the configured GA4 property.
Use this to discover custom metric API names for reports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| propertyId | No | GA4 property ID to query (overrides the default GA_PROPERTY_ID). Accepts "123456789" or "properties/123456789". Use ga_get_account_summaries to discover IDs. |