       {{> @form}}
     </div>
     """
+
+
+track = (action) ->
+
+  category = 'TeamSignup'
+  label    = 'DomainTab'
+
+  KD.utils.analytics.track action, { category, label }

    @form = new TeamDomainTabForm
      callback: (formData) =>

        KD.utils.verifySlug formData.slug,
          success : =>
            @form.input.parent.unsetClass 'validation-error'
            KD.utils.storeNewTeamData name, formData
            # removed these steps


  showError: (error) ->

    track 'entered an invalid domain'
    @form.input.parent.setClass 'validation-error'
    new KDNotificationView { title : error }

