         data
         context: @
         success: ->
-          @slackLog({
+          @logContactFlowToSlack({
             event: 'Submitting',
             message: "Successfully sent. email: #{formValues.email}"
           })


  onSubmitForm: (e) ->
    try
      @slackLog({
        event: 'Submitting',
        message: "Beginning. sendingState: #{@state.get('sendingState')}"
      })


      @trigger('submit')
    catch e
      @logContactFlowToSlack({
        event: 'Submitting',
        message: "General error! error: #{e}"
      })

  logContactFlowToSlack: (data) ->
    logUrl = '/contact/slacklog'
    # /teachers/licenses and /teachers/starter-licenses
    if window?.location?.pathname?.endsWith('licenses')
      logUrl = '/db/trial.request.slacklog'

    try
      data.name = me.broadName()
      data.email = me.get('email')
