Site summary
get_site_summaryA site's figures over a range beside the period before: pageviews, visits, visitors, bounce rate and visit duration, each one's change, the counts by day, week or month, and the top channels, sources, pages and countries. The answer's caveats are the rules that apply to its figures, such as visitors being visitor-days or today being partial: read them before reporting any figure, and pass on those that change what it means. Name the site by its domain, and the range one way: range, a preset; days, from 1 to 3660, with ending; or from and to, as YYYY-MM-DD. With none, it is the 7 whole days to yesterday. A range that cannot be read exactly as asked is refused, not moved, saying why and naming the site's today, and so is a filter, saying why. filters, at most 6 and one to a dimension, each narrows every figure. The answer echoes the site, range and filters with a dashboard link; then totals; previous, the period compared with and its totals; change, each figure's as a whole percentage of the previous, bounce rate's in points, null where there is none; per_day, where the periods differ in length; basis, how their days were counted; ended_visits; series; and top. Under a goal filter the figures are the goal's conversions, events and conversion rate. Under a source, referrer or campaign filter, other_values_containing lists stored values close to the filter's, such as Google News beside Google; where filters match nothing, suggestions offers values that do.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | With from: the last day, as YYYY-MM-DD, not after today. | |
| days | No | The last this many days, ending today unless ending says yesterday. | |
| from | No | With to: the first day, as YYYY-MM-DD. | |
| range | No | A preset: today; yesterday; this-week, Monday to today; this-week-sun, Sunday to today; last-7-days, today and the 6 days before it; last-week, Monday to Sunday of the week before this one; last-week-sun, Sunday to Saturday of the week before this one; last-14-days, today and the 13 days before it; this-month, the 1st of this month to today; last-30-days, today and the 29 days before it; last-month, the whole of the month before this one; all-time, the day the site was added to today. One running to today includes today so far; for whole days, use days with ending yesterday. | |
| domain | Yes | A domain from list_sites, or any public site's. | |
| ending | No | With days: the last day, today by default. | |
| filters | No | Each narrows every figure to what has exactly that value, case and all, so google is not Google; all must hold. |