Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

This function pushes rankings to a Google Analytics custom variable when someone comes to a given page from Google

branch: master

Updated 3/11/2012 to change the scope in GA, check for any

Google property (not just google.com) and return ranking
for dynamic messaging applications.
latest commit c1ccf8435c
ipullrank authored March 11, 2012
Octocat-spinner-32 README
Octocat-spinner-32 rankings-push.js
README
This is a JavaScript function by Michael King that pulls rankings from the parameters on the Google SERPs and pushes them to Google Analytics as a custom variable called Rankings.

For more information on this and its application see John Doherty's post on SEOmoz:
http://www.seomoz.org/blog/gettings-rankings-into-ga-using-custom-variables
Something went wrong with that request. Please try again.