Commit e8a5daa9 authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Merge branch 'feature/add-gtm-event-to-gitlab-project-import' into 'master'

Add gtm tracking for GitLab export project imports

See merge request gitlab-org/gitlab!77905
parents 7fd0fa86 3e3090ec
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
.import-buttons .import-buttons
- if gitlab_project_import_enabled? - if gitlab_project_import_enabled?
.import_gitlab_project.has-tooltip{ data: { container: 'body', qa_selector: 'gitlab_import_button' } } .import_gitlab_project.has-tooltip{ data: { container: 'body', qa_selector: 'gitlab_import_button' } }
= link_to new_import_gitlab_project_path, class: 'gl-button btn-default btn btn_import_gitlab_project js-import-project-btn', **tracking_attrs(track_label, 'click_button', 'gitlab_export') do = link_to new_import_gitlab_project_path, class: 'gl-button btn-default btn btn_import_gitlab_project js-import-project-btn', data: { platform: 'gitlab_export', **tracking_attrs_data(track_label, 'click_button', 'gitlab_export') } do
.gl-button-icon .gl-button-icon
= sprite_icon('tanuki') = sprite_icon('tanuki')
= _("GitLab export") = _("GitLab export")
......
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