To successfully track website visitor activity for Official Events ad campaigns, set up conversion tracking for the following standard events.
/official_events root edge, Meta will automatically append eventref=fb_oea to your ticket_uri. For example: www.your-clever-domain.com/event_id?eventref=fb_oeaticket_uri has a redirect uri please make sure to append eventref=fb_oea to the redirect uri as wellfb_oea value to the field eventref in all the Meta Pixel events listed below only if the url contains eventref=fb_oeafb_oea to the field eventref on all Meta Pixel fires even for those that do not have eventref in the URLYou must track the following standard events and include a parameter object that contains the specified properties.
Track the following ViewContent standard event when a visitor views your Official Event ad campaign's ticket purchase page:
fbq('track', 'ViewContent',
{
content_ids: ['partner_event_id'],
eventref: 'fb_oea' // or set to empty string
}
);Track the following InitiateCheckout standard event when a visitor begins your checkout flow. For example, track the event when the visitor clicks an "Add To Cart" button on your ticket purchase page:
fbq('track', 'InitiateCheckout',
{
content_ids: ['partner_event_id'],
eventref: 'fb_oea' // or set to empty string
}
);Track the following Purchase standard event after a visitor has purchased a ticket for your Official Event:
fbq('track', 'Purchase',
{
content_ids: ['partner_event_id'],
eventref: 'fb_oea' // or set to empty string
currency: 'USD' // your currency string value goes here
num_items: 1, // your number of tickets purchased value goes here
value: 15.30, // your total transaction value goes here
}
);| Property | Value Type | Description |
|---|---|---|
| Array | An array of ID's that uniquely identifies your Official Events. For example, the event IDs from your database. |
| String | 3 Letter ISO Code. |
| String | If the referrer URL contains |
| Integer | The number of tickets the visitor purchased. |
| Float | Total value of the transaction. |