Skip to content

Document changed behaviour of heartbeat timer #334

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

Merged
merged 2 commits into from
Feb 23, 2020
Merged

Document changed behaviour of heartbeat timer #334

merged 2 commits into from
Feb 23, 2020

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Feb 23, 2020

Copy link
Collaborator

@Findus23 Findus23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, thanks!

Co-Authored-By: Lukas Winkler <git@lw1.at>
@tsteur tsteur merged commit 8b2c2aa into master Feb 23, 2020
@tsteur tsteur deleted the 15612 branch February 23, 2020 20:25
Piwik will then send requests to count the actual time spent on the page, when the user is actively viewing the page (ie. when the tab is active and in focus). These heartbeat requests will not track additional actions or pageviews. By default, Piwik will send a heartbeat request every `15` seconds. You may change the default interval, for example to send a request every `30` seconds:
Piwik will then send requests to count the actual time spent on the page, when the user is actively viewing the page (i.e. when the tab is active and in focus). The heart beat request is executed when:
* switching to another browser tab after the current tab was active for at least 15 seconds (can be configured see below)
* navigating to another page within the same tab.
Copy link

@dakur dakur May 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tsteur @Findus23 I'm just having tough time reading docs and understanding what Matomo's heartbeat actually does. It is stated it sends requests when user is actively viewing the page, but in next sentence it is written that is executed only on window blur. So what's true? According to matomo-org/matomo#15058 the latter, but the name heartbeat suggests it makes repetitive requests in some interval…

snake14 added a commit that referenced this pull request Aug 17, 2022
@innocraft-automation innocraft-automation removed this from the Current sprint milestone Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Update documentation how heart beat timer works
4 participants