Created
March 2, 2013 08:27
-
-
Save perifer/5070171 to your computer and use it in GitHub Desktop.
Track virtual page views in Google Analytics if (window._gaq) { window._gaq.push(['_trackPageview', window.location.pathname + href]); }
This file contains hidden or 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
if (window._gaq) { | |
window._gaq.push(['_trackPageview', href]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment