412.381.5500
1.877.220.LUNA

Using Google Analytics to Find Links to Your Non-WWW

detective

Photo Credit: paurian

One problem that we see on a lot of websites is the absence of canonical URLs – especially with the www version and non-www version of the URLs. Why is this important? Read this post about domain canonicalization – it explains in great gory detail. Putting it briefly, you don’t want to spread your link juice across two pages when those pages are the same (it’s better to have one page with 100 links pointing to it than 2 pages with 50 links each).

There are many solutions, from URL rewriting with an .htaccess file to using the canonical tag on your pages, but that’s not the focus of this post. I want to show you how to find out who is linking to your non-www URLs so you can contact them and ask them to change it. This is especially helpful if, for whatever reason, you can’t redirect your non-www to www.

* Note: it makes no difference if you prefer to use the www version or the non-www – as long as you’re consistent. For the sake of this example, we’ll assume that the www version is preferred.

The idea for this post came from Evan LaPointe, who wrote an article on Search Engine Land about using Google Analytics to uncover SEO issues. Go ahead and read it – it’s quick. I’ll see you in a couple minutes.

He talks about identifying canonical issues using the Hostnames report in Google Analytics. This is a great report to see if people are visiting both your www pages and your non-www pages. But I want to take it a step further. Let me show you how to dig a bit deeper to find out which sites are linking to your non-www URL.

hostnames-reportGo to the Hostnames report in your Google Analytics (Visitors > Network Properties > Hostnames). If you have canonicalization issues, you’ll see them showing up here as visits coming from multiple hostnames, like

  • www.example.com
  • example.com
  • Example.com
non-www referrals

These numbers are real, but the client's identity has been shielded for the sake of this example.

Click on the non-www version. Now that you’re seeing data just about visits to the non-www URL, click on Advanced Segments and choose to see just Referral Traffic. These are visits that clicked on a link from a different site to yours. See where I’m going with this?

non-www referrals02

Now, in the Dimension drop down menu, choose Source. Bada bing, bada boom. A nice list of sites that link (and send traffic) to the non-www version of your site. Go visit those sites and find out where they link to you. Then contact the webmaster to ask kindly for them to change the link to include the www.

non-www referrals03

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • email
  • Facebook
  • Google Bookmarks
  • Reddit
  • Twitter

Related posts:

  1. Tracking links within your site with Google Analytics
  2. The New Google Analytics: Ready for Enterprise
  3. Measuring Offline Advertising in Google Analytics
  4. Google Analytics: Worst Titles Ever
  5. Should you convert to the new Google Analytics code now?

4 Responses to “Using Google Analytics to Find Links to Your Non-WWW”

  1. The latest search and social news for geeks - Ass hats, Crap hats, SEO Sucks and more | Search Engine Journal Says:

    [...] Using Google Analytics to Find Links to Your Non-WWW – LunaMetrics Blog [...]

  2. 7 Days of Search and Social; the source for search geeks « Web Design Blog Says:

    [...] Using Google Analytics to Find Links to Your Non-WWW – LunaMetrics Blog [...]

  3. This Week in Search: Triple Roundup for 10/1/09 to 10/21/09 | Techno Inspiration: A Blog about Internet and Web Technology Says:

    [...] Using Google Analytics  to Find Links to Your Non-www: Luna Metrics has a wealth of useful blog posts on web analytics. And though limited to link data on your own site, Jim Gianoglio’s method for finding links to your non-www URLs is a creative, SEO-related use of Google Analytics. [...]

  4. I posts più letti a proposito di marketing online in questi ultimi 15 giorni | Sul Web Marketing Says:

    [...] Utilizzare Google Analytics per scoprire links al tuo sito versione non http://www.Luna metrics propone un post interessante su analitica web. E, sebbene sia limitato allo studio dei [...]

Leave a Reply