Advertisement
Guest User

Untitled

a guest
Jul 7th, 2015
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. <script>
  2. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  3. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  4. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  5. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  6.  
  7. ga('create', 'UA-64834615-1', 'auto');
  8. ga('send', 'pageview');
  9.  
  10. /* Accurate bounce rate by time */
  11. if (!document.referrer ||
  12. document.referrer.split('/')[2].indexOf(location.hostname) != 0)
  13. setTimeout(function(){
  14. ga('send', 'event', 'Новый посетитель', location.pathname);
  15. }, 15000);
  16.  
  17. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement