           $('.donation-loading-overlay').hide()
           pusher.disconnect()
           if data.status == "success"
+            gaDonations('send', 'event', 'form', 'success')
             $("#donation-script").trigger("donations:success")
             if !!config['redirectto']
               unless /^https?:\/\//.test(config['redirectto'])


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

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

            $("#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 = {}
