Closed sreucherand closed 4 years ago
did you see this btw? https://github.com/benjaminhoffman/gatsby-plugin-segment-js/pull/34
I did, but seems to me that it describes a different use case, where the delay applies to the initial load of Segment instead of the page tracking event applied at every route change like I need.
I will update the comment per you reply.
@TomPridham thoughts on this? i understand the use case but goes to what i was saying few days ago about setting bloat. maybe it's inevitable tho.
i think this could be useful, and it's a fairly minimal change
@TomPridham I've made the updates and resolved the conflicts, all clear.
just published @sreucherand
Hi there,
Following this PR, I wanna have the ability to configure the delay applied to the page tracking call. Seems that sometimes, 50ms is not enough on my side so the tracking vs page update is not synced properly. I think it'd be better to let the user be able to set the delay that fits him the most than bumping it up.