     @form = new TeamDomainTabForm
       callback: (formData) =>
 
+        track 'submitted domain form'
+
         KD.utils.verifySlug formData.slug,
           success : =>
+            track 'entered a valid domain'
             @form.input.parent.unsetClass 'validation-error'
             KD.utils.storeNewTeamData name, formData
             # removed these steps


  showError: (error) ->

    @form.input.parent.setClass 'validation-error'
    new KDNotificationView { title : error }


      {{> @form}}
    </div>
    """


track = (action) ->

  category = 'TeamSignup'
  label    = 'DomainTab'

  KD.utils.analytics.track action, { category, label }
