Skip to content

Donate to Haiti – Hurricane Matthew Relief Response

 

       window.bboxInit = function () {
           bbox.showForm(‘5143162b-816a-4f2a-888e-08271d25be19’);
       };
       (function () {
           var e = document.createElement(‘script’); e.async = true;
           e.src = ‘https://bbox.blackbaudhosting.com/webforms/bbox-min.js’;
           document.getElementsByTagName(‘head’)[0].appendChild(e);
       } ());
 


Your one-time donation allows World Relief to support the work of local churches and partners in Haiti who are deploying aid and development to those affected by the recent hurricane. If using funds in this way becomes impossible, impractical or unnecessary, World Relief will use contributions to continue its general work.   

var triggered = false

function tryToTrackConversion() {
//console.log(“Triggered ? ” + triggered);
if(triggered) return;
var myDonation = document.getElementById(‘bboxdonation_divThanks’);
//console.log(“Trying to donate”);

if (myDonation){
// console.log(“Donating”);
triggered = true;

function getAmount() {
var text = $(“strong:contains(‘amount’)”).parent().text();
text= text.replace (/,/g, “”);
var regex = /\$(\d*\.\d+)/g;
var match;
var amount = null;

while ((match = regex.exec(text)) !== null) {
if (match.index === regex.lastIndex) {
regex.lastIndex++;
}

match.forEach((match, groupIndex) => {
if(groupIndex==1)
amount = match;
});
}//end while

return amount;

} //end function

var value = getAmount();

fbq(‘track’, ‘Purchase’, {value: value, currency: ‘USD’});

window.google_trackConversion({
google_conversion_id:879237259,
google_conversion_language:”en”,
google_conversion_format:”3″,
google_conversion_color:”ffffff”,
google_conversion_label:”4NyNCKfhlG0Qi7GgowM”,
google_conversion_value:value,
google_conversion_currency:”USD”,
google_remarketing_only:false
});

adroll_conversion_value = value;
adroll_currency = “USD” ;
adroll_segments = “50fa8ffa”;
// console.log(value);

try{
__adroll.record_user({“adroll_segments” : adroll_segments , “adroll_conversion_value” : adroll_conversion_value, “adroll_currency” : “USD”})
} catch(err) {}

var value= parseInt(value);
_gaq.push([‘_trackEvent’, ‘donation-form’, ‘donate’, ‘Haiti Relief’, value, true]);

} //end if
}

$(“body”).bind(“DOMSubtreeModified”, tryToTrackConversion);

Site Designed and Developed by 5by5 - A Change Agency