Alternative to measeure session time

Hi!

We have multisite with different domains/sub-domains for our sub-sites. In Piwik, we track the whole multisite as one website, and have used segments to filter out the sub-sites seperately (we wont be able to change that).

Due to conflicts we cant combine the segments (filtered by web adress) with the average session time.

I’ve experimented with filtering sessions where the first and last visited page during the session has the same domain, but I’m not really sure how accurate that is?

Does anyone have better alternatives to track the time users visits just a part of a website?

Thanks!

Hi! Average time on page is in the session scope, so it’s not possible to calculate it for specific events (page URL is an event scoped dimension). Instead, you can use the session entry URL, transform it to session entry URL (domain) and filter by the domain :slight_smile:

If most of your visitors move between the domains, then using the session exit URL might make the data more reliable, but it won’t cover 100% of the cases.

Thanks for your answer! That’s similar to the setup I tried, and it seems pretty accurate!
Although the results differ a bit if I use session entry or session exit, and quite a lot if I combine entry AND exit on the same domain.

The most important is comparing the numbers over time, so i’ll just have to decide which one to use.