diff --git a/services/web/app/views/subscriptions/plans/_group_plan_modal.pug b/services/web/app/views/subscriptions/plans/_group_plan_modal.pug index 0744dd0d8a..078427705b 100644 --- a/services/web/app/views/subscriptions/plans/_group_plan_modal.pug +++ b/services/web/app/views/subscriptions/plans/_group_plan_modal.pug @@ -1,10 +1,6 @@ div.modal.fade(tabindex="-1" role="dialog" data-ol-group-plan-modal) .modal-dialog(role="document") - .modal-content( - event-tracking="form-submitted-groups-modal-open" - event-tracking-mb="true" - event-tracking-trigger="load" - ) + .modal-content .modal-header button.close( type="button" diff --git a/services/web/frontend/js/features/plans/group-plan-modal/index.js b/services/web/frontend/js/features/plans/group-plan-modal/index.js index 6177bbb1a4..60e2d81dbc 100644 --- a/services/web/frontend/js/features/plans/group-plan-modal/index.js +++ b/services/web/frontend/js/features/plans/group-plan-modal/index.js @@ -61,6 +61,7 @@ modalEl .on('shown.bs.modal', function () { const path = `${window.location.pathname}${window.location.search}` history.replaceState(null, document.title, path + '#groups') + eventTracking.sendMB('form-submitted-groups-modal-open') }) .on('hidden.bs.modal', function () { const path = `${window.location.pathname}${window.location.search}`