Skip to content

Instantly share code, notes, and snippets.

@cgrymala
Created July 31, 2013 15:17
Show Gist options
  • Save cgrymala/f8ed9aa84118dbe67a05 to your computer and use it in GitHub Desktop.
Save cgrymala/f8ed9aa84118dbe67a05 to your computer and use it in GitHub Desktop.
Make sure GA is instantiated
jQuery( function() {
if( typeof( _gaq ) === 'undefined' ) {
return;
}
_gaq.push(['pageTracker._setAllowAnchor',true]);
// All of the individual tracking code goes in here
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment