Try the MCP server for Google Analytics. Install from
GitHub, and see the
announcement for more details.
SamplingMetadata
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
[null,null,["Last updated 2024-11-19 UTC."],[[["\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`. |"]]