Template:Ways to Give/PayPalSelect: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
wrap in window load |
wrap in mw.loader.using |
||
Line 12: | Line 12: | ||
<script> |
<script> |
||
window.addEventListener('load', function() { |
window.addEventListener('load', function() { |
||
// Add tracking info to links |
// Add tracking info to links |
||
mw.loader.using( ['mediaWiki.Uri'], function() { |
|||
⚫ | |||
$('#currency-list a').attr('href', function(i, val) { |
|||
uri.extend({ |
|||
var uri = new mw.Uri(val); |
|||
uri.extend({ |
|||
utm_medium: 'Waystogive', |
|||
utm_campaign: 'C11_Waystogive', |
|||
utm_source: 'Waystogive' |
|||
⚫ | |||
⚫ | |||
}); |
}); |
||
⚫ | |||
}); |
}); |
||
}); |
}); |
||
</script> |
</script> |
Revision as of 18:52, 20 September 2017
U.S. dollar (USD) Euro (EUR) Australian dollar (AUD) Canadian dollar (CAD) Swiss franc (CHF) Czech koruna (CZK) Danish krone (DKK) Hong Kong dollar (HKD) Hungarian forint (HUF) Israeli shekel (ILS) Mexican peso (MXN) Norwegian krone (NOK) New Zealand dollar (NZD) Philippine peso (PHP) Polish złoty (PLN) British pound (GBP) Thai baht (THB) New Taiwan dollar (TWD)