{"_id":"573f3c58dbf53019002fac0e","parentDoc":null,"version":{"_id":"56e96242d825061900d1abeb","hasReference":true,"__v":5,"hasDoc":true,"project":"56e96242d825061900d1abe8","createdAt":"2016-03-16T13:40:18.429Z","releaseDate":"2016-03-16T13:40:18.428Z","categories":["56e96242d825061900d1abec","56ebe6213de6a00e0041fd7a","570f4a00a38d470e0060cabf","570f6a3a620fdd190017f7ca","570f6a46986c040e008f7b0d"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"__v":2,"category":{"_id":"570f4a00a38d470e0060cabf","project":"56e96242d825061900d1abe8","version":"56e96242d825061900d1abeb","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-04-14T07:42:56.518Z","from_sync":false,"order":2,"slug":"app-library","title":"App Library"},"user":"57041be58c69510e00b1de4d","project":"56e96242d825061900d1abe8","githubsync":"","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-05-20T16:33:28.008Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":49,"body":"[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/670a690-Track_JS.png\",\n        \"Track JS.png\",\n        186,\n        64,\n        \"#fadbd9\"\n      ],\n      \"border\": true\n    }\n  ]\n}\n[/block]\n**TrackJS** is the easiest way to Track, Log, Monitor, and Report JavaScript Errors from your Web Application. Get started tracking Angular, Ember, Backbone, React, Knockout, Ampersand, Polymer, and Vanilla JS in minutes.\n[Go to TrackJS](https://trackjs.com/)\n***\n**StackPile** offers an easy way for you to install 3<sup>rd</sup> party apps and tools on your website in seconds without expensive code changes.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"1. Getting Started\"\n}\n[/block]\n**Note:** If you already have the **TrackJS** snippet installed on your site, please remove it.\n\nAdd **TrackJS** to your stack in the [StackPile Dashboard](https://stackpile.io/dashboard), add your **Token** (see [Settings](#2-settings) on how to obtain this) and click on **Enable**.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/cb14c7a-Token.png\",\n        \"Token.png\",\n        512,\n        208,\n        \"#f8f8f7\"\n      ],\n      \"border\": true\n    }\n  ]\n}\n[/block]\nThe **StackPile** - **TrackJS** integration will then start tracking ***JavaScript*** errors on your website and send you notifications.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"2. Settings\"\n}\n[/block]\n **Token**\nYou can find your **Token** on your **TrackJS Dashboard** under the **Account** dropdown > **Install**. \n\nIt is the 32 character hexadecimal number after the `token` tag in the JavaScript snippet, e.g.\n`token: '132466f547364cc2763b54553bfe4f17'`\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<!-- BEGIN TRACKJS -->\\n<script type=\\\"text/javascript\\\">window._trackJs = { token: '132466f547364cc2763b54553bfe4f17' };</script>\\n<script type=\\\"text/javascript\\\" src=\\\"https://cdn.trackjs.com/releases/current/tracker.js\\\"></script>\\n<!-- END TRACKJS -->\",\n      \"language\": \"javascript\"\n    }\n  ]\n}\n[/block]\n[TOP](#top)","excerpt":"##Fix Your JavaScript\n####Track Error Context. Actually Fix Bugs.","slug":"trackjs","type":"basic","title":"TrackJS"}

TrackJS

##Fix Your JavaScript ####Track Error Context. Actually Fix Bugs.

[block:image] { "images": [ { "image": [ "https://files.readme.io/670a690-Track_JS.png", "Track JS.png", 186, 64, "#fadbd9" ], "border": true } ] } [/block] **TrackJS** is the easiest way to Track, Log, Monitor, and Report JavaScript Errors from your Web Application. Get started tracking Angular, Ember, Backbone, React, Knockout, Ampersand, Polymer, and Vanilla JS in minutes. [Go to TrackJS](https://trackjs.com/) *** **StackPile** offers an easy way for you to install 3<sup>rd</sup> party apps and tools on your website in seconds without expensive code changes. [block:api-header] { "type": "basic", "title": "1. Getting Started" } [/block] **Note:** If you already have the **TrackJS** snippet installed on your site, please remove it. Add **TrackJS** to your stack in the [StackPile Dashboard](https://stackpile.io/dashboard), add your **Token** (see [Settings](#2-settings) on how to obtain this) and click on **Enable**. [block:image] { "images": [ { "image": [ "https://files.readme.io/cb14c7a-Token.png", "Token.png", 512, 208, "#f8f8f7" ], "border": true } ] } [/block] The **StackPile** - **TrackJS** integration will then start tracking ***JavaScript*** errors on your website and send you notifications. [block:api-header] { "type": "basic", "title": "2. Settings" } [/block] **Token** You can find your **Token** on your **TrackJS Dashboard** under the **Account** dropdown > **Install**. It is the 32 character hexadecimal number after the `token` tag in the JavaScript snippet, e.g. `token: '132466f547364cc2763b54553bfe4f17'` [block:code] { "codes": [ { "code": "<!-- BEGIN TRACKJS -->\n<script type=\"text/javascript\">window._trackJs = { token: '132466f547364cc2763b54553bfe4f17' };</script>\n<script type=\"text/javascript\" src=\"https://cdn.trackjs.com/releases/current/tracker.js\"></script>\n<!-- END TRACKJS -->", "language": "javascript" } ] } [/block] [TOP](#top)