diff options
author | Donald Cook <dcook@gitlab.com> | 2019-08-21 19:12:11 +0000 |
---|---|---|
committer | Clement Ho <408677-ClemMakesApps@users.noreply.gitlab.com> | 2019-08-21 19:12:11 +0000 |
commit | 293ef17e7352fa33ce70cae8233b5a415f326596 (patch) | |
tree | d2e480830dca412fd91812aecf4e0a1072a01107 /app/helpers | |
parent | b0af3979a4656adb4a2a422969f3197b3c85eafa (diff) | |
download | gitlab-ce-293ef17e7352fa33ce70cae8233b5a415f326596.tar.gz |
Backport: Issue sidebar tracking
Added snowplow event tracking to Edit buttons
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/issuables_helper.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb index e2e007eee50..b88b25eb845 100644 --- a/app/helpers/issuables_helper.rb +++ b/app/helpers/issuables_helper.rb @@ -405,7 +405,11 @@ module IssuablesHelper placement: is_collapsed ? 'left' : nil, container: is_collapsed ? 'body' : nil, boundary: 'viewport', - is_collapsed: is_collapsed + is_collapsed: is_collapsed, + track_label: "right_sidebar", + track_property: "update_todo", + track_event: "click_button", + track_value: "" } end |