This function pushes rankings to a Google Analytics custom variable when someone comes to a given page from Google
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README Update README Oct 24, 2011


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: