Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect when a user is actively browsing or using the webpage, for more accurate Time on page #5208

Closed
hpvd opened this issue May 22, 2014 · 2 comments
Labels
answered For when a question was asked and we referred to forum or answered it. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@hpvd
Copy link

hpvd commented May 22, 2014

Today user often have multiple tabs opened in their browser.
All but 1 are in the background and were not viewed and not used.

Since one could now track onpage events like using css tabs, fold or unfold content or even scrolling one could use the existence of theses events to derive that the user is viewing/using the page.

The other way around one could derive that when there are no events for a period of time e.g. 15sec the page maybe not in use and e.g. only opened in the background.

=> having this "not in use" information one could stop counting the time one page and could achieve better and more realistic about time on page.

One idea regarding usability:
one could a have

  • a simple setting to activate this function "stop time counting when there are no events" and
  • a field to put in the duration how long there has to be no event until the time is stopped.

=> users who have implemented Custom event tracking can simply activate this, and for all users who have not, everything keeps the same.

What do you think?

@mattab
Copy link
Member

mattab commented May 25, 2014

That's a good idea. It also reminds of of this similar ticket: #2041

@mattab
Copy link
Member

mattab commented Jun 19, 2017

This should be implemented by the Heart Beat timer: https://piwik.org/faq/how-to/faq_21824/

@mattab mattab closed this as completed Jun 19, 2017
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Jun 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

2 participants