-
Notifications
You must be signed in to change notification settings - Fork 215
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
Improve event flushing options and remove pageUnloadTimer #719
Comments
With improvements to Beacon and the local storage queue, it seems reasonable to reduce this. Needs considerable testing for event loss. |
@paulboocock Thinking about the question mark at the end, what risks could there be using Beacon with a PS: We have a Post/Localstorage based implementation, where we want to keep the |
Hey @alperakgun I totally missed this notification, apologies! In an ideal world, using 0ms with beacon would be the perfect scenario, and it should technically work, but beacon behaves inconsistently across browsers, which is the main cause for me to add the |
Thanks @paulboocock - it makes sense. |
I've taken a multiple pronged strategy here which allows for the removal of the pageUnloadTimer. I'm now flushing the buffers on I've also extended the flushing options too. You can now set the buffer size using I've also updated beacon so that the beacon preflight is only required on Safari. This should increase the effectiveness of using |
Current value used in combination with automatic link click tracking can slow the loading of subsequent pages on a website, as the timer is enabled after each link click.
The text was updated successfully, but these errors were encountered: