Skip to content
There is a crisis happening at the U.S. Southern border. Yet together, we can provide hope, healing and restoration to the suffering.

Your gift helps World Relief partner with those who are bringing hope and transformation to refugees from around the world. Your donation supports World Relief to serve refugees through our programs in the Middle East and the United States.

Please consider provide sustainable monthly support to help World Relief serve refugees through our programs in the Middle East and the United States.*

 

       window.bboxInit = function () {
           bbox.showForm(‘8686f880-a78e-4ed9-b051-a83c640b5cac’);
       };
       (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 giving ensures sustainability to our work in some of the most vulnerable places in the world. Contributions will be used for helping refugees and displaced people. If using funds in this way becomes impossible, impractical or unnecessary, World Relief will use contributions to continue its general work.

(function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,’script’,’https://www.google-analytics.com/analytics.js’,’ga’);
ga(‘create’, ‘UA-2603204-2’, ‘auto’);
ga(‘require’, ‘ecommerce’);

var triggered = false;

function tryToTrackConversion() {

if(triggered) return;
var myDonation = document.getElementById(‘bboxdonation_divThanks’);

if (myDonation){

triggered = true;

function getAmount() { //float

var getAmount = document.querySelector(“#bboxdonation_divThanks .BBFormConfirmationTransactionDetails >span”).innerText.split(“\n”);
getAmount = getAmount[0];
var cleanCharsAmount = getAmount.replace (/,/g, “”);
re = /\$(.*)/g;
cleanCharsAmount = cleanCharsAmount.match(re).toString();
var donationValue = parseFloat(cleanCharsAmount.replace(‘$’,”));

return donationValue;
}

function getId(){
var idTransaction = $(“.BBFormConfirmationTransactionDetails”)[2].innerHTML;
idTransaction = idTransaction.replace(/\D/g,”);
var idDonation = parseInt(idTransaction);

return idDonation;
}

var value = getAmount();
var id = getId();

ga(‘ecommerce:addTransaction’, {
‘id’: id, // Transaction ID. Required.
‘revenue’: value, // Grand Total.
});

ga(‘ecommerce:addItem’, {
‘id’: id, // Transaction ID. Required.
‘name’: ‘Refugee Crisis’, // Product name. Required.
‘sku’: ‘200008400’, // SKU/code.
‘category’: ‘Donation’, // Category or variation.
‘price’: value, // Unit price.
‘quantity’: ‘1’ // Quantity.
});

ga(‘ecommerce:send’);

} //end if

}

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

 

Site Designed and Developed by 5by5 - A Change Agency