Google Analytics Trick: See The Full Referring URL

Written by Sebastien

Tags: , ,

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?

  • http://nodpad.com No DPad

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

  • http://techcombo.com TechCombo

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

  • Suke

    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

  • http://hitmansystem.com/blog Lex dePraxis

    Cant find the FILTER MANAGER option. Help please.

  • http://www.sebastienpage.com Sebastien

    @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”

  • http://w-consult.net Makend Willy

    Thanks You very Much, Thanks you

  • http://www.washingtonexaminer.com James

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

  • Jes

    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!

  • http://www.reece-eu.net/ Adam

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

  • http://305hiphop.com Miami Music

    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.

  • http://305hiphop.com Miami Music

    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.

  • http://bestpricemoving.biz bestpricemovingbiz

    this is good

  • Deepak Aujla

    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

  • Pingback: Web Analytics TV Episode #6 with Avinash and Nick « Analytics Expert

  • Pingback: Web Analytics TV Episode #6 with Avinash and Nick | Rodney Payne

  • JP

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

  • http://www.sebastienpage.com Sebastien

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

  • Pingback: Aitir Google Lab » Web Analytics TV Episode #6 with Avinash and Nick

  • Pingback: Web Analytics TV Episode #6 with Avinash and Nick | Analytics Expert Blog

  • http://webtoastie.co.uk Kieron Hughes

    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.

  • http://www.sebastienpage.com Sebastien

    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

  • Pingback: Improving the Value of Links with Google Analytics | Online Marketing | Search Engine Marketing | SEO | PushON blog

  • http://nkhil.com Nikhil Vijayan

    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.

  • http://pageclimber.com Dennis

    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?

  • Iliya

    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.

  • http://www.iwatchsupernaturalonline.com/ Supernatural

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

  • http://www.insurancebyjohn.com/ San Diego insurance

    Quite useful for bloggers like me. :)

  • http://videospellbound.blogspot.com Sally Grady

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

  • http://www.fromchaoscomescreation.blogspot.com Laura

    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!

  • Pingback: Web Analytics TV #10 with Avinash and Nick | LiftSEO

  • Pingback: Web Analytics TV #10 with Avinash and Nick | Analytics Expert Blog

  • http://www.tribalcore.com/blog Tyler

    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.

  • http://www.sebastienpage.com Sebastien

    @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.

  • http://www.tribalcore.com/blog Tyler

    Hi Sebastien –

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

    Cheers,
    Tyler

  • http://www.matttrostle.com Matt

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

  • Pingback: PCCompete! » Blog Archive » วิธีการตั้งค่าให้แสดง Full URL ใน Google Analytics

  • Pingback: Web Analytics TV #10 with Avinash and Nick | Google Caffeine SEO

  • Pingback: Web Analytics TV Episode #6 with Avinash and Nick | Google Caffeine SEO

  • http://www.evirtualservices.com/website_maintenance_administration%20.aspx website services in india

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

  • http://www.emlsystems.co.uk Liz

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

  • http://www.re-lianceinc.com/ Reliance, Inc.

    This filter still works, thank you for the tip.

  • Alan

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

  • http://www.netnotion.nl netnotion.nl

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

  • Freddy

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

  • http://www.netnotion.nl netnotion.nl

    it works :)

  • http://dailycrowdsource.com Per Andersson

    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

  • Pingback: Volledige verwijzing in Google Analytics » netnotion.nl

  • http://www.flexibleofficesdirect.co.uk Jess

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

  • http://www.dvderotik.com Sash

    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!

  • http://www.roidsstock.net Sven

    Really useful information. Thanks to Sebastien and Ruben Yau

  • James

    This is helpful and seems it is something my company setup a while back. However I am seeing a large % of ‘Other’ being listed even more so than ‘not set’. Has anyone seen this and determined a way to break out what ‘other’ is? Not sure why 48% of the data is under ‘other’. Seems something is missing?

  • http://freekeene.com Ian Freeman

    Doesn’t work for me either, “not set”.

    :(

    This sure would be a nice feature.

  • http://www.euroking-gear.com Online Steroids

    I’ve done everything like in this post but it’s still not working :(

  • http://www.fbpurity.com jocko mcbrains

    wow, you sir, are a total genius! fantastically useful information,
    THANK YOU, THANK YOU, THANK YOU!!!!

  • Pingback: Web Analytics TV #10 with Avinash and Nick | Advertising Blog

  • http://blog.alexblack.ca Alex Black

    Hi Sebastian, great article.

    Does this solution get the query string as well as the referrer path?

    E.g. http://someforum.com/showthread?foo=bar

    (Its the ?foo=bar part I am curious about)

  • http://www.sebastienpage.com Sebastien

    @Alex, Yes it does

  • http://blog.alexblack.ca Alex Black

    @Sebastien, awesome.. I just got it working, had to wait an hour or so for the filter to be applied to some new data!

  • http://LRN.FM Ian Freeman

    Alex is right, you do have to wait before it starts working. Mine is working now – thank you!

  • http://offernpromo.blogspot.com Arslan

    i have a feedburner account, i want to see the referring url. Can any one please help me out how to see the full referring url in my feedburner account?

  • http://www.reefdigital.com.au Will

    Hi Sebastian,

    This Google Analytics tweak is so helpful and such a necessary fix.

    Thanks,

    Will

  • http://www.dizzyfilm.com/ remoheaven

    thats nice one

  • http://us-finances.com bond

    I’ve been searching in google for some items and fortuitously found your http://www.sebastienpage.com site. I feel that you are an expert at your field! I am going to launch a website soon, and your blog will be very useful for me. Thanks for the excellent work and wishing you the success in your business.

  • http://www.onebuttonsignups.com Orville Carmicle

    Woah! I’m really loving the template/theme of this blog. It’s simple, yet effective. A lot of times it’s hard to get that “perfect balance” between user friendliness and visual appeal. I must say you have done a very good job with this. In addition, the blog loads extremely quick for me on Internet explorer. Outstanding Blog!

  • http://www.imperialtoilets.blogspot.com Elvin Charles

    Very, very handy. Thanks

  • http://webpositionering.wordpress.com/ Axel Bontjema

    Hallo, ik wil alleen even laten weten dat ik het bericht erg interessant vind met interessante informatie. Ik zal deze website dan ook bookmarken.

  • http://webpositionering.blogspot.com/ Arnout Hieminga

    Kan ik gewoon even zeggen dat het fijn is om eindelijk eens iemand te vinden op het internet die echt weet waarover hij praat. Meer mensen zouden dit moeten lezen en het voorbeeld moeten volgen. Kortom, goed bericht! Ik ga deze website dan ook in mijn favorieten zetten.

  • http://www.flirtwithagirl.org Howtoflirtwithagirl

    Even that I’m not agree with some points and comment in the article I found this page content important, I really want to thank the writer and the contributors for this informative page

  • http://sententiaedeo.blogspot.com/ Alan Aversa

    Wow, that worked! Grazie!

  • Nick

    I can confirm this still works as of today. And no, you will not be able to see referring URLs from the time period before you made this filter. It only gets applied to new traffic.

    Why is the referring URL such a big secret? This should be one of the core functions of GA. Specific knowledge of where sales are originating from is the grail of tracking.

    Thanks for this article, it was exactly what I was looking for. :-)

  • lowwenbowwen

    i know im 2 years late with this post, but why are all my referral sites still saying (not set) after I completed these steps?!

  • http://data-security-freeware.blogspot.com/ John Z

    Thanks for the huge helpful information. I have been looking for this for a long time. But nobody knows. You definitely have done a great job. Thanks again.:)

  • http://www.truthofbodybuilding.com sandeep

    thanks sir your tips are very useful for me thanks a lot i must visit again on your site thanks one again wus

  • http://www.truthofbodybuilding.com sandeep

    sir please check my site and pls give me more and more useful tips for my site please a great humble request to you please sir http://www.truthofbodybuilding.com sir check this wus

  • Pingback: How To Track Referrals From Google Plus in Google Analytics

  • http://club.au.gp/Club-country-diego-junior-membership-san.html Kicinfindmise

    Hi
    [url=http://club.au.gp/02/Emerald-bay-yacht-club.html]Emerald bay yacht club[/url]
    [url=http://club.au.gp/Club-ct-hartford-organization-west.html]Club ct hartford organization west[/url]
    [url=http://club.au.gp/01/London-gliding-club.html]London gliding club[/url]
    [url=http://club.au.gp/Club-country-diego-junior-membership-san.html]Club country diego junior membership san[/url]

    We will be glad to see you

  • http://www.zimana.com Pierre DeBois

    Hi Sebastian,

    This is a great post and nice discovery. I have not had the opportunity to compare the process within GA v5 but I am sure the steps should not vary. I will take a look and share if I see something different. And I would like to share your tip on my Zimana Blog site.

    Thanks again for the tip.

    Pierre DeBois

  • http://wiki.dandascalescu.com/ Dan Dascalescu

    Hi Sebastien,

    Thanks for posting this, even though it’s no longer working :)

    Might you spend a minute and update the blog post? The “Filter Manager” is no longer there in the Google Analytics interface, and the “User Defined Value” that Matt mentions doesn’t work either (it shows “not set”).

    Also, it would be great if you removed the useless/spam comments that only want to draw traffic to their sites (e.g. “thats nice one” by dizzyfilms, and many others that only say generic stuff like your blog has a nice template)

  • http://sunplanets.com joseph
  • http://www.smartphonesofamerica.com jbsmartp

    Thanks for the tip…. Got any more good stuff if so e-mail me, eh….

  • http://www.emotionconsulting.es Sonia Llatas

    I´ve liked very much your last phrase. “Take it or leave it”, it´s a good advice for Google.

  • DBuious

    I found the filter settings, however I see absolutely no link to Visitors in the nav bar for GA. I set the filter up and can’t find how to run it now. ??? Anyone?

  • http://linusandbubba.com Sharayah

    One note- after creating the filter, at the very bottom I had to choose which analytics profile I wanted to apply the filter to. Even though I am only using one profile, I had to select it and click “add” before the settings would be applied. It took me a day of trying to figure out why the results still said “not set” before I figured it out! Hope that helps someone else.

    Otherwise- thank you so much! It seems like such an obvious thing to be included and I’m grateful I found this answer. :)

  • Pingback: Web Analytics TV #10 with Avinash and Nick | IMoju

  • Jean

    We tried to do as described above but are getting “not set” as the result. When we looked for the “add” button to click on for the analytics profile we did not see one. Where is it located in the new Google Analytics interface?

    All we saw is add and we did add the filter which did not resolve anything as it kept saying “not set” fr the results.

    Can anyone guide us in the right direction?

    Thank you.

  • http://www.human-growth-hormone-hgh.net/ HGH

    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.

  • http://www.athletespower.com/ Bodybuilding

    Woah! I’m really loving the template/theme of this blog. It’s simple, yet effective. A lot of times it’s hard to get that “perfect balance” between user friendliness and visual appeal. I must say you have done a very good job with this. In addition, the blog loads extremely quick for me on Internet explorer. Outstanding Blog!

  • http://stop-ddos.net/en antiddos

    Jean, you need to use Google Analytics account with Administrator rights. After that you will see the option to add a custom filter. Here’s the official Google help page on this topic: http://support.google.com/googleanalytics/bin/answer.py?hl=en&answer=55492

  • Jason

    Not working. Google Analytics looks completely different now (some rebranding baloney). I get “(not set)” when selecting “User Defined” when I have added the filter on the Admin page. Anybody know how to get the results to appear for “full referral”?

  • Jason

    Nevermind. I figured it out. I had to create a custom report with metric of “Visitors->Visits” then dimension drill down to referral path.

  • Pingback: 引荐流量查看完整的引荐路径 | 纪杨的网站分析笔记

  • http://www.dhaneshmane.com dhanesh mane

    Hey jason it works amd I think you might need to go to following path to see the full referal urls.

    audience -> custom -> user defined

    hope this helps

    Dhanesh Mane

  • http://www.dhaneshmane.com dhanesh mane

    Hey I have applied the filter on one site and Its working fine for that site. Then I have applied the same on other site by existing filter option and its not working there, any idea?

    when I check user defined value from audience , it shows $A$1 :)

    any idea?

    Thanks
    Dhanesh Mane

  • Jackie

    Thank you!

  • wajahat
  • Pingback: conoscere i link referral

  • http://www.video3d.es/Melanie36 this article

    Hey there! Sοmeonе in my Facebook group shared
    this site with us ѕo I came to take a loоk.
    I’m definitely loving the information. I’m bookmarking and wіll be tweeting this to my followers!
    Τeгrific blog anԁ excellent dеsign and style.

  • Len Fuller

    The increasing awareness towards male enhancement has meant that there are now a huge number of products on the market which are designed to provide effective penis enlargement – more info on male enhancement

  • http://socialmediatoday.com/user/196946 Henry Dutton

    F*ckin’ awesome things here. I’m very glad to see your post. Thanks a lot and i am looking forward to contact you. Will you please drop me a mail?

  • http://www.balkanpharm.com/ balkanpharmacy

    Original steroids , from balkampharm, get cheap steroids with fast delivery!

  • Pingback: Recap of the BrightonSEO conference september 2012

  • Pingback: Top 10 Marketing Tips From BrightonSEO and Brighton Digital Marketing Festival 2012 « Makemedia blog

  • Pingback: Resumiendo BrightonSEO - Internet Advantage

  • Pingback: Brighton SEO 2012 Roundup – Part 2 « Blueclaw Blog

  • Pingback: BrightonSEO Takeaways And Tools | Boom Online Marketing

  • Pingback: Top tips to take away from Brighton Digital Festival « Laura of Brighton

  • http://www.balkanpharm.com/ balkanpharm

    check my site for original products , only with you can have best result , products from grade pharma .

  • http://nybodyart.com/ Danny Michel

    Can you tell us how to do this with the new Analytics?

  • adambenjaminlowe

    Would love to see how to do this in the new Analytics interface as well.