Getting started

First, include a script tag for troy js.

Next, start troy. Optionally, you can provide a object that contains your preferences. Below are all of the default preferences. You can find your API key on the troy dashboard.

Thats it! Troy will now log errors for you. You can view these errors in your dashboard. If you want to test that your integration works or want to log errors that don't actually trigger an error event, you can use the following code. This code is also useful if you chose to set 'autoDetectErrors' to false in your troy configuration.


Usage and limits

Troy has two plans. The free plan allows you to have a maximum of 50 active users per month. Every time that someone visits your website or html, css and javascript based mobile application for the first time in that month, an active user is created. When this amount is reached, errors will no longer be reported. The pay as you go plan allows you to have unlimited users. It costs $1 per every 1000 users.* In the pay as you go plan, errors will be constantly reported unless troy detectes an abnormal surge in errors being reported and temporarily disables your api key.

*Please note that the amount of active users that you have is rounded up to the nearest 1000.