Skip to main content
POST
Sessions counted per group, with filter conditions

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

tracker_code
string
required

Body

application/json
start_date
string<date> | null

Inclusive start of the window. Defaults to end_date, so omitting both dates returns today. Widen explicitly for multi-day analytics and expect higher latency on long ranges with high-traffic trackers.

end_date
string<date> | null

Inclusive end of the window. Defaults to today.

offset
integer
default:0

Rows to skip; use meta.next_offset for the next page.

Required range: 0 <= x <= 100000
group_by
enum<string> | null

Count per channel, a traffic column, landing page, sector (SIC major group), country, city, company or a time unit (hour 0-23, weekday 0 = Sunday). Without it: one row with the totals of the window.

Available options:
channel,
source,
medium,
campaign,
term,
content,
referrer_host,
click_provider,
landing_page,
sector,
country,
city,
company,
day,
week,
month,
hour,
weekday
domain_filter
string | null
limit
integer
default:50
Required range: 1 <= x <= 500
filters
SessionFilterRule · object[]

Response

Successful Response

data
SessionCount · object[]
required
meta
SessionCountsMeta · object
required