Usage

The Usage API takes page view records from remote agents for processing into the Dashboard. This shows how many page views a given account and application have received, so you can attribute error spikes as new issues or high traffic.

The API does not require authentication.

URI

GET https://usage.trackjs.com/usage.gif?token={TOKEN}

application

String

Optional

Attribute the traffic to the application key.


correlationId

String

Optional

Attribute the traffic to the user-generated correlation Id.


token

String

Required

The token identifies error traffic for your account. Get this from the install page.

Response

The response is a 1x1 transparent gif

Example

new Image().src = "https://usage.trackjs.com/usage.gif?token={TOKEN}&application={APP}&correlationId=123456789"