SEO Position Plus: Log Your Exact Google Rank with Google Analytics
We've been working hard on SEO Position over the last few months and the latest version has been in use by Stomper members for a while now.
With the announcement of updates to the Google referral string it's now important to update the script and there's some serious new features.
For those unfamiliar with the SEO Position script, in the picture above/right, the query "analytics motion charts" generated a click from Page 1 of the Google results while "motion charts" generated a click from Page 2.
SEO Position Plus tracks more types of referrals than the original script. All the categories logged to Google Analytics events are prefixed with SEO.
Mark at MivaMerchant wrote up a great tutorial (Stomper Members: See my video in the portal).
So that's all cool and useful, but the last item "SEO Google Position" captures the exact rank of the result clicked on Google to generate this visit. The announcement says the referral change is being rolled out and we're currently only seeing it for 1/10 to 1/40 of traffic.
I expect the data volume to increase and for this to provide much better data on ranking, ranking changes, and the ROI on ranking changes.
Here's what you'll get when a referral comes through with the new cd parameter:
The script is available at /abtest/includes/seopositionplus.js and is released as open source under the Mozilla Public License. Use it for free for whatever you like, but if you make it better, you have to share!
Place the script following your Google Analytics code/
Copy the SEOpositionPlus file to your server and add the following line beneath your call to pageTracker:




Otherwise, the script provides very useful information. Good job!
I built myself a few scripts too, one to debug GATC and other to parse GA cookies. Check them out under Analytics.