JavaScript errors

From ClickTale Wiki
Jump to: navigation, search

Sometimes you might spot an event added to some of your recordings named "jserror". The jserror event is automatically added to recordings when JavaScript errors occur on your page. This can be used as a tool for debugging your website. To further assist you in locating and removing it, the error data itself appears in the "Actions" data for the recording, just below the "Input" monitor, pausing the video and then hovering over the "?" will show you more information about the code that triggered the event eg "at xyz.com/code.js Line:214". Below are a few other ways to gain more insight into your JavaScript errors.

Contents

Using the Pages report

In your Dashboard, click on Reports (left side of the page), followed by Pages, then Most Errored: this will show you which pages are generating the most JavaScript errors on the client side.

Use Search to see the specific errors

You can go to the Events filter and search for visitors with the jserror Event Tag. Once you get your search results you can view the specific page the error occurred on, what the error was, and which line of your code generated the error

Set up an alert to be emailed when errors occur

Just set up a search to find visitors with the jserror Event Tag (and any other filters you want to combine with it) and click the "Save as alert" button at the bottom of the page.

Using the JavaScript error report

You can also see the JavaScript error trends from your Dashboard by clicking on Reports, Trends, then JavaScript Errors.

Personal tools