Tracking Broken Links

Broken links or 404 errors on your website is one of the most annoying experience from user perspective. This may discourage user to return to your website which is not good for Marketing/Branding. From developer or owner end, it may not be easy to keep track of all broken links every time the website content changes.

Here is an alternative solution that uses modern tracking tools like Google Analytics to serve the purpose. It relies on creation of default 404 error page & add the below tracking code on 404 page itself.