Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Anderson218yActually, you CAN fix it, just add this at the bottom of the single page:
<script>
setTimeout(function() {
ga('send', 'event', 'time', '20s+');
}, 20000);
</script>
It sends an event to Google Analytics, which is like the user clicked to go to another page, so it will affect the bounce rate, like with regular websites. I set it to happen after the user spends 20 seconds on the page (hence not closing it after a few seconds and going away), and you can adjust that value. But you can also set it to happen on some other event on the single page, like clicking on a button or navigation links, or some other action, if you have one. Cheers :) -
ggromx4368ythe bounce is also related to the time spent within the page or any cta that you declare and it's executed (contact form for example)
it's kind of arbitrary, but I believe (without evidence) that above one minute is not a bounce.
I do think is more a matter of content than code.
Related Rants
Client: Google analytics is saying our bounce rate is 86%, Could you fix what you did to improve this?
It's a single page website -.-
undefined
sigh
client