Configuring HTTP Server Error Tracking

To track HTTP server errors, the Decibel sendHTTPError JavaScript API endpoint must be called on server error message pages.

This can be implemented as a single call such as below, for example in a tag management system, provided the DXA script is present on the page in question and is fired before the code below to trigger the HTTP error tracking. The call below must pass the error code as an integer, with text not being allowed.
<script>
    decibelInsight('sendHTTPError', 503);
</script>
Implementing this will enable you to filter by these errors in segments, while you will also be able to use the HTTP error reporting feature.