试用 Google Analytics 的 MCP 服务器。从
GitHub 安装,并参阅
公告了解详情。
SamplingMetadata
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eFunnel report results may be sampled, meaning only a subset of data is analyzed to represent the larger dataset.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esamplesReadCount\u003c/code\u003e field indicates the number of events analyzed in the sampled report.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esamplingSpaceSize\u003c/code\u003e field represents the total number of events that could have been analyzed.\u003c/p\u003e\n"],["\u003cp\u003eTo determine the sampling rate, divide \u003ccode\u003esamplesReadCount\u003c/code\u003e by \u003ccode\u003esamplingSpaceSize\u003c/code\u003e.\u003c/p\u003e\n"]]],["The document describes metadata for sampled funnel reports, detailing the percentage of events analyzed. `samplesReadCount` represents the total events read in the sampled report, while `samplingSpaceSize` indicates the total events available for analysis. These fields, both strings in int64 format, allow for calculating the percentage of data used by dividing `samplesReadCount` by `samplingSpaceSize`. Sampling analyzes a data subset to find key information in the larger dataset.\n"],null,["# SamplingMetadata\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nIf funnel report results are [sampled](https://support.google.com/analytics/answer/13331292), this metadata describes what percentage of events were used in this funnel report for a date range. Sampling is the practice of analyzing a subset of all data in order to uncover the meaningful information in the larger data set.\n\n| JSON representation |\n|---------------------------------------------------------------------|\n| ``` { \"samplesReadCount\": string, \"samplingSpaceSize\": string } ``` |\n\n| Fields ||\n|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `samples``Read``Count` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The total number of events read in this sampled report for a date range. This is the size of the subset this property's data that was analyzed in this funnel report. |\n| `sampling``Space``Size` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The total number of events present in this property's data that could have been analyzed in this funnel report for a date range. Sampling uncovers the meaningful information about the larger data set, and this is the size of the larger data set. To calculate the percentage of available data that was used in this funnel report, compute `samplesReadCount/samplingSpaceSize`. |"]]