Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Just thought about this a bit more. For bounce rate you need to know how many people did visit one page only. For these analytics:
the bounce rate should be 1 / 2 = 50%.
We can measure if a user only visited one page by checking their referrer:
This way we can calculate the bounce rate per page.
One thing I guess I can think of that slightly complicates things.
The bounce rate here should still be 1 / 2 = 50% still.
So if you're solely checking the referrer to determine