You can connect your Google Analytics account with your Funraise donation forms by setting up event handlers. See Google documentation for how these parameters work.

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 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,
         
        onSetup: function() {
            /* Your custom code here, this function is called
            When the donation widget is loaded on the page
            You could use this method to alter the form or
            Do additional cool stuff on your site once the form
            is loaded */
        },
        onFailure: function(donor) {
            /* Your custom code here, donor is passed in
            as an argument. This function gets called
            if a donation fails */
 
 
        },
        onSuccess: function(donor,donation) {
            /* Your custom code here, this function is called
            when a donation happens sucessfully, the donor and
            donation are passed in as arguments. Many people
            use this feature to integrate with adwords/google
            analytics and facebook, below is a partial example
            with adwords */
 
            /* push adwords conversion */
            var google_conversion_id = "YOUR_CODE";
            var google_conversion_language = "en";
            var google_conversion_format = "2";
            var google_conversion_color = "ffffff";
            var google_conversion_label = "YOUR_LABEL";
            var google_conversion_value = donation.amount;
            var google_conversion_currency = "USD";
            var google_remarketing_only = false;
 
            var script = document.createElement('SCRIPT');
            script.type = 'text/javascript';
            script.src = '//www.googleadservices.com/pagead/conversion.js'
            document.body.appendChild(script);
 
            ga('send', 'event', 'Donation', 'Freedom Founders', donation.amount, donation.type);
       }
    });
    f.init();
</script>
<div id="fc-1e78fec433"></div>

Did this answer your question?