Skip to content
/ isogram Public
forked from jaxgeller/isogrammer

Customize your google analytics code.

License

Notifications You must be signed in to change notification settings

wei/isogram

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Customize your google analytics code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 67.4%
  • CSS 23.0%
  • HTML 9.6%