Commit c0949a99 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '8775-track-import-issues-csv-usage-on-gitlab-com-with-snowplow' into 'master'

Resolve "Track import issues CSV usage on GitLab.com with Snowplow"

Closes #8775

See merge request gitlab-org/gitlab-ee!9067
parents 522210f3 6a12d985
......@@ -20,5 +20,5 @@
= _('It must have a header row and at least two columns: the first column is the issue title and the second column is the issue description. The separator is automatically detected.')
= _('The maximum file size allowed is %{size}.') % { size: number_to_human_size(Gitlab::CurrentSettings.max_attachment_size.megabytes) }
.modal-footer
%button{ type: 'submit', class: 'btn btn-success', title: _('Import issues') }
%button{ type: 'submit', class: 'btn btn-success', title: _('Import issues'), data: { track_label: "export_issues_csv", track_event: "click_button"} }
= _('Import issues')
......@@ -3,4 +3,5 @@ import Stats from 'ee/stats';
document.addEventListener('DOMContentLoaded', () => {
Stats.bindTrackableContainer('.issues-export-modal');
Stats.bindTrackableContainer('.issues-import-modal');
});
---
title: Added Snowplow tracking to issues import
merge_request: 9067
author:
type: added
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment