Google Analytics · Schema
DimensionMetadata
Explains a dimension.
AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine-LearningAttribution
Properties
| Name | Type | Description |
|---|---|---|
| apiName | string | This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For example, `eventName`. |
| category | string | The display name of the category that this dimension belongs to. Similar dimensions and metrics are categorized together. |
| customDefinition | boolean | True if the dimension is custom to this property. This includes user, event, & item scoped custom dimensions; to learn more about custom dimensions, see https://support.google.com/analytics/answer/142 |
| deprecatedApiNames | array | Still usable but deprecated names for this dimension. If populated, this dimension is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, t |
| description | string | Description of how this dimension is used and calculated. |
| uiName | string | This dimension's name within the Google Analytics user interface. For example, `Event name`. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/DimensionMetadata",
"title": "DimensionMetadata",
"description": "Explains a dimension.",
"properties": {
"apiName": {
"description": "This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For example, `eventName`.",
"type": "string",
"example": "Example Name"
},
"category": {
"description": "The display name of the category that this dimension belongs to. Similar dimensions and metrics are categorized together.",
"type": "string",
"example": "example_value"
},
"customDefinition": {
"description": "True if the dimension is custom to this property. This includes user, event, & item scoped custom dimensions; to learn more about custom dimensions, see https://support.google.com/analytics/answer/14240153. This also include custom channel groups; to learn more about custom channel groups, see https://support.google.com/analytics/answer/13051316.",
"type": "boolean",
"example": true
},
"deprecatedApiNames": {
"description": "Still usable but deprecated names for this dimension. If populated, this dimension is available by either `apiName` or one of `deprecatedApiNames` for a period of time. After the deprecation period, the dimension will be available only by `apiName`.",
"items": {
"type": "string"
},
"type": "array"
},
"description": {
"description": "Description of how this dimension is used and calculated.",
"type": "string",
"example": "Example description"
},
"uiName": {
"description": "This dimension's name within the Google Analytics user interface. For example, `Event name`.",
"type": "string",
"example": "Example Name"
}
},
"type": "object"
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-analytics-dimensionmetadata"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.