Method: properties.getMetadata

  • The getMetadata method returns metadata for dimensions and metrics available in Google Analytics reporting methods.

  • A Google Analytics GA4 Property Identifier must be specified in the request to get metadata including Custom dimensions and metrics.

  • The metadata response includes both Custom dimensions and metrics specific to a property and Universal metadata applicable to any property.

  • The request body for this method must be empty, and a successful response contains data including dimensions and metrics .

  • The DimensionMetadata and MetricMetadata objects provide details like API name, UI name, description, and whether they are custom.

Create a Mobile Website
View Site in Mobile | Classic
Share by: