Twitter Conversion Tracking

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 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.

<script>
FundraiseUp.on('checkoutOpen', function(details) {

window.twq('track', 'InitiateCheckout', {
content_ids: [details.campaign.id],
content_name: details.campaign.name,
content_category: 'Fundraise Up'
});

});
</script>

Add Javascript to send Donation Completed events to Twitter

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

<script>
FundraiseUp.on('donationComplete', function(details) {

window.twq('track', 'Purchase', {
value: details.donation.amount,
currency: details.donation.currency,
content_ids: [details.campaign.id],
content_type: details.donation.recurring? "Monthly Donation" : "One-time Donation",
content_name: details.campaign.name,
content_category: 'Fundraise Up',
num_items: '1',
order_id: details.donation.id,
status: 'completed!'
});

});
</script>