summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2019-06-07 17:40:00 +1000
committerAsh McKenzie <amckenzie@gitlab.com>2019-06-13 14:54:38 +1000
commit1dd283d58d0d7569c6b00650e52af4d74952f2e3 (patch)
tree63205c973d882173faeb5cb99d2f45f7d86b0988 /app/views
parent8bfc3a26a31fd48fd7af7a7ecd67102b04e9d66b (diff)
downloadgitlab-ce-1dd283d58d0d7569c6b00650e52af4d74952f2e3.tar.gz
Add trackEvent when accessing the Register tab
This is a no-op for CE.
Diffstat (limited to 'app/views')
-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