sawontheboss4

Google Analtytics Time Tracking

May 16th, 2020 (edited)
163
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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','https://www.google-analytics.com/analytics.js','ga');
  6.  
  7.   ga('create', 'UA-107535276-1', 'auto');
  8.   ga('set', 'anonymizeIp', true);
  9.   ga('set', 'forceSSL', true);
  10.   ga('require', 'displayfeatures');
  11.   setTimeout("ga('send','event','Profitable Engagement','time on page more than 10 seconds')",10000);
  12.   ga('send', 'pageview');
  13. </script>
RAW Paste Data