The pageBounce rate is actually defined as the following:
The number of sessions with only one page view divided by the total number of sessions
The numbers returned in the request you're making are not actually the numbers being used to calculate this value you're seeing, instead this is calculated internally and then outputted as a result for this endpoint.
Feb 10, 20207:41 AM - edited Feb 10, 20207:41 AM
Participant
Sessions vs entrance ?
SOLVE
I tested with various date range and I was able to verify that Bounce Rate that users see at dashboard is actually the percentage of pageBounces / entrance from API ?
To confirm, entrances is defined by HubSpot as the following:
Entrances: the number of times that a page was the first one viewed in a session.
So as an example, if I am to use the following query:
Get a summary of the top 10 blog posts by entrances (the page was the first page viewed in a session):
https://api.hubapi.com/analytics/v2/reports/blog-posts/total?hapikey=demo&start=20180101&end=20180301&sort=entrances&limit=10
We're going to see that in the data returned for these top 10 blog posts, there are 19 occaisions where they are the first post viewed in a session during this timeframe.
Thank you for your answer. It helps to clear things up a little bit more. I am sorry if I was not entirely clear. I am talking about the following endpoint when we are querying for data daily. For example, when calling the following endpoint.
How was the page bounce rate of 0.5 calculated as we see in the response? Is the formula pageBounces/entrances = pageBounceRate correct in this context?
The pageBounce rate is actually defined as the following:
The number of sessions with only one page view divided by the total number of sessions
The numbers returned in the request you're making are not actually the numbers being used to calculate this value you're seeing, instead this is calculated internally and then outputted as a result for this endpoint.
Feb 10, 20207:41 AM - edited Feb 10, 20207:41 AM
Participant
Sessions vs entrance ?
SOLVE
I tested with various date range and I was able to verify that Bounce Rate that users see at dashboard is actually the percentage of pageBounces / entrance from API ?