ToneDen Knowledge
Search…
⌃K

How to Install Your Facebook Pixel on Other Ticketing Platforms

A step-by-step guide on installing your Facebook Pixel on Eventbrite.
Installing your Facebook Pixel is essential for measuring your ad's effectiveness. Leveraging your pixel data not only allows you to more efficiently reach your target audiences, but it allows you to better understand how your campaigns influence conversions.
Learn how to install your facebook pixel on your events events by watching the following video:

Step #1: Grab Your Facebook Pixel ID

Grab your Facebook Pixel ID by following the instructions in this article.

Step #2: Use the Following Email Template to Send to the Support Email of Your Ticketing Company

Your ticketing company will reply to your email and provide you with instructions on how to install your Facebook Pixel if it turns out they have a self-serve pixel installation tool.
Hi Name,
I would like to install my Facebook pixel across all current & new events that I create within my organization.
I have attached 3 snippets of code for each type of page:
  • Event Listing Pages
  • Purchase Confirmation Pages
  • Non-Event Listing & Non-Purchase Confirmation Pages
My pixel ID is: ################
I have also included instructions on how to add the "content_ids" and "content_type" custom parameters.
Here is the code for the non-event listing pages & non-purchase confirmation pages:
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'<https://connect.facebook.net/en_US/fbevents.js>');
fbq('init', '<pixel id>');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="<https://www.facebook.com/tr?id=<pixel id>&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->
Here is the code for the event listing pages:
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'<https://connect.facebook.net/en_US/fbevents.js>');
fbq('init', '<pixel id>');
fbq('track', 'PageView');
fbq('track', 'ViewContent', {
content_ids: '<event id>',
content_type: 'product',
});
</script>
<noscript><img height="1" width="1" style="display:none"
src="<https://www.facebook.com/tr?id=<pixel id>&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->
And the code for the purchase confirmation pages:
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'<https://connect.facebook.net/en_US/fbevents.js>');
fbq('init', '<pixel id>');
fbq('track', 'PageView');
fbq('track', 'Purchase', {
content_ids: '<event id>',
content_type: 'product',
currency: '<3-letter currency code>'
value: <value of purchase>
});
</script>
<noscript><img height="1" width="1" style="display:none"
src="<https://www.facebook.com/tr?id=<pixel id>&ev=PageView&noscript=1"
/></noscript>
<!-- End Facebook Pixel Code -->
In all snippets, <event id> should be replaced with the ID of the event that the user is visiting or purchasing, and <pixel id> should be replaced by the user's Facebook pixel ID.
In the purchase snippet, <3-letter currency code> should be replaced by the 3-letter code of the currency that the user is purchasing the tickets with, e.g. USD or GBP, and <value of purchase> should be replaced by the amount of money that the user paid for their order, e.g. 100.
Thanks,
​