Teste o servidor MCP do Google Analytics. Instale no
GitHub e confira o
anúncio para mais detalhes.
SamplingMetadata
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-26 UTC.
[null,null,["Última atualização 2025-07-26 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`. |"]]