How To Monitor Your Rankings Using Google Analytics Advanced Filter Segmentation
This is a guest post by Mike Catalin from SiteMagnify LLC
Google ranking data is passed to logfiles via the referrer string, but this data can also be captured by Google Analytics using Advanced Filters to segment Google Search traffic.
This ranking data parameter (cd=number) is covered by Patrick Altoft in his post on Google Referrer Strings.
There are two very quick ways to go about collecting the referrer data in Google Analytics, one is to collect and report full referrer strings in GA using the User Defined variable which is reported under Visitors then filter for “cd=†with the “Find User Defined Value†search box at the bottom of the report.
The second is to segment all Google Organic Search Data and pass only the search term and cd=position data into the User Defined report.
To collect the Referrer String in the User Defined variable:
- create a New Profile
- select add profile for an existing domain
- select the domain from the drop down
- title the Profile “Full Referrer Stringsâ€
- select Country & Time Zone
- once Profile is created, edit the Profile to add Filters
- select +Add Filter
- select Add New Filter for Profile
- name the filter “Full Referrer Stringsâ€
- select Custom Filter from the Filter Type drop-down
- select the Advanced radio button
- for Field A -> Extract A, select Referral from the drop-down
- in the form field enter: (.*)
- leave Field B -> Extract B empty
- for Output To -> Constructor, select User Defined from the drop-down
- in the form field enter: $A1
- enter the following choices for the remaining radio buttons:
- Field A required is Yes
- Field B required is No
- Override Output Field is Yes
- Case Sensitive is No
- Save Changes


To collect the Keyword and cd= parameter value in the User Defined variable for all Google Search traffic:
- -create a New Profile
- -select add profile for an existing domain
- -select the domain from the drop down
- -title the Profile “Google Organic SERPsâ€
- -select Country & Time Zone
- -once Profile is created, edit the Profiles to add Filters
- -will have to create a total of 3 Filters for this segment
Filter to Select only SEO Organic Traffic
- -select +Add Filter
- -select Add New Filter for Profile
- -name the filter “Organic Search Trafficâ€
- -select Custom Filter from the Filter Type drop-down
- -select the Include radio button
- -for Filter Field, select Campaign Medium from the drop-down
- -in the Filter Pattern form field enter: organic
- -leave Case Sensitive as No
- -Save Changes
Filter to Select only Google Search Traffic
- -select +Add Filter
- -select Add New Filter for Profile
- -name the filter “Google Searchâ€
- -select Custom Filter from the Filter Type drop-down
- -select the Include radio button
- -for Filter Field, select Referral from the drop-down
- -in the Filter Pattern form field enter: (google)\.[a-z]+
- -leave Case Sensitive as No
- -Save Changes
Filter to Extract Search Term and cd= Value
- -select +Add Filter
- -select Add New Filter for Profile
- -name the filter “Full Referrer Stringsâ€
- -select Custom Filter from the Filter Type drop-down
- -select the Advanced radio button
- -for Field A -> Extract A, select Campaign Term from the drop-down
- -in the form field enter: (.*)
- -for Field B -> Extract B, select Referral from the drop-down
- -in the form field enter: (\?|&)(cd)=([^&]*)
- -for Output To -> Constructor, select User Defined from the drop-down
- -in the form field enter: $A1 | click detail: $B3
- -enter the following choices for the remaining radio buttons:
- -Field A required is Yes
- -Field B required is Yes
- -Override Output Field is Yes
- -Case Sensitive is No
- -Save Changes



Comments
Read the 24 comments below, or add your own!
Excellent guest post. Do you have a screenshot as to how this would look as an end result or did I miss something?
Sphunn
Cheers,
Glen
Greetings Mike! I enjoyed the step by step directions. Some of Google people didn’t know that they can do this.
Patrick, you can add this post to your all-time favorite list.
With respect,
Mark.
Great post, but you got the parameter wrong. Its r=
Check out the google documentation…
http://code.google.com/apis/searchappliance/documentation/52/asr_reference.html
Its in the tables.
Great post, I wonder is there anyway to seperate the traffic that comes through Google Products using advanced filter segmentation.
Closest I have come is someone stating that create a custom querystring in the xml url to highlight that it came from a feed listing – but tbh, I’d rather something more cleaner, to be able to distinguish conversions better.
Paul
very intersting, thanks for this information.
I guess ‘click detail: 1′ in the last screenshot is the important thing.
I’m missing the need for distinct profiles
Would adding these filters to the same profile cause a problem or just add this data to a single set or reports?
Thanks
Great post! This is really handy, very detailed. Thanks..^_^
-Melanie
-Sell Anything Like Crazy
I agree with that. Thanks for this article…little bit old but still very usefull for a lot of people. Including me
Quality!!! I want more posts like this!!
Good work!
Has anyone else noticed that Google has reverted to using the old system?
DM
amazing post…i’ll let u know how it goes…
Jorge
Awesome post, awesome trick – I’ll be implementing on a new profile this week.
@Paul The danger of implementing a filter like this on your core profile is that all data moving forward will be filtered – there’s no way to retroactively remove the filter (that’s the way advanced filters work in GA). If you make a mistake, for example, and end up filtering important data you can’t get it back.
Thanks for the detailed breakdown on how to set this up. Does the data have to be in the user defined report or is there a way to show the data in the main keyword report in GA?
Nice article!!
-Victor Aroma
I’m using this service to monitor my website’s rank – http://monitor.mazecore.com . They provide position and uptime monitoring with alerts, but rank monitoring on free account is enough for me. I recommend this service with free tariff
I’m using this service to monitor my website’s position – http://monitor.mazecore.com . They provide rank and uptime monitoring with alerts, but position monitoring on free account is enough for me. I recommend this service with free tariff for your website.
Thanks for the good post. I never knew I could do this on Google. I will definitely have the time monitoring my rankings. It’s one of the nicest advice for today.
Really nice and effective way to track you ranking and users. I will surely gonna apply this setting. Thanks for sharing
Google analytic is one of the worlds best tracking online software. i love it
You have to check up these Google Analytics tips
Good Post boss.yesterday i create my Google Analytical account and include that feature in my account. thank
This worked great, BUT i have a large number that says (not set), ow do I define those?
Mastering the advanced filter segmentation is must for SEO.
8 trackbacks
April 27, 2009 at 12:49am
May 11, 2009 at 4:41pm
May 15, 2009 at 7:15pm
December 14, 2009 at 1:03pm
December 28, 2009 at 10:15am
December 28, 2009 at 10:15am
January 1, 2010 at 11:37pm
October 26, 2010 at 12:04am