After you enable Ajax Recording and set up your allowlist, you can search for Ajax errors by URL, status code, or request method. This allows you to create segments, metrics and dashboards that help you identify and monitor Ajax issues on your site.
Using Ajax Errors in Segments
Use segments to search for all sessions where an Ajax error with specific criteria has occurred.
Start by creating a segment using the "Ajax error URL" event filter. You can search for a specific URL or set your criteria to "any" to search against all URLs on your site.
Click the "Refine event by" icon to narrow your search by "Ajax error - Status code" and "Ajax error - Request method."
Using Ajax Errors in Metrics and Dashboards
You can also use metrics and dashboards to define and visualize the impact of Ajax errors in aggregate. For example, let's say you'd like to see weekly trends in Ajax errors by request status over the past 90 days.
Start by creating a new metric that counts the number of Ajax errors for any URL on your site.
Next, add a new metric trends card to a dashboard. Configure the settings like so:
Finally, save the card to see your results.
Play around with Ajax error aggregation by changing the Group by option to Request URL Path or Request Method to see trends against other relevant dimensions.
Need a refresher on how to build metrics and dashboards? Check out our enablement course at learn.fullstory.com!