Overview
The Facebook Pixel integration allows you to track visitor activity and conversion rates related to your Facebook Ad campaigns. For more information about the Facebook Pixel, visit Facebook's website here: https://www.facebook.com/business/learn/facebook-ads-pixel.
Setting Up
Adding your Facebook Pixel into Givebutter
Visit your Givebutter Dashboard and click on the "Integrations" tab
Locate the Facebook Pixel box and click "Expand"
Paste in your Facebook Pixel and click Save
Note: Facebook Pixels are not yet supported on embedded Givebutter forms.
Tracked Events
Once you've saved your Facebook Pixel, the following events will be tracked for every Givebutter campaign. Sample data that is sent with each event is also displayed below.
Important: the content_id parameter is denoted as an array, even though it only has one value (the campaign id). This follows Facebook's best practices.
PageView
Triggered when a user visits a campaign page.
ViewContent
Triggered when a user visits a campaign page. This is an alias for PageView, with some extra data.
{
content_type: 'product',
content_name: 'Donate to Dance Marathon' //Givebutter campaign title
content_ids: ['12345'] //Givebutter campaign ID
}
ClickPurchase
Triggered when a visitor clicks the button to donate or purchase a ticket. Note: this event will not fire on Form campaigns, as there is no button on the page.
{
content_type: 'product',
content_name: 'Donate to Dance Marathon' //Givebutter campaign title
content_ids: ['12345'] //Givebutter campaign ID
}
InitiatePurchase
Triggered when a visitor begins the process of making a donation or purchasing a ticket. In practice, this is triggered after a visitor advances past the first slide of the transaction flow (select a donation amount or a ticket type). Note: InitiatePurchase will only be called once per session.
{
content_type: 'product',
content_name: 'Donate to Dance Marathon' //Givebutter campaign title
content_ids: ['12345'] //Givebutter campaign ID
}
InitiateCheckout
Triggered when a visitor reaches the checkout page of the transaction flow. This is equivalent to something like a "Checkout" button on other sites. Note: InitiateCheckout can be triggered multiple times in the same session.
{
value: 100.00,
currency: 'USD',
content_type: 'product',
content_name: 'Donate to Dance Marathon' //Givebutter campaign title
content_ids: ['12345'] //Givebutter campaign ID
}
Purchase
Triggered when a visitor completes their purchase.
{
value: 100.00,
currency: 'USD',
content_type: 'product',
content_name: 'Donate to Dance Marathon' //Givebutter campaign title
content_ids: ['12345'] //Givebutter campaign ID
}