When you've set up Network-Error-Logging (NEL for short) with URIports, you'll receive lots of valuable reports in your account that can help you sort out all kinds of problems with your website. When the browser of your site visitor encounters a broken link (a so-called 404), the browser will dispatch a NEL report. URIports makes it easy to track down those 404 errors so you can fix them like as boss. 🤘
Network Error Logging is a mechanism enabling web applications to instruct user agents to report network errors for a given origin. NEL is part of the Reporting API that can be enabled using the "Report-To" header. Thanks to NEL it is possible to accurately measure performance characteristics of web applications and it is an important aspect in helping site developers understand how to improve their web applications.
How to hunt down broken links
- Log into your URIports account
- Click the "Network Error" report in the navbar (1) - Now you'll see all network data we received from your site visitors.
- Adjust the search type to "Exact match" (2)
- Enter the "404" code in the search field and hit the "Search" button
- If there are any 404 entries within your account they will now be visible.
- Click the "multiple entries"-icon (4) to dive deeper and reveal the specific entries
Here we see the exact links that triggered the 404 error (1). On the right (2) you can see the number of times the 404 was triggered (C) and the number of unique sources that triggered the error (S). The entry with the most unique sources will be on top. The top ones are the links you want to fix first, as most of your site visitors encounter them.
The "Inspect"-button on the right (3) will show you even more details like the referrer page, used protocol and elapsed loading time.
Good luck and thanks for using URIports!