# Ideas for tracking engagement

**URL:** <https://community.piwik.pro/t/ideas-for-tracking-engagement/2217>\
**Category:** Data collection and tags\
**Created:** [May 16, 2023, 5:35am UTC](https://community.piwik.pro/t/ideas-for-tracking-engagement/2217 "2023-05-16T05:35:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![perttu](https://avatars.discourse-cdn.com/v4/letter/p/e274bd/32.png) [@perttu](https://community.piwik.pro/u/perttu)\
**Post date:** [May 16, 2023, 5:35am UTC](https://community.piwik.pro/t/ideas-for-tracking-engagement/2217/1 "2023-05-16T05:35:22Z")

</div>

Hey,

this one goes for all of you.

Would love to hear how people are tracking engagement in PiwikPro. Or if someone has a new idea to test.

For example, is there a way to track the number of pages the visitor has visited and the session time at once? Or something similar, like that the visitor has scrolled the page 100% and time on page is over 2 minutes.

All ideas and solutions are welcome. 🙂

---

<div class="post-metadata">

**Author:** ![Jakub\_Fidala](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/jakub_fidala/32/1675_2.png) [@Jakub\_Fidala](https://community.piwik.pro/u/Jakub_Fidala)\
**Post date:** [May 16, 2023, 8:22am UTC](https://community.piwik.pro/t/ideas-for-tracking-engagement/2217/2 "2023-05-16T08:22:57Z")

</div>

custom events for interactions with content, heatmap script, funnels if I’m looking for something more specific, depends what type of engagement I’m looking for, custom event dimentions for content viewed.

here you can find few nice scripts for Piwik that are useful:

> **[Solution Templates | Piwik PRO](https://piwikpro.github.io/solutions-templates/)**
>
> Use our library of custom tags to collect more data from your site.

Things like bounce rate, scrolled page %, or time on page - I would only consider them if I’m looking at similar pages in one group, ie. comparing blog posts, or few pages from features catalog on my page. Otherwise it might be a bit misleading.

---

<div class="post-metadata">

**Author:** ![anthonybartczak](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/anthonybartczak/32/2430_2.png) [@anthonybartczak](https://community.piwik.pro/u/anthonybartczak)\
**Post date:** [May 17, 2023, 7:51am UTC](https://community.piwik.pro/t/ideas-for-tracking-engagement/2217/3 "2023-05-17T07:51:11Z")

</div>

Hi perttu!

You can actually use the _Page views in session_ and _Session time_ dimensions (or their transformations) to display the data for the first part of your question.

As for the second one - we currently don’t support the `and` operator while attaching triggers to a tag. You could try using a workaround, such as storing the information whether someone reached the 2 minute mark or scrolled 100% of the page in a `window` property variable and then reading it with a _Custom JS_ Tag Manager variable.
