Movable Ink Integration

Getting Started

In order to  integrate with Movable Ink and send "donation complete" events, add the following script to all pages of your website.

<!-- Movable Ink initialization for Fundraise Up ->

<script type='text/javascript'>
(function(m,o,v,a,b,l,e) {
if (typeof m['MovableInkTrack'] !== 'undefined') { return; }
m['MovableInkTrack'] = b;
l = o.createElement(v);
e = o.getElementsByTagName(v)[0];
l.type = 'text/javascript'; l.async = true;
l.src = '//' + a + '/p/js/1.js';
m[b] = m[b] || function() { (m[b].q=m[b].q||[]).push(arguments); };
e.parentNode.insertBefore(l, e);
</script>

<!--Fundraise Up Donation Complete Event ->

<script type="text/javascript">
FundraiseUp.on('donationComplete', function(details) {
var conversion = {
revenue: details.donation.amount,
identifier: details.donation.id
};
var product = {
sku: ( details.donation.recurring ? 'FRURECURRING-' : 'FRUONETIME-' ) + details.donation.currency,
name: ( details.donation.recurring ? 'Fundraise Up Recurring Donation - ' : 'Fundraise Up One-time Donation - ') + details.donation.currency,
price: details.donation.amount,
quantity: '1',
other: details.campaign.name
};
mitr('addProduct', product);
mitr('send', 'conversion', conversion);
});
</script>