Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2019-06-07 10:40:00 +0300
committerAsh McKenzie <amckenzie@gitlab.com>2019-06-13 07:54:38 +0300
commit1dd283d58d0d7569c6b00650e52af4d74952f2e3 (patch)
tree63205c973d882173faeb5cb99d2f45f7d86b0988 /app
parent8bfc3a26a31fd48fd7af7a7ecd67102b04e9d66b (diff)
Add trackEvent when accessing the Register tab
This is a no-op for CE.
Diffstat (limited to 'app')
-rw-r--r--app/views/devise/shared/_tabs_normal.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/devise/shared/_tabs_normal.html.haml b/app/views/devise/shared/_tabs_normal.html.haml
index 8745a4e9d3e..4cd03be572f 100644
--- a/app/views/devise/shared/_tabs_normal.html.haml
+++ b/app/views/devise/shared/_tabs_normal.html.haml
@@ -3,4 +3,4 @@
%a.nav-link.qa-sign-in-tab.active{ href: '#login-pane', data: { toggle: 'tab' }, role: 'tab' } Sign in
- if allow_signup?
%li.nav-item{ role: 'presentation' }
- %a.nav-link.qa-register-tab{ href: '#register-pane', data: { toggle: 'tab' }, role: 'tab' } Register
+ %a.nav-link.qa-register-tab{ href: '#register-pane', data: { track_label: 'sign_in_register', track_property: 'sign_in', track_event: 'click_button', track_value: 'register', toggle: 'tab' }, role: 'tab' } Register