After a donation is made you can use the Donation Form event handlers to redirect to a new page. This is a great way to show a special thank you page or redirect to a conversion tracking URL.

Please keep in mind, as with all custom implementations, this is only an example and not all browsers will treat this the same way, so be sure to fully test your unique solution. We do not provide support for custom implementations. 

Be sure to change "https://funraise.io" to the absolute URL you want to redirect to!

🤓  Be careful: This is advanced, nerds only!

<script id="funraise-form-lib" src="https://d2n4tvy2wsd0oo.cloudfront.net/widget/common/1.3/funraise.min.js" type="text/javascript"></script>
<script id="funraise-form-1e78fec433" type="text/javascript">
    var f = new Funraise({
        id: '1e78fec4-8fd0-4a3e-b82b-866c29012531:33',
        isPopup: true,
        onSuccess: function(donor,donation) {
          if(donation.paymentType !== 'paypal') {
            window.location.assign("https://funraise.io");
          }
        }
    });
    f.init();
</script>
<div id="fc-1e78fec433"></div>

Did this answer your question?