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
59d29679
Commit
59d29679
authored
Oct 07, 2020
by
Qingyu Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Collect web performance metrics via Snowplow
parent
dce382cc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/tracking.js
app/assets/javascripts/tracking.js
+1
-1
spec/frontend/tracking_spec.js
spec/frontend/tracking_spec.js
+1
-1
No files found.
app/assets/javascripts/tracking.js
View file @
59d29679
...
...
@@ -9,7 +9,7 @@ const DEFAULT_SNOWPLOW_OPTIONS = {
respectDoNotTrack
:
true
,
forceSecureTracker
:
true
,
eventMethod
:
'
post
'
,
contexts
:
{
webPage
:
true
},
contexts
:
{
webPage
:
true
,
performanceTiming
:
true
},
formTracking
:
false
,
linkClickTracking
:
false
,
};
...
...
spec/frontend/tracking_spec.js
View file @
59d29679
...
...
@@ -28,7 +28,7 @@ describe('Tracking', () => {
respectDoNotTrack
:
true
,
forceSecureTracker
:
true
,
eventMethod
:
'
post
'
,
contexts
:
{
webPage
:
true
},
contexts
:
{
webPage
:
true
,
performanceTiming
:
true
},
formTracking
:
false
,
linkClickTracking
:
false
,
});
...
...
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