Google Analytics(分析):'metrics':[{'expression':'ga:users'}],得到结果658,但GA Cpanel用户为621,为什么?

时间:2019-12-09 10:06:11

标签: google-analytics google-analytics-api

Google Analytics

'metrics':[{'expression':'ga:users'}],得到结果658,但GA Cpanel用户为621;

'dimensions':[{'name':'ga:sessionCount'}],获得结果584,但GA Cpanel会话数为676;

'metrics':[{'expression':'ga:sessionsPerUser'}],得到的结果为0.89,但GA CpanelsessionsPerUser为1.09;

'metrics':[{'expression':'ga:pageviewsPerSession'}],获取结果2.44,但GA Cpanel pageviewsPerSession为2.11;

'metrics':[{'expression':'ga:bounceRate'}],结果为45.07%,但GA Cpanel bounceRate为46.15%

API数据不等于GA Cpanel数据,为什么?有解决问题的办法吗???谢谢。

enter image description here

enter image description here

enter image description here

1 个答案:

答案 0 :(得分:0)

为了比较Google Analytics(分析)数据,在数据中产生的请求必须相同。它们必须是相同的日期,维度,指标,过滤器..所有内容都必须相同。

只有几个小时和用户的自定义报告

enter image description here

使用query explorer的相同要求

https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3A78110423&start-date=2019-12-01&end-date=2019-12-01&metrics=ga%3Ausers&dimensions=ga%3Ahour

enter image description here

Google Analytics(分析)是一个多维数据库,它不是您不能将其视为关系数据库。请求必须相同。因此,无论您查看的是什么报告,都可以仔细地找到其使用的所有维度和指标以及任何过滤器,并以此针对api运行您的请求。