为什么 GA4 Data API Beta 版本没有 GA Reporting API V4 中提供的指标?
我想使用下面提到的 GA4 API Beta 版本来计算 exitRate、dropFromPage、PageTime 和 pageImpression 分析数据 API 概述
但是,我无法在文档中找到相同的任何指标。
任何想法
https://developers.google.com/analytics/devguides/reporting/data/v1/api
但这些指标可在 Google Analytics V4 中找到 UA 维度和维度Metrics Explorer 和核心报告 API
I want to calculate exitRate, dropFromPage, PageTime and pageImpression using GA4 API Beta version mentioned below Analytics Data API Overview
However I have not able to find any metric for the same in documentation.
Any Idea
https://developers.google.com/analytics/devguides/reporting/data/v1/api
But these metrics are available in Google Analytics V4
UA Dimensions & Metrics Explorer and core reporting api
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
简单的答案。
首先,没有 Ga4 报告 API 测试版。它称为 Google Analytics Data api,目前处于 Beta 测试阶段。此 API 用于访问 Google Analytics GA4 帐户背后的数据。它只能访问 GA4 帐户的指标。
Google Analytics Reporting api v4 用于访问通用分析帐户而非 GA4 帐户背后的数据。
GA4 和通用分析不是同一个系统,并且没有相同的指标。
长答案。
您需要了解的第一件事是通用分析和 Google Analytics GA4 之间存在差异。
旧的通用分析系统无法与 Ga4 进行比较,它们不一样,而且在任何方面都不完整。
通用分析
因此,请检查您的维度和通用分析中的指标 UA 维度和指标Metrics Explorer 不会告诉您 ga4 可以使用哪些内容。
要查找适用于 GA4 的维度和指标,您应该检查 GA4 维度& Metrics Explorer
请记住,这些系统完全不同,我认为您不会在 GA4 中找到这些维度。
Ga4
The simple answer.
First off there is no Ga4 reporting api beta. Its called the Google analytics Data api and it is currently in Beta test. This api is used for access data behind google analytics GA4 accounts. It only has access to metrics for GA4 accounts.
The Google Analytics Reporting api v4 is used to access data behind universal analytics accounts not GA4 accounts.
GA4 and Universal analytics are not the same system and do not have the same metrics.
The long anwser.
The first thing you need to understand is that there is a difference between Universal analytics and Google analytics GA4.
The old Universal analytics systems can not be compared with Ga4 they are not not the same and they are not completable in any way.
Univeral analtyics
So checking for your dimensions and metrics in the universal analytics UA Dimensions & Metrics Explorer is not going to tell you what is available for use with ga4.
To find the dimensions and metrics that work with GA4 ou should check GA4 Dimensions & Metrics Explorer
Remember these systems are totally different i don't think you are going to find those dimensions in GA4.
Ga4