Skip to content

Instantly share code, notes, and snippets.

@RiodeJaneiroo
Last active May 5, 2021 15:45
Show Gist options
  • Save RiodeJaneiroo/e91feaa501344b451efcbdb97c421878 to your computer and use it in GitHub Desktop.
Save RiodeJaneiroo/e91feaa501344b451efcbdb97c421878 to your computer and use it in GitHub Desktop.
[Google Analitics] #google_analitics
<!-- GoogleAnalytics counter -->
<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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-54873391-1', 'auto');
ga('send', 'pageview');
setTimeout("ga('send', 'event', '15 seconds', 'read')",15000);
</script>
<!-- /GoogleAnalytics counter -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment