Google Analytics Trick: See The Full Referring URL

Written by Sebastien

Topics: Internet

google analyticsIf you use Google Analytics to track your websites stats, you have probably realized that Google doesn’t let you see the full URL of the sites referring traffic to you. That’s a basic feature that somehow is not included in GA but fortunately for us, there is a simple trick you can implement to display the full URL of the referring site.

Before I explain you this trick, let me give full credit to Ruben Yau for actually coming up with it. I also want to thank Ruben for replying to my comment/question on his blog so quickly.

As stated above, Google Analytics doesn’t let you see from what specific page your visitors are coming.

For example, instead of showing this as the traffic referrer:
http://digg.com/apple/How_to_install_ipa_files_on_iPhone_and_iPod_Touch,

it will just show you this: Digg.com

That’s not very useful information…

The solution to view the full URL of the referring site is to implement a simple hack that uses filters to place the referrer into the User Defined Report.

Instructions:

Go to your Google Analytics account and click on Filter Manager > Add Filter, and enter the following information:

Filter Name: Full Referrer (or whatever you want to call it)
Filter Type: Custom Filter
Advanced
Field A -> Extract A: Referral (.*)
Field B -> Extract B: leave blank
Output To -> Constructor: User Defined $A1
Field A Required: Yes
Field B Required: No
Override Output Field: Yes
Case Sensitive: No

It should look like this:

filter

Now, if you look at your Traffic Sources, you usually see this:

Too see your User Defined Report containing the full information about the referring sites, click on “Visitors” in the nav bar and choose “User Defined”. You should get something like this:

That’s it! Pretty easy, yet very useful.

On his site, Ruben also explains another option involving tweaking the Google Analytics code, but that seemed a little too complex for me, especially given that this method works perfectly.

Now I’d like to see GA implement this without having us use workarounds. That’s a basic feature that should be included in GA by default. Oh well, with Google, it’s take it or leave it, isn’t it?

38 Comments Comments For This Post I'd Love to Hear Yours!

  1. No DPad says:

    Thanks for this tip. I’ve always been frustrated by the lack of full URLs. It’s working perfectly.

  2. TechCombo says:

    Extremely useful trick. Thankyou Sebastian, this will surely help many bloggers using Analytics!

  3. Suke says:

    Sebastien – this is a great tip – thank you so much. It’s a real help to me when analysing our web traffic.

    Thanks for sharing

  4. Lex dePraxis says:

    Cant find the FILTER MANAGER option. Help please.

  5. Sebastien says:

    @Lex – go to the summary page of all (if several) the websites you’re tracking with Google Analytics. Scroll down to the bottom and look at the right, you will see the “filter manager”

  6. Makend Willy says:

    Thanks You very Much, Thanks you

  7. James says:

    Quick question: All I get is a huge number of (Not Set) What am I doing wrong?

  8. Jes says:

    Hello – great post, but I am also getting the (not set) in my reports, in fact it is all I get. Would be great to get some ideas on why this is. Thanks!

  9. Adam says:

    I’m also just getting a very large “not set” value on both the Visitors and Referred Sites reports. What are we doing wrong?

  10. Miami Music says:

    The messed up part is that my pages go from 1 of 900 to 1 of 29 as it groups a large part of my referrers as NOT SET.

    If anyone can explain how to work around this I would greatly appreciate it.

  11. Miami Music says:

    I think I realized something guys. Someone try this out and let me know if you think its a possibility.

    NOT SET is for days before you created the filter.

    So I set this yesterday.. anything before yesterday say NOT SET
    Yesterday and today show up.

  12. Deepak Aujla says:

    Cheers for this Sebastien (and Ruben Yau) !

    Its still surprising full referring URLs are not available within GA. This article is a must for analytics data analysers.

    Cheers,

    D

  13. JP says:

    Hi, will this referral url include the Google ‘utm’ code for campaign related links?

  14. Sebastien says:

    Not sure about that. Try it and let us know :)

  15. Does this trick still work? I’ve just tried implementing it on 2 analytics accounts and all I see is one user defined value, which is “(not set)”.

    Any ideas?

    Thanks.

  16. Sebastien says:

    Hi Kieron

    I confirm this trick still works. You must have done something wrong. Make sure you did everything as described in the article.

    Sebastien

  17. Sebastien, thanks for this post. I followed Ruben’s blog post but maybe I skipped over the part about looking at the the user-defined value inside visitors. This provides such an insight into your traffic and puts bounces/exits into perspective.

  18. Dennis says:

    I have been using this trick for about 6 months and all of the sudden (April 18, 2010) we are not seeing the referring sites anymore. Everything shows up as “not set”.

    We made no changes to our set up (both in GA and our website).

    Any thoughts? Anybody experiencing the same thing?

  19. Iliya says:

    Same problem. I used the filter for about 3 months and since last week, around 13 – 14th of April the only thing I get in the User Defined report is (not set). I haven’t made any changes neither to my GA account, or the code on my blog.

    Is this “Trick” now disabled by GA stuff, due to privacy of visitors violation? Like the one with which the IPs of visitors was viewed.

  20. Supernatural says:

    I realize this trick is very useful. Thanks for this.

  21. Quite useful for bloggers like me. :)

  22. Sally Grady says:

    If only I had a buck for each time I came here.. Amazing read.

  23. Laura says:

    Thank you so much! I am sick of Analytics telling me that someone from a blog came here- where on their blog did they mention me? This was so helpful!

  24. Tyler says:

    Hi Sebastien –

    I found your post while looking for a different problem/solution. It’s very well written, and the screenshots are helpful.

    But an observation – can’t you get the same data you’re looking for by going to Traffic Sources > Referring Sites, and then clicking the source for detailed pages?

    For example, on Referring Sites, it might list seoblog.com. But then if I click on that domain, it takes me to the Referring Site detail page, where I could see that I received traffic from /blog-post-1 and /blog-post-2, both being URLs on seoblog.com

    This keeps your data much more tightly organized initially around domains, with the ability to drill down from there.

  25. Sebastien says:

    @Tyler Yes you are correct. Is this something new in Google Analytics? I’m pretty sure this wasn’t an option a year or 2 ago.

  26. Tyler says:

    Hi Sebastien –

    They probably added that in at some point – I’m not sure when. Hope it was helpful to the discussion.

    Cheers,
    Tyler

  27. Matt says:

    Thanks, exactly what I’ve been looking for!

    For everyone that thinks it may be broken, I thought the same thing. Then when I saw the Google Analytics blog referred to this blog (http://analytics.blogspot.com/2010/06/web-analytics-tv-10-with-avinash-and.html) I figured his solution had to be right.

    When you’re looking at your referring sites you may have to click on the first dropdown, default set to ‘Source’ and change it to ‘User Defined Value’. Poof, there they are! :)

  28. Just landed on this through a google search. Thought I would post a short comment and compliment you on your post.

  29. Liz says:

    Brilliant tip Sebastien..thankyou. Only just started with GA, so it will be great to get this in place right at the beginning

  30. This filter still works, thank you for the tip.

  31. Alan says:

    Hey Matt
    I still get only (not set)… any ideas?

  32. netnotion.nl says:

    Very nice indeed. How long should it take before the changes are visible?

  33. Freddy says:

    I got the samen probleem. GA keeps on saying ‘not set’…

  34. What a life saver. Thanks for the great step by step. This may be the first “how to” I’ve seen with screenshots, and it makes it so clear. Thanks, I’m testing it right now. I’m not sure if it works on past data, or only on newly collected data. We’ll see…
    -Per

  35. Jess says:

    Now that’s what I like… a simple way of curing a really irritating issue with Google Analytics. Thanks.

  36. Sash says:

    Still wondering why google doesn`t include the full referrer url in the stats. It`s a basic information need. Thanks for the tutorial, works great!

38 Comments Trackbacks For This Post

  1. Web Analytics TV Episode #6 with Avinash and Nick « Analytics Expert
  2. Web Analytics TV Episode #6 with Avinash and Nick | Rodney Payne
  3. Aitir Google Lab » Web Analytics TV Episode #6 with Avinash and Nick
  4. Web Analytics TV Episode #6 with Avinash and Nick | Analytics Expert Blog
  5. Improving the Value of Links with Google Analytics | Online Marketing | Search Engine Marketing | SEO | PushON blog
  6. Web Analytics TV #10 with Avinash and Nick | LiftSEO
  7. Web Analytics TV #10 with Avinash and Nick | Analytics Expert Blog
  8. PCCompete! » Blog Archive » วิธีการตั้งค่าให้แสดง Full URL ใน Google Analytics
  9. Web Analytics TV #10 with Avinash and Nick | Google Caffeine SEO
  10. Web Analytics TV Episode #6 with Avinash and Nick | Google Caffeine SEO
  11. Volledige verwijzing in Google Analytics » netnotion.nl

Leave a Comment Here's Your Chance to Be Heard!