Wypróbuj serwer MCP w Google Analytics. Zainstaluj go z
GitHub. Więcej informacji znajdziesz w
ogłoszeniu.
SamplingMetadata
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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`. |"]]