Description Usage Arguments Value See Also
Paginate through pages of Google Analytics Query responses
In case if a single query returns more than 10k rows,the Core Reporting API returns a subset of the rows at a time. This function loops across all such subsets (pages) in order to retrieve data corresponding to the entire query. The maximum number of rows corresponding to a single query that can be retrieved via Pagination is 1 M.
1 | PaginateQuery(query.builder, pages, token, delay)
|
query.builder |
Name of the object corresponding to the query builder class |
pages |
Integer representing the number of pages across which the query has to be paginated |
token |
Token Object created by |
delay |
Time delay in seconds between successive queries in order to avoid Rate Limit Error |
list containing Column Headers and the data collated across all the pages of the query
https://developers.google.com/analytics/devguides/reporting/core/v2/gdataReferenceDataFeed#largeDataResults
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.