Google AnalyticsGoogle AnalyticsSEO/AEO

Check GA4 dimension and metric compatibility

google-analytics.x.analyticsdata-properties-checkcompatibility

properties.checkCompatibility — This compatibility method lists dimensions and metrics that can be added to a report request and maintain compatibility. This method fails if the request's dimensions and metrics are incompatible. In Google Analytics, reports fail if they request incompatible dimensions and/or metrics; in that case, you will need to remove dimensions and/or metrics from the incompat

价格
free按目录价
成功率
—暂无成功率数据近 30 天 · 0 次
延迟 p50
——
最后验证
—尚未验证
POSThttps://toolswitch.dev/v1/tools/google-analytics.x.analyticsdata-properties-checkcompatibilityBeta
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

参数类型必填说明示例
路径参数
property字符串必填A Google Analytics property identifier whose events are tracked. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). `property` should be the same value as in your `runReport` request. Example: properties/1234
  • 路径参数
  • property字符串必填

    A Google Analytics property identifier whose events are tracked. To learn more, see [where to find your Property ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id). `property` should be the same value as in your `runReport` request. Example: properties/1234

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

Beta
curl -X POST 'https://toolswitch.dev/v1/tools/google-analytics.x.analyticsdata-properties-checkcompatibility' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

网关接口为 Beta,地址与鉴权方式可能变更。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。