stats

Get UTM Medium Stats.

Get a list of UTM mediums and their stats.

get/website/{hostname}/mediums

Path parameters

hostnamestring hostname required

Hostname for the website.

Query parameters

startstring date

Period start date using full-date notation in RFC3339 format (YYYY-MM-DD).

endstring date

Period end date using full-date notation in RFC3339 format (YYYY-MM-DD).

interval'hour' | 'day' | 'week' | 'month' | 'year'

Period interval.

eqstring

Equal to.

neqstring

Not equal to.

containsstring

Contains.

not_containsstring

Does not contain.

starts_withstring

Starts with.

not_starts_withstring

Does not start with.

ends_withstring

Ends with.

not_ends_withstring

Does not end with.

instring

In.

not_instring

Not in.

Path of the page.

eqstring

Equal to.

neqstring

Not equal to.

containsstring

Contains.

not_containsstring

Does not contain.

starts_withstring

Starts with.

not_starts_withstring

Does not start with.

ends_withstring

Ends with.

not_ends_withstring

Does not end with.

instring

In.

not_instring

Not in.

Referrer URL of the page hit.

eqstring

Equal to.

neqstring

Not equal to.

containsstring

Contains.

not_containsstring

Does not contain.

starts_withstring

Starts with.

not_starts_withstring

Does not start with.

ends_withstring

Ends with.

not_ends_withstring

Does not end with.

instring

In.

not_instring

Not in.

UTM source of the page hit.

eqstring

Equal to.

neqstring

Not equal to.

containsstring

Contains.

not_containsstring

Does not contain.

starts_withstring

Starts with.

not_starts_withstring

Does not start with.

ends_withstring

Ends with.

not_ends_withstring

Does not end with.

instring

In.

not_instring

Not in.

UTM medium of the page hit.

eqstring

Equal to.

neqstring

Not equal to.

containsstring

Contains.

not_containsstring

Does not contain.

starts_withstring

Starts with.

not_starts_withstring

Does not start with.

ends_withstring

Ends with.

not_ends_withstring

Does not end with.

instring

In.

not_instring

Not in.

UTM campaign of the page hit.

eqstring

Equal to.

neqstring

Not equal to.

instring

In.

not_instring

Not in.

Browser name.

eqstring

Equal to.

neqstring

Not equal to.

instring

In.

not_instring

Not in.

Operating system name.

eqstring

Equal to.

neqstring

Not equal to.

instring

In.

not_instring

Not in.

Device type.

eqstring

Equal to.

neqstring

Not equal to.

instring

In.

not_instring

Not in.

Country code.

eqstring

Equal to.

neqstring

Not equal to.

instring

In.

not_instring

Not in.

Language code.

limitinteger

Limit the number of results.

Cookies

_me_sessstring required
Example:_me_sess=token; Path=/; HttpOnly; Secure; SameSite=Strict

Session token for authentication.

Response

OK

mediumstring required

UTM medium.

visitorsinteger required

Number of unique visitors from UTM medium.

visitors_percentagenumber float required

Percentage of unique visitors from UTM medium.

Changes