trackjs-test-deploy
v2.5.3
Published
TrackJS JavaScript error monitoring agent.
Downloads
2
Readme
TrackJS
The JavaScript Browser Agent for JavaScript Browser Error Monitoring from TrackJS.
The agent wraps the Browser's API to record context about your application, the network, and the visitor leading up to errors, allowing you to recreate and debug errors fast.
Quickstart
- Signup for TrackJS and get your token.
- Create a
_trackJs
initialization object in your app:
window._trackJs = { // Complete reference at http://docs.trackjs.com/
token: 'YOUR_TOKEN_HERE'
};
Include the
tracker.js
script in your app, after the initialization object. You can either reference directly, or bundle it into your other sources. We recommend thattracker.js
be the first script to execute so that it can catch errors from everything else.Test it out by tracking an error, either in your code or from the console:
trackJs.track('testing!')
See the new error in your TrackJS Recent Errors within a few seconds.
If you run into any trouble, let us know right away at [email protected]