GA4: Available dimensions & metrics
ga4_get_metadataLists valid GA4 dimensions and metrics, including custom fields, for a property so you can select correct API names before running a report instead of guessing.
Instructions
Lists the dimensions and metrics that ga4_run_report knows for this property, incl. custom ones (customEvent:…, customUser:…). Use before a report instead of guessing API names. Without a filter only the apiNames; with search (substring in apiName, uiName, description), category or customOnly, uiName, category and metric type are added.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Default all | |
| search | No | Substring, e.g. 'page', 'source', 'lead' | |
| details | No | Include description (long, only useful together with a filter) | |
| category | No | Category substring, e.g. 'Page / screen', 'Traffic source', 'Event' | |
| property | Yes | GA4 property ID, e.g. '123456789' or 'properties/123456789' | |
| customOnly | No | Only custom dimensions/metrics |