Stats

Get Referrer Stats

Get a list of referrers and their stats.

get/website/{hostname}/referrers

Path parameters

hostnamestring hostname required

Hostname for the website.

Query parameters

groupedboolean

Whether to return the grouped aggregation name or only URLs.

summaryboolean

Return a summary of the stats.

startstring date-time

Period start date using date-time notation in RFC3339 format, for example, (2017-07-21T17:32:28Z).

endstring date-time

Period end date using fdate-time notation in RFC3339 format, for example, (2017-07-21T17:32:28Z).

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.

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.

Browser name.

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.

Operating system name.

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.

Device type.

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.

Country name.

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.

Language code.

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.

Name of the property.

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.

Value of the property.

limitinteger

Limit the number of results.

offsetinteger

Offset the results paired with the limit parameter.

Cookies

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

Session token for authentication.

Response

OK

referrerstring required

Referrer URL.

visitorsinteger required

Number of unique visitors from referrer.

visitors_percentagenumber float required

Percentage of unique visitors from referrer relative to all visitors.

bounce_percentagenumber float

Bounce rate percentage from referrer.

durationinteger

Total time spent on page from referrer in milliseconds.

Changes

Changed in 21 of the 50 revisions of this API.163441

    • the optional response header X-API-Commit removed for the status 200

      optional-response-header-removed

    • the optional response header X-API-Commit removed for the status 400

      optional-response-header-removed

    • the optional response header X-API-Commit removed for the status 401

      optional-response-header-removed

    • the optional response header X-API-Commit removed for the status 403

      optional-response-header-removed

    • the optional response header X-API-Commit removed for the status 404

      optional-response-header-removed

    • the optional response header X-API-Commit removed for the status 500

      optional-response-header-removed

    • added the new optional query request parameter prop_name

      new-optional-request-parameter

    • added the new optional query request parameter prop_value

      new-optional-request-parameter

    • removed the optional property / from the response with the status

      response-optional-property-removed

    • added the optional property / to the response with the status

      response-optional-property-added

    • added the new optional query request parameter grouped

      new-optional-request-parameter

    • api tag Stats added

      api-tag-added

    • api tag stats removed

      api-tag-removed

    • deleted the query request parameter interval

      request-parameter-removed

  • 7e58a00a419e22See the full diff
    • for the query request parameter limit, default value 5 was removed

      request-parameter-default-value-removed

    • for the query request parameter offset, default value 0 was removed

      request-parameter-default-value-removed

    • for the query request parameter limit, the max was increased from 500.00 to 5000.00

      request-parameter-max-increased

    • for the query request parameter offset, the max was increased from 500.00 to 5000.00

      request-parameter-max-increased

    • for the query request parameter end, the format was generalized from date to date-time

      request-parameter-type-generalized

    • for the query request parameter start, the format was generalized from date to date-time

      request-parameter-type-generalized

    • added the new optional query request parameter offset

      new-optional-request-parameter

    • for the query request parameter limit, the format was generalized from int32 to no format

      request-parameter-type-generalized