SEO – Keyword ranking with Google Analytics
Google is busy beta testing their new AJAX driven search engine and with the release of this new AJAX version it’s now possible, with the help of Filters, to allow Google Analytics to track the clicked position of specific keywords on a Google Keyword Search.
Firstly see if you’re using the new search engine, preform a search and then look at the url of the result page. This will assist you later went preforming keyword searches in Google in order to populate you Google Analytics data (most countries don’t support it as of yet).
Standard:
AJAX driven:
Adding the new filters
Select the Analytics you want to start tracking and “+ Add new profile”
Add a profile for an existing domain
Choose a profile name, I just append “rankings” onto my existing profile name
Once the profile is created select “Edit” to begin adding your Google filters
“+ Add Filter” to add your first Google filter
Filter name: "Ranking 1" Filter type: "Custom filter - Include" Filter field: "Campaign Medium" Filter pattern: "organic"
Filter name: "Ranking 2" Filter type: "Custom filter - Include" Filter field: "Campaign Source" Filter pattern: "google"
Filter name: "Ranking 3" Filter type: "Custom filter - Advanced" Field A -> Extract A: "Campaign term", "(.*)" Field B -> Extract B: "Referral", "cd=([0-9]+)" Output To -> User Defined: "$A1 (position: $B1)"
Finally a filter to add an “unknown position” message when the position of the searched keyword is not passed through:
Filter name: "Ranking 4" Filter type: "Custom filter - Search and Replace" Filter field: "User Defined" Search String: "(.*)\(position: \)" Replace String: "(position unknown)"
You can view your newly created ranking results under “visitors –> user defined”
After a couple of hours you should start seeing the results, bearing in mind that the new search referring URL is still in beta and not available in some regions.
The results will look something like this:
Conclusion:
The most challenging part of working with Google Analytics is waiting for your changes to take effect. Once a filter of profile setting is changed, it may be seven or more hours before the data in Google Analytics is affected. Debugging problems in Google Analytics takes time, so be patient. The more you can do to understand the implications of a change, prior to making the modification, the better.
References:
Yoast.com
Regular Expression Filter Tester (BETA)*