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

Arbitrarily Extend Session Duration #14897

Open
ibril15 opened this issue Sep 18, 2019 · 0 comments
Open

Arbitrarily Extend Session Duration #14897

ibril15 opened this issue Sep 18, 2019 · 0 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@ibril15
Copy link

ibril15 commented Sep 18, 2019

Hello,

I have a use case where I want to arbitrarily extend a visit duration. The situation is something like this.

1 - User logs in
2 - User opens a 3rd party link in an iframe or popup
3a - User continues interacting with main site
or
3.b - User closes the browser

I want to extend the duration for as long as the user is in Step 2 so that Step 3a is not treated as a new visit, and so that I can record an accurate duration for Step 2 in the case of Step 3b.

Is it possible to do that now? I know that this has been discussed a few times in the past, specially around ping/heartbeat, but most of the threads are over a year old:

#9610 (comment)
#9617
#13656
https://forum.matomo.org/t/how-to-send-a-heartbeat-via-http-tracking-api/27832/5

Passing in some sort of parameter to ping that extends the session beyond visit_standard_length would be quite handy.

On a related note, the documentation for "Ping" at https://developer.matomo.org/guides/tracking-javascript states "If they are sent within the standard visit length, they will extend the existing visit and the current last action for the visit" which no longer appears to be the case.

Thanks a lot.

-Igor

@tsteur tsteur added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Sep 18, 2019
@tsteur tsteur added this to the Backlog (Help wanted) milestone Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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