Send conversion events from Fundraise Up to Movable Ink

Movable Ink is a cloud-based personalization platform that helps marketers create and deliver dynamic email, mobile, and web experiences. Using Fundraise Up’s JavaScript API, you can send donation conversion events to Movable Ink.

Before you start

  • Make sure the Fundraise Up installation code is already added to your website.
  • Get your Movable Ink tracking subdomain or current tracking snippet from your Movable Ink account team.
  • Replace <YOUR_MOVABLE_INK_TRACKING_SUBDOMAIN> in the example below with the value provided by Movable Ink.

Implementation guide

To track the donationComplete JavaScript event in Movable Ink, add the following script to the pages where Fundraise Up checkout can be completed.

1<!-- Movable Ink initialization for Fundraise Up -->
2
3<script type="text/javascript">
4(function(m,o,v,a,b,l,e) {
5  if (typeof m['MovableInkTrack'] !== 'undefined') { return; }
6  m['MovableInkTrack'] = b;
7  l = o.createElement(v);
8  e = o.getElementsByTagName(v)[0];
9  l.type = 'text/javascript';
10  l.async = true;
11  l.src = '//' + a + '/p/js/1.js';
12  m[b] = m[b] || function() { (m[b].q = m[b].q || []).push(arguments); };
13  e.parentNode.insertBefore(l, e);
14})(window, document, 'script', '<YOUR_MOVABLE_INK_TRACKING_SUBDOMAIN>', 'mitr');
15</script>
16
17<!-- Fundraise Up donationComplete event -->
18
19<script type="text/javascript">
20FundraiseUp.on('donationComplete', function(details) {
21  var conversion = {
22    revenue: details.donation.amount,
23    identifier: details.donation.id
24  };
25
26  var product = {
27    sku: (details.donation.recurring ? 'FRURECURRING-' : 'FRUONETIME-') + details.donation.currency,
28    name: (details.donation.recurring ? 'Fundraise Up Recurring Donation - ' : 'Fundraise Up One-time Donation - ') + details.donation.currency,
29    price: details.donation.amount,
30    quantity: '1',
31    other: details.campaign.name
32  };
33
34  mitr('addProduct', product);
35  mitr('send', 'conversion', conversion);
36});
37</script>

Testing the integration

After adding the script, make a test donation through Fundraise Up and verify that the conversion and product details are received in Movable Ink analytics.

Still need help?

Need help with something not covered in Support Center? Connect with a support engineer for more assistance.
Email us