Customize your google analytics code.
Clone or download
Pull request Compare This branch is 12 commits ahead of jaxgeller:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
.jshintrc
LICENSE
README.md
bower.json
gulpfile.js
package-lock.json
package.json

README.md

ISOGRAM

Customize your google analytics code. Visit: https://isogram.whe.app

Example

Before:

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-XXXXX-XX', 'auto');
  ga('send', 'pageview');
</script>

After:

<script>
  !function(C,O,o,L,K,i,d){C.GoogleAnalyticsObject=o;C[o]||(C[o]=function(){
  (C[o].q=C[o].q||[]).push(arguments)});C[o].l=+new Date;i=O.createElement(L);
  d=O.getElementsByTagName(L)[0];i.src=K;d.parentNode.insertBefore(i,d)}
  (window,document,'ga','script','//www.google-analytics.com/analytics.js');

  ga('create', 'UA-XXXXX-XX', 'auto');
  ga('send', 'pageview');
</script>

See more examples.

Installation

$ npm install

Start development server:

$ gulp

Questions?

Please open an issue or email me with any issues, feedback, or suggestions.

Author

Wei He github@weispot.com

Donations

If you find this tool helpful, please consider supporting me by sending me a coffee.

I will be commited to delivering quality tools and keep them ad-free. Thank you for your support!

Acknowledgements

Fork of jaxgeller/isogrammer. Project updated to use shinnn/isogram.

License

ISC