Get page stats
get_page_statsVisits of the user's pages over the last days days, per page: views,
daily views, channels (where visitors came from), top referrers (sites) and
countries, plus channels totals for the whole site.
Channels: instagram_dm (the links the automations' DMs send; Saypage tags them ?source=instagram), instagram_bio (untagged visits from Instagram: almost always the bio link, sometimes a story link), saypage (from another of the user's pages), other_sites, direct (typed, bookmarked, or opened from an app that hides where it came from), or the tag of a link the user shared elsewhere with ?source=tiktok, facebook, youtube, linkedin, pinterest, x, threads, email, newsletter, website or qr. Never suggest ?source=instagram on a bio link: it would count as DM visits. Clicks on the links inside a page are not counted (pages run no tracking script), and every page load counts, link-preview bots included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back window in days |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||