How to integrate Fundraise Up with the Twitter Universal Website Tag

Conversion tracking enables you to measure your return on ad spend by tracking the actions people take after viewing or engaging with your ads on Twitter.

Once conversion tracking is set up, you'll also be able to track cross-device conversions. This means even if someone viewed your Promoted Tweet on their mobile device but converted on their laptop, the conversion will be accurately attributed to your campaign!

Add your Twitter Universal Website Tag to your website

If you want to use the universal tag, all you have to do is create your conversion events inside Twitter’s UI. The Universal Website Tag will map to corresponding Fundraise Up events. You can find this pixel ID in Twitter’s snippet that is generated for you after making a new Universal Conversion Event.

Add Javascript to send Checkout View events to Twitter

Fundraise Up's "checkoutOpen" event maps nicely with  Twitter's "InitiateCheckout" event.

1<script>
2  FundraiseUp.on('checkoutOpen', function(details) {
3
4    window.twq('track', 'InitiateCheckout', {
5      content_ids: [details.campaign.id],
6      content_name: details.campaign.name,
7      content_category: 'Fundraise Up'
8    });
9
10  });
11</script>

Add Javascript to send Donation Completed events to Twitter

Fundraise Up's donationComplete event is equivalent to Twitter's "Purchase" event.

1<script>
2  FundraiseUp.on('donationComplete', function(details) {
3
4    window.twq('track', 'Purchase', {
5      value: details.donation.amount,
6      currency: details.donation.currency,
7      content_ids: [details.campaign.id],
8      content_type: details.donation.recurring? "Monthly Donation" : "One-time Donation",
9      content_name: details.campaign.name,
10      content_category: 'Fundraise Up',
11      num_items: '1',
12      order_id: details.donation.id,
13      status: 'completed!'
14    });
15
16  });
17</script>

Still need help?

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