Method: properties.getMetadata

  • This method returns metadata for dimensions, metrics, and comparisons available in Google Analytics reporting methods, including both custom and universal data.

  • The metadata helps in exploring the dimensions and metrics that can be used in reporting.

  • A property identifier is required in the request to retrieve property-specific metadata, though setting the ID to 0 returns common universal metadata.

  • The response body contains the descriptions of the dimensions, metrics, and comparisons.

  • This method requires specific OAuth scopes related to Google Analytics for authorization.

Design a Mobile Site
View Site in Mobile | Classic
Share by: