Adjusting bounce rate
-
I want to change the bounce rate, so that a visitor who is looking at one page for at least 30 seconds is not counted for bounce rate.
I have added this code in the Custom GA Code field:
setTimeout(“ga(‘send’,’event’,’adjusted bounce rate’,’30 seconds’)”,30000);The complete code now looks like this (localy hosted):
<!-- GA Google Analytics @ https://m0n.co/ga --> <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.XXXXXXXX/wp-content/cache/busting/google-tracking/ga-6a10eb2bb5c90414980729f4f96ffbda.js','ga'); ga('create', 'UA-109978750-3', 'auto', {'siteSpeedSampleRate': 100}); setTimeout("ga('send','event','adjusted bounce rate','30 seconds')",30000); ga('set', 'anonymizeIp', true); ga('send', 'pageview'); </script>
Can you please confirm that I can use the bounce rate code like this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Adjusting bounce rate’ is closed to new replies.