How To Set Up Alerts for 404 Error Pages in Google Analytics?


Set up 404 Alerts in Google Analytics

To a casual web surfer, there’s nothing more annoying than hitting rock-bottom, i.e. getting a soft 404. I mean sure, things can be spiced up by adding creative 404 pages and what not. But a 404 is usually not a good sign, and shows negligence on your part. Server errors (3xx) are somewhat tolerable (and permissible), since there’s no controlling a web server. But a 404 is something a webmaster can easily correct. Talking about which, Google Analytics can make finding 404 errors a lot easier! There’s a small trick you can use to get alerts for 404 error pages, so that you’ll be the first to know when there’s a 404 broken link on your site!

Of course, there are other, more advanced ways of finding and fixing 404 errors. Google Webmaster Tools can be a starting point, and so can be Google Analytics (we’ll discover troubleshooting 404 pages with Google Analytics in a later post). And so many others. But Google Analytics remains one of the best analytics software out there. And for what it’s worth, this particular little trick can come in really handy – something webmasters should definitely try.

Set up 404 alerts in Google Analytics

Setting up alerts is really. All you need to do is create a trigger, and an associated action in Google Analytics. Follow these steps to create a 404 Alert.

  • Log into your Google Analytics, and then select the property (site) you want to set up alerts for
  • Click on the Admin button at the top-right
  • Now, scroll down a bit, and look for the option Custom Alerts. Click on it, and then click on Create new alerts
Custom Alerts
  • Now the next bit is important, so bear with me. Enter any name for your alert, and make sure the period is set to Day (See image below)
  • Check the box that says Send me an email when this alert triggers. You can set multiple email addresses here. Bonus for people in US; you can also set up a phone number, where you will receive text messages right on your cell!
  • Now, the next part. Each alert needs an event, and a conditional trigger. In our case, we will set up an event for a “404 Page”, and a trigger for when such a page gets a Pageview (more than 0 in number). See the image below for clarification
Creating a 404 alert

Now, you should get an email notification whenever a “Pageview” “Greater than” “0” happens for your pages that contain “404 Not Found” in their “Page Titles”.

Handy trick, yes? What do you think of it? Let us know in the comments section below. Cheers 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *