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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃挕 track sessions manually #2490

Open
bcaudan opened this issue Nov 2, 2023 · 2 comments
Open

馃挕 track sessions manually #2490

bcaudan opened this issue Nov 2, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@bcaudan
Copy link
Contributor

bcaudan commented Nov 2, 2023

From @scottalguire

Our clients install our widget on their website and we want to start recording a session once opened and stop once closed.

If we init on open, and stopSession on close, a new session will start again automatically when the user interacts with the webpage further, even if they never open our widget again. We really need a way to start/stop sessions manually so the surrounding website isn't polluting our data with irrelevant interactions and errors.

@bcaudan bcaudan added the enhancement New feature or request label Nov 2, 2023
@bcaudan
Copy link
Contributor Author

bcaudan commented Nov 2, 2023

We could consider a dedicated configuration (similar to trackViewsManually) to let you start and stop the session manually instead of our current behaviours of starting the session on init or re-start a session on user interaction.
We'll let you know here if we make progress on this topic.

@Bertie-Chapman
Copy link

This would be a very welcome feature, especially in the context of SPA. With the pricing model being per session it is undesirable that sessions are created automatically after init has been called. It would be fantastic if the configuration could be changed on the manual start of a new session also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants