Top Pages

The pages where a given event fired most often.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Ranks the pages (page.path) on which an event fired most often over the window.

  • Defaults to Page Viewed (your most-visited pages). Pass by_event to rank the pages tied to another event, e.g. Subscription Created.
  • Each row's percentage is its share of the event's total.
  • Pass user_id to scope to a single customer belonging to the site.
Query Params
integer
required

The site ID to scope this request to.

string

The customer-activity event whose pages to rank. Defaults to "Page Viewed". Common values: "Page Viewed", "Subscription Created", "Registered", "Paywall Displayed". The valid set is per-site; an unrecognized value returns a 400 listing the events this site has recorded.

integer
≥ 1

Scope the result to a single customer belonging to the site. Returns 404 if the customer is not on this site.

date

Start of the window in YYYY-MM-DD. Use with to. When omitted, a trailing default window is used. The from–to span is capped at the site’s activity retention window (90 days by default).

date

End of the window in YYYY-MM-DD. Must be on or after from and no later than today.

integer
1 to 90

Alternative to from/to: size of the trailing window in days (1–90). Bounded by the site’s activity retention window.

integer
1 to 100

Maximum number of pages to return (1–100, default 10).

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json