By rifulabyssal
Hallo guys, can anyone help me tell the exact formula of the average session duration where to get from? I’m having trouble finding a manual calculation of the average session duration
For example, from the google analytics report, I got an average session duration of 20 seconds. How is the manual calculation?
I’ve tried to calculate with this formula “Avg Session Duration = Session Duration / Sessions” but didn’t find the same result
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there @rifulabyssal,
To calculate the average session duration you need to divide the total duration fo all sessions on your website in seconds by the total number of sessions.
Let’s say that in 1 day you had 5 website visitors:
So what you need to do is add them all together: For example, say in one week you had three website visitors:
100 + 50 + 120 + 20 + 5 = 295 seconds
Then divide that number by 5 as there were 5 sessions:
295 / 5 = 59
So the average session duration for that day on your site was 59 seconds.
Hope that this helps! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.