Commit 49c87841 authored by Alper Akgun's avatar Alper Akgun

Reduce snowplow delay before unloading a page

parent 9f22b536
...@@ -12,6 +12,7 @@ const DEFAULT_SNOWPLOW_OPTIONS = { ...@@ -12,6 +12,7 @@ const DEFAULT_SNOWPLOW_OPTIONS = {
contexts: { webPage: true, performanceTiming: true }, contexts: { webPage: true, performanceTiming: true },
formTracking: false, formTracking: false,
linkClickTracking: false, linkClickTracking: false,
pageUnloadTimer: 10,
}; };
const createEventPayload = (el, { suffix = '' } = {}) => { const createEventPayload = (el, { suffix = '' } = {}) => {
......
...@@ -31,6 +31,7 @@ describe('Tracking', () => { ...@@ -31,6 +31,7 @@ describe('Tracking', () => {
contexts: { webPage: true, performanceTiming: true }, contexts: { webPage: true, performanceTiming: true },
formTracking: false, formTracking: false,
linkClickTracking: false, linkClickTracking: false,
pageUnloadTimer: 10,
}); });
}); });
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment