             $("#donation-form").hide()
             $(".donations-callback-flash").show(0).delay(8000).hide(0)
           else 
+            gaDonations('send', 'event', 'form', 'error')
             $(".donation-payment-errors").text(data.message or "Something went wrong.").show()
             
         customer = {}

    self.visibleInputSet = ko.observable(0)

    self.incrementInputSet = ->
      self.visibleInputSet(self.visibleInputSet() + 1)

    self.setInputSet = (index) ->
      self.visibleInputSet(index)

    self.firstName = ko.observable().extend({ required: { message: "Can't be blank" } })

    stripeResponseHandler = (status, response) ->
      $form = $("#donation-form")
      if response.error
        gaDonations('send', 'event', 'form', 'error', 'stripe-error')
        # Show the errors on the form
        $form.find("button").prop "disabled", false
        self.stripeMessage(response.error.message)
        $('.donation-loading-overlay').hide()
