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
  • In this case, I have set up an alert for all pages that contain the phrase "404 Not Found" in their title tag. This might be different for different sites, so if you want to be accurate, just navigate to a 'bogus' page on your website, and notice the page title. "404 Not Found" might not be in the title of your error page (it might be something like "Oops, we're sorry" etc.).

    Also keep in mind not to add any general phrases, such as simply "404". Because pages that aren't broken might also have such a phrase in them. The very page you're on right now is a good example
  • Next is the condition. I have selected Pageviews to be monitored for my 404 pages. I could use 'Visits' or 'Unique Views' too, but 'Pageviews' seems to give the most accurate results. In the condition, select "is greater than", and then enter a value in the field given next to it.

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 :)

If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »

7 comments

PLEASE NOTE:
We have Zero Tolerance to Spam. Chessy Comments and Comments with 'Links' will be deleted immediately upon our review.
  1. very nice and informative sir. hope i will a have a bit from this tutorial.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. Really Good Post
    can you please tell me how to redirect ( domain.com To www.domain.com )

    My Site : http://www.trickytricks4u.com

    ReplyDelete
  4. Really amazing post.According to Wikipedia “The 404 or Not Found error message is a HTTP standard response code indicating that the client was able to communicate with the server, but the server could not find what was requested.” Or, in more general terms, the 404 is the error you get when the page you are looking for does not exist, usually because the link you clicked was broken.

    ReplyDelete
    Replies
    1. Thanks Sir for resounding it... We need people like you!

      Delete
  5. Now I found the key to manage my 404 page! This blog really help me in understanding the HOW's in blogging. Thanks MBT family as usual.

    ReplyDelete
  6. plz some one help me.
    Check my blog and plz tell me why adsense disapproval me.

    haidarustaad.blogspot.com

    ReplyDelete