Skip to content
This function pushes rankings to a Google Analytics custom variable when someone comes to a given page from Google
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README
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.