Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
49c87841
Commit
49c87841
authored
Oct 20, 2020
by
Alper Akgun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce snowplow delay before unloading a page
parent
9f22b536
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
app/assets/javascripts/tracking.js
app/assets/javascripts/tracking.js
+1
-0
spec/frontend/tracking_spec.js
spec/frontend/tracking_spec.js
+1
-0
No files found.
app/assets/javascripts/tracking.js
View file @
49c87841
...
...
@@ -12,6 +12,7 @@ const DEFAULT_SNOWPLOW_OPTIONS = {
contexts
:
{
webPage
:
true
,
performanceTiming
:
true
},
formTracking
:
false
,
linkClickTracking
:
false
,
pageUnloadTimer
:
10
,
};
const
createEventPayload
=
(
el
,
{
suffix
=
''
}
=
{})
=>
{
...
...
spec/frontend/tracking_spec.js
View file @
49c87841
...
...
@@ -31,6 +31,7 @@ describe('Tracking', () => {
contexts
:
{
webPage
:
true
,
performanceTiming
:
true
},
formTracking
:
false
,
linkClickTracking
:
false
,
pageUnloadTimer
:
10
,
});
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment