Created
October 8, 2014 07:37
-
-
Save ethyde/63dae4085dffdfb3ed11 to your computer and use it in GitHub Desktop.
Detecting Google Universal Analytics, even with adblock/ghostery
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
if(window.ga && ga.create) { | |
// Do you ga stuff | |
ga('send', 'pageview'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment