While falling asleep about five minutes ago (looking at the longtail keywords for our blog) I was struck with a pretty awesome idea. If you remember Fixing Your 404’s with Google Analytics, I mentioned Matt Cutts solution, using Google Webmaster Tools to track where 404’s are coming from. Well, using a cool combination of a couple of Google Analytics tricks, I’ve realized that you can duplicate that same functionality in Google Analytics using a combination of the “full referrer” filter, and error tracking. This is currently just an idea, and I’ll have to test it and play around with it to get any bugs ironed out, but this should provide a way for you to pinpoint links to non-existent pages on your site.

Here’s how you do it:

1. Tracking your 404’s

The first part of this involves a previous blog post of ours. By playing your GATC code on your 404 error pages and then creating a quick filter, you can track visits to error pages. Here’s the filter:

This takes the title of the page (so error (three numbers) and whatever), then also takes the URI that the user requested, then combines them and outputs them, overwriting the requested URI string.

Using this, you can now see what pages are causing 404’s by using a data filter (at the bottom of a report) to and filtering by titles containing “404”.

2. Displaying Full Referrers

This is just another filter.

This takes the referral string and outputs it (raw) into the user-defined value.

3. Combine the two

Now you just have to build the report.

  1. Go into top content
  2. Filter by “404”
  3. In the second drop-down box, select “user defined value”.

Now since I just thought this up, and since it takes time for GA filters to propagate, I can’t tell if this will work flawlessly, but I can see no immediate reason why it shouldn’t. I’ll test it for a week and update this post with my findings.

Your request has been submitted and a rep will reach out to you shortly.

Message Sent

Thank you for your interest.

Thank you for registering.

You should receive a confirmation email from GoToWebinar with your unique webinar login information. If you do not receive this email or have trouble logging in to the event, please email asmaa.mourad@cardinalpath.com.

Thank you for subscribing!

You're now looped into the world's largest GMP resource hub!

Thank you for your submission.

Thank you for your submission.

Thank you for your submission.

Thank you for your submission.

Thank you for your submission.

Message Sent

Thank you for registering.

Thank you for your submission.

Message Sent

Thank you for registering.

Thank you for registering.​

Paid media spend by Government websites increased a whopping 139% YoY in 2020.

2020 Online Behavior Live Dashboard

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

2020 Online Behavior Live Dashboard

Thank you for your submission.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for your submission.

Message Sent

Thank you for registering.

Thank you for registering.

Cardinal Path is continuing with its series of free training. Next we are conducting training on Google Data Studio. Check it out here.
Cardinal Path hosted a live session to connect with you and answer all your questions on Google Analytics.
Get all the expertise and none of the consultancy fees in this not-to-be-missed, rapid-fire virtual event.

Thank you for submitting the form.

Thank you for submitting the form.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you.

Click here to download access the tool.

Message Sent

Thank you for registering.

Message Sent

Thank you.

Message Sent

Thank you.

Message Sent

Thank you

Message Sent

Thank you

Message Sent

Thank you.

Message Sent

Thank you

Message Sent

Thank you.

Message Sent

Success!
Your message was received.

Thank you.

Message Sent

Success! Thank you
for reaching out.