pirsch_query_statistics
Retrieve Pirsch Analytics statistics for a domain and date range, covering traffic, pages, events, acquisition, devices, geography, tags, keywords, and funnels.
Instructions
Read Pirsch Analytics v1 statistics for a domain and date range. Pass domainId from pirsch_list_domains to query a specific domain. Supports traffic, pages, events, acquisition, devices, geography, tags, keywords, and funnels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Inclusive end date in YYYY-MM-DD format. | |
| tag | No | ||
| city | No | ||
| from | Yes | Inclusive start date in YYYY-MM-DD format. | |
| path | No | ||
| sort | No | ||
| tags | No | ||
| event | No | ||
| limit | No | ||
| scale | No | ||
| start | No | Query the previous N seconds. Primarily useful for active visitors. | |
| metric | Yes | The Pirsch statistic to return. | |
| offset | No | ||
| region | No | ||
| search | No | ||
| browser | No | ||
| country | No | ISO-3166 Alpha-2 country code. | |
| pattern | No | RE2-compatible page path pattern. | |
| utmTerm | No | ||
| domainId | No | Pirsch domain ID, typically selected with pirsch_list_domains. Falls back to PIRSCH_DOMAIN_ID. | |
| exitPath | No | ||
| language | No | ISO-639-1 language code. | |
| platform | No | ||
| referrer | No | ||
| timezone | No | IANA timezone, for example Europe/Berlin. | |
| direction | No | ||
| entryPath | No | ||
| eventMeta | No | ||
| utmMedium | No | ||
| utmSource | No | ||
| utmContent | No | ||
| screenClass | No | ||
| utmCampaign | No | ||
| eventMetaKey | No | ||
| referrerName | No | ||
| customMetricKey | No | ||
| operatingSystem | No | ||
| customMetricType | No | ||
| includeAverageTimeOnPage | No |