However, I was not able to find information for average session duration as well as bounce rate. I have not been able to figure out how do get those as it does not seem possible to add properties (which is the case for v3 of the companies-endpoint). It seems that I can get the bounce rate as well as session duration via the reporting-api (https://api.hubapi.com/analytics/v2/reports/pages/total?start=20120102&end=20220108).
However, there are two problems with this approach:
1. Via the latter API I get loads of information I do not need. Does anyone know how I can get rid of the breakdown by pages so that it still shows me bounce rate and session duration (it does not work with v2/reports/totals/total as these two metrics disappear).
2. The analytics-API above has the advantage that I can summarize data to weekly, monthly etc. and thus it would be perfect if this could also be done for session duration and bounce rate.
Hey, @RomanL👋 I think you're on the right path here.
What you are describing is due to these endpoints not having the level of granularity you are wanting. You'll likely need to use programming logic to filter and reformat this data, outside the API call, to fit your needs.