diff --git a/static/js/deactivation-survey.js b/static/js/deactivation-survey.js index 71ea940..fdc7000 100644 --- a/static/js/deactivation-survey.js +++ b/static/js/deactivation-survey.js @@ -193,9 +193,6 @@ // Send event return await sendSurveyEvent( skipped ) - .then( () => { - sendDurationEvent(); - } ) .then( () => { deactivatePlugin(); } ); @@ -224,23 +221,6 @@ ); }; - /** - * Helper to send duration event data - * - * @return {Promise} via SendEvent - */ - const sendDurationEvent = async () => { - const deactivationDuration = document.getElementById( - 'deactivation-duration' - ).value; - - return sendEvent( - 'deactivation_duration_select', - 'deactivation_duration', - deactivationDuration - ); - }; - /** * Send Event through to GA4 *