Skip to content

Instantly share code, notes, and snippets.

@long-lazuli
Created December 26, 2016 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save long-lazuli/2b428dc63114e3215303f6bc164fd0e9 to your computer and use it in GitHub Desktop.
Save long-lazuli/2b428dc63114e3215303f6bc164fd0e9 to your computer and use it in GitHub Desktop.
Google Analytics ISOGRAM,
(function(_1_,_2_,_3_,_4_,_5_,_6_,_7_){_1_['GoogleAnalyticsObject']=_5_;_1_[_5_]=_1_[_5_]||function(){
(_1_[_5_].q=_1_[_5_].q||[]).push(arguments)},_1_[_5_].l=1*new Date();_6_=_2_.createElement(_3_),
_7_=_2_.getElementsByTagName(_3_)[0];_6_.async=1;_6_.src=_4_;_7_.parentNode.insertBefore(_6_,_7_)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', '__YOURKEY__', 'auto');
ga('send', 'pageview');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment