-
Notifications
You must be signed in to change notification settings - Fork 228
Closed
Labels
category:browserAbout the browser-specific code.About the browser-specific code.priority:mediumOn the roadmap.On the roadmap.type:enhancementNew features or improvements to existing features.New features or improvements to existing features.
Milestone
Description
During integration of snowplow JS tracker we found out that with slow connection we got canceled status with error : net_error = -3 (ERR_ABORTED) for requests with > 5sec time.(Easy reproduce with first call in browser private mode and turned on slow3g)
I had load https://d1fc8wv8zag5ca.cloudfront.net/2.6.2/sp.js1 and change there timeout to 10seconds.
After this changes our requests got success status.
Question: is it possible to add new param to set timeout ?
For example:
window.snowplow(‘newTracker’, ‘cj’, ‘{TRACKER_PIXEL}', { appId: '{APP_ID}’,
cookieDomain: ‘${COOKIE_DOMAIN}’,
timeout: 10000
});
matotias and tonzingj
Metadata
Metadata
Assignees
Labels
category:browserAbout the browser-specific code.About the browser-specific code.priority:mediumOn the roadmap.On the roadmap.type:enhancementNew features or improvements to existing features.New features or improvements to existing features.