Google 分析数据是否通过 Garb ruby gem 抽样
Is Google Analytics data fetched via Garb ruby gem sampled
数据是否通过 Garb 从 Google Analytics 配置文件中提取?我们通过 Garb 从 GA 配置文件中获取特定日期范围内的结果,如下所示:
class Downloads
extend Garb::Model
metrics :totalEvents
dimensions :eventAction, :eventLabel, :eventCategory, :date
end
downloads = Downloads.results(<profile id of view in GA>, start_date: Date.civil(2015,8,10), end_date: Date.today, offset: 1, limit: 800)
当我在 Google Analytics 仪表板中查看相同日期范围的 GA 配置文件中的相同数据时,我在顶部看到了采样消息。这是否意味着通过 Garb 获取的数据也被采样了?
来自文档
When a report is based on data from a large number of sessions, you
may see the following notice at the top of the report: This report is
based on N sessions. This notice alerts you that the report is based
on sampled data. Sampling occurs automatically when more than 500,000
sessions (25M for Premium) are collected for a report, allowing Google
Analytics to generate reports more quickly for those large data sets.
When your report is based on sampled data, you have the option to
adjust the sample size to increase accuracy or increase speed. Note
that Flow Visualization reports are sampled after 100,000 sessions and
1 million conversions in the Multi-Channel Funnel reports.
解释:
Google 分析网站中的所有报告和来自 Google 分析 API 的数据 return 都可以被采样。这取决于您的查询的大小和它将 return.
的数据量
数据是否通过 Garb 采样从 Google Analytics 配置文件中提取?是的,可以。
这是否意味着通过 Garb 获取的数据也被采样了?是
提示:
我帮不上什么 ruby 但你可以向 Google 分析 api 发送请求 samplingLevel 如果你将它设置为 HIGHER_PRECISION
你可以减少数量数据被采样并没有完全删除它,但你可以减少它。
同样,我对 ruby 帮不上什么忙,但是 API return 关于您的请求抽样的信息。查找名为 containsSampledData
的字段,如果其设置为真,则 API 的数据 return 被采样。
数据是否通过 Garb 从 Google Analytics 配置文件中提取?我们通过 Garb 从 GA 配置文件中获取特定日期范围内的结果,如下所示:
class Downloads
extend Garb::Model
metrics :totalEvents
dimensions :eventAction, :eventLabel, :eventCategory, :date
end
downloads = Downloads.results(<profile id of view in GA>, start_date: Date.civil(2015,8,10), end_date: Date.today, offset: 1, limit: 800)
当我在 Google Analytics 仪表板中查看相同日期范围的 GA 配置文件中的相同数据时,我在顶部看到了采样消息。这是否意味着通过 Garb 获取的数据也被采样了?
来自文档
When a report is based on data from a large number of sessions, you may see the following notice at the top of the report: This report is based on N sessions. This notice alerts you that the report is based on sampled data. Sampling occurs automatically when more than 500,000 sessions (25M for Premium) are collected for a report, allowing Google Analytics to generate reports more quickly for those large data sets. When your report is based on sampled data, you have the option to adjust the sample size to increase accuracy or increase speed. Note that Flow Visualization reports are sampled after 100,000 sessions and 1 million conversions in the Multi-Channel Funnel reports.
解释:
Google 分析网站中的所有报告和来自 Google 分析 API 的数据 return 都可以被采样。这取决于您的查询的大小和它将 return.
的数据量数据是否通过 Garb 采样从 Google Analytics 配置文件中提取?是的,可以。
这是否意味着通过 Garb 获取的数据也被采样了?是
提示:
我帮不上什么 ruby 但你可以向 Google 分析 api 发送请求 samplingLevel 如果你将它设置为 HIGHER_PRECISION
你可以减少数量数据被采样并没有完全删除它,但你可以减少它。
同样,我对 ruby 帮不上什么忙,但是 API return 关于您的请求抽样的信息。查找名为 containsSampledData
的字段,如果其设置为真,则 API 的数据 return 被采样。