Get an RSS feed of WebShare's blog
RSS Feed
Follow WebShare on Twitter!
Follow WebShare on Twitter
WebShare's Search and Conversion Marketing Newsletter
Email Newsletter

Search & Conversion Marketing Blog

Welcome to our blog! Here you'll find posts on the topics of web design & traffic acquisition, paid and organic search strategies, analytics & business intelligence, conversion testing, interviews, videos and more. We hope you find it useful, and invite you to read, share, subscribe, leave a comment, or just have a look at what's here.

Display Search Engine Rankings (SEO) in Google Analytics

By default, Google Analytics will show you some great information about your organic search engine rankings (also known as “free” or “natural results”), such as which terms brought visitors to your site via the search engines.  However, Google Analytics does not include where that keyword ranked as part of the display.  This information is now even more valuable as individualized/personalized search results mean that we all get different results and thus have rendered the tools that monitor rankings less accurate.

There have been several methods to provide clues about ranking information in the past, but each had it’s limitations.  But now that Google is modifying the way queries are structured, we can use this filter that will bring us this information inside the reports automatically.

Using this method, the standard Keywords report will now display the keywords ranking in parenthesis directly after the term.

websharegooglerankingfilter11

 

The Filter(s)

There are two versions of the filter: a simple one-step filter for those not running pay-per-click campaigns (like Google Adwords) and a two-step filter for those that are running PPC.  
Below is the simplified, one step version:

websharegooglerankingfilter2sm

Filter Text:
Campaign Term: (.*)
Referral: (\?|&)(cd)=([^&]*)
Campaign Term: $A1 ($B3) 

If you are using Adwords or other paid search, you may want to use the alternate two-step filter that will isolate the organic traffic.

Tip: We suggest creating a new profile specifically for this filter so that you can maintain the default keyword report in addition to this enhanced version.

Caveat: Google is currently rolling out the new format, so it will not capture the ranking of all of the keywords immediatley.

20 Responses to “Display Search Engine Rankings (SEO) in Google Analytics”

  1. [...] Not to mention the great comment from WebShare, with detailed instructions how to set up an advanced GA (Google Analytics) filter to track the Rank Data in the referrer string. (I’m testing out the filter with a couple of [...]

  2. Atul says:

    This is awesome ! I have applied the filter and waiting for the reports. When do you think the keywords will appear ? After 24 hours ?. Also will I have to go User Defined > User report to see the ranking report exactly as displayed above.

    Please reply.

  3. Nice follow up on my filter, who would have thought Google Analytics would replace all ranking tools ;)

  4. Corey says:

    @Atul
    The ranking will appear only when users search via the new Google interface, which appears to be rolling out to some users as we speak.
    This particular filter doesn’t use the user defined report, but actually modifies the the keyword report itself. This avoids the problems with the user defined report method, but means that you probably should apply the filter in a new profile to be on the safe side.

  5. Tim Leighton-Boyce says:

    Another reason to recommend using this filter in a separate profile is that the result may affect your ability to easily see the traffic brought by each key phrase as a whole.

    Until some data is built up the implications of this may not be clear, but it seems likely to me that personalized search results will mean that each key phrase may well appear several times. This will, in itself, be interesting data. But it does mean that the combined total might not be obvious.

    Based on what I’ve seen elsewhere, using the results page offset to set user-defined, there probably wont be many clicks from pages after the first one. But each key-phrase could well be repeated up to 10 times just from page one. It’ll be intersting to see.

  6. Marco Cilia says:

    by this – still interesting – way, if Google modifies my position for a keyword, or user is runnig a search while logged, potentially i could see something like

    keyword A (7)
    keyword B (12)
    KEYWORD A (6)
    KEYWORD A (8)

    is this filter disaggregating my keyword?

  7. [...] bloccato soprattutto dal fatto che non ho ancora trovato un referrer “nuovo”) sul sito websharedesign.com è apparso il filtro fatto e finito. Diamo quindi a Cesare quel che è di Cesare, perché intanto [...]

  8. Any major regexp difference between yours:
    (\?|&)(cd)=([^&]*)

    and mine:
    cd=([1-9]|10)

    Just out of curiosity ;-)

  9. Stacy says:

    Great post. I started providing reports utilizing filters. The clients are loving it.

  10. [...] Display Search Engine Rankings (SEO) in Google Analytics, WebShare Blog [...]

  11. Eivind Savio says:

    Beware about the ranking numbers when they are getting larger than 10. Ranking 11 and larger (have seen up 20) can be page 1 rankings. I wrote about this some days ago (including my solution of tracking rankings):
    http://www.savio.no/blogg/a/81/google-analytics-how-to-track-google-keyword-ranking-from-your-visitors

  12. Corey says:

    @Marco
    Yes. This is one of the reasons we suggest you run this filter in a new, duplicate profile, so that you can see this data, without altering your “standard” keyword reports.

  13. [...] the rankings in your keywords report.  Here is one of the posts that shows you how to set up the filters in Google Analytics [...]

  14. Gennady says:

    What happens if the ranking changes within the date range? What position will be displayed?

  15. Corey says:

    The ranking displayed is the ranking that was there when that visitor made the click. So if there are several positions during the time period when people click, you will have several positions listed.

  16. Hey everyone, what percentage of searchers are being fed this search update?

  17. Thank you for contributing. I added your code to my google analytics account. I will report back my findings

    cheers

    SEO Guy

  18. andrew says:

    Very nice information. Thanks for this.

  19. admin says:

    Just as a quick update – it appears that around 3-5% of profiled web traffic is seeing this search update, and note that it is ONLY applicable to Firefox browser users.

  20. Sean Elkin says:

    I’ve long lobbied Google to create their own rank checking mechanism and charge for it, instead of of banning IP addresses or 3rd party services that task their servers with the same queries. They have the data, it’s quite obvious that rank checking is still an essential part of SEO (despite the “rankings are dead” camp). it’s great they are doing this, but it is currently less perfect than 3rd party solutions.

    Why? It does not include Yahoo/Bing data (or outside U.S. if you’re doing international search) and it doesn’t have the reach yet (see the 3-5%) to be very useful or reliable (which, I know, is a strange word to use for any rank checker) as existing 3rd party solutions.

    Andre, I wonder what you think about this solution vs your outstanding post that predated this. Looks like this indicates position and not page for google, but your solution has page capability for Yahoo and Bing (if I’m reading things correctly). Do you see a way to use above and apply to Yahoo and Bing too?

    I spend a lot of time combining reports into one master spreadsheet (for SEO Audit phase) that shows keyword volume estimates, source & data on those words (GA, trellian, wordtracker, past traffic, brainstorming) + ranking on top 3 engines + urls ranking. In the end, it’s a wonderfully useful and powerful document. I have built a few macros to automate portions of it, but if we could get top 3 SE ranking data (position not page) built into GA reports…wow!

    Sean

Leave a Reply



WebShare is a Google Analytics Authorized Consultancy
WebShare is a Google Website Optimizer Authorized Consultancy
WebShare is a Google Adwords Qualified Company
WebShare is a Google Analytics Seminar Leader
WebShare is a Google Website Optimizer Seminar Leader
WebShare is a proud memeber of the Web Analytics Association
WebShare is a Microsoft AdExcellence Member
WebShare is a Yahoo Search Marketing Ambassador

© 2006-2010 WebShare, LLC. All Rights Reserved.
Sitemap