Webtrekk Analytics: Improved Page & Session Duration Calculation
    • 1 Minute to read
    • Dark
      Light

    Webtrekk Analytics: Improved Page & Session Duration Calculation

    • Dark
      Light

    Article summary

    30 Apr 2019 As of this release we change the calculation for page duration & session duration, so that you get even more precise data. Until now, the page duration was calculated by comparing the timestamps of a page and its subsequent page. The difference between the two timestamps is page duration. For the session duration, the same logic is applied to all pages during a session. For the last page of a session, a constant value was being used (30 seconds by default). With this new release, the actions and media requests are taken into account when calculating the session duration and the page duration of the previous page. Instead of just adding a constant value, event and media requests on the previous page are being used to calculate the last page duration.

    Please be aware that an additional constant value is still being added by default (30 seconds by default).

    Example

    Page

    Duration (sec)

    Comment

    1

    180

    Time between Page 1 and Page 2: 10:00:00 -> 10:03:00

    2

    120

    Time between Page 2 and Page 3: 10:03:00 -> 10:05:00

    3

    150

    Time between Page 3 and Action 5 plus the additional constant value: 10:05:00 -> 10:07:00 + 30

    The constant value to be added can be configured per account. Default = 30s.


    Was this article helpful?