# Measure time between two specific pageviews in a session

**URL:** <https://community.piwik.pro/t/measure-time-between-two-specific-pageviews-in-a-session/4290>\
**Category:** Reports and working with data\
**Created:** [August 15, 2024, 10:45am UTC](https://community.piwik.pro/t/measure-time-between-two-specific-pageviews-in-a-session/4290 "2024-08-15T10:45:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![martho](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@martho](https://community.piwik.pro/u/martho)\
**Post date:** [August 15, 2024, 10:45am UTC](https://community.piwik.pro/t/measure-time-between-two-specific-pageviews-in-a-session/4290/1 "2024-08-15T10:45:24Z")

</div>

Hi there

Say a user visits a part of your website. Is it possible to somehow measure the time between the first and last pageview of that part of the site?

Example: A user enters the website via the frontpage and navigates to the help-section. The user navigates to-and-from the help-section and at some point doesn’t navigate back again. All in the same session.

Is there a to see how much time within the session the user has spend in the help-section?

/Martin

---

<div class="post-metadata">

**Author:** ![Adam](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/adam/32/1494_2.png) [@Adam](https://community.piwik.pro/u/Adam)\
**Post date:** [August 19, 2024, 8:12am UTC](https://community.piwik.pro/t/measure-time-between-two-specific-pageviews-in-a-session/4290/2 "2024-08-19T08:12:17Z")

</div>

Hi @martho,

Not really possible out of the box. You can try below report to see if that helps you:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/e/e6db8fe9b527a56d8572edec8e2c437eca4b4a49.png)

---

<div class="post-metadata">

**Author:** ![martho](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@martho](https://community.piwik.pro/u/martho)\
**Post date:** [August 19, 2024, 9:54am UTC](https://community.piwik.pro/t/measure-time-between-two-specific-pageviews-in-a-session/4290/3 "2024-08-19T09:54:25Z")

</div>

Hi @Adam

Thanks for your help. I think I found a solution I can work with.

I’ve added a calculated measure:

{time\_on\_page,transformation\_id=sum}/{sessions}

In my report I’ve added page url as a filter to filter for the pages I want to be included in the calculation.

 ![billede](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/0/0fe7520a4f36e7d582a40fc2d3f94df064449144.png)

This way I get the average time spent pr. session. It’s not super accurate, but I can work with it.

/Martin

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/1X/db7013c4fd6a24443b339309db52f14995207737.png) [@system](https://community.piwik.pro/u/system)\
**Post date:** [September 2, 2024, 9:54am UTC](https://community.piwik.pro/t/measure-time-between-two-specific-pageviews-in-a-session/4290/4 "2024-09-02T09:54:28Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
