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
bd98a327
Commit
bd98a327
authored
May 03, 2019
by
Martin Wortschack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Activate additional snowplow tracking
- Add feature flag - Add separate partial for additional snowplow config
parent
487a6382
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
ee/app/views/layouts/_snowplow.html.haml
ee/app/views/layouts/_snowplow.html.haml
+2
-3
ee/app/views/layouts/_snowplow_additional_tracking.html.haml
ee/app/views/layouts/_snowplow_additional_tracking.html.haml
+5
-0
No files found.
ee/app/views/layouts/_snowplow.html.haml
View file @
bd98a327
...
...
@@ -20,6 +20,5 @@
window
.
snowplow
(
'
enableActivityTracking
'
,
30
,
30
);
window
.
snowplow
(
'
trackPageView
'
);
window
.
snowplow
(
'
enableFormTracking
'
);
window
.
snowplow
(
'
enableLinkClickTracking
'
);
window
.
snowplow
(
'
enableErrorTracking
'
);
=
render
'layouts/snowplow_additional_tracking'
ee/app/views/layouts/_snowplow_additional_tracking.html.haml
0 → 100644
View file @
bd98a327
-
return
unless
Feature
.
enabled?
(
:additional_snowplow_tracking
)
:javascript
window
.
snowplow
(
'
enableFormTracking
'
);
window
.
snowplow
(
'
enableLinkClickTracking
'
);
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