Created
May 9, 2012 16:33
-
-
Save jcblw/2646339 to your computer and use it in GitHub Desktop.
Tracking #hash changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Probably Need | |
// It seems to be depedent off this plugin too | |
// https://github.com/cowboy/jquery-hashchange | |
// ============================================ | |
(function($){ | |
$(window).hashchange(function(){ | |
//Check you console for event | |
console.log('Changed to ' + window.location.hash); | |
// Add _gaq.push here | |
}) | |
}(jQuery)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment