> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ticketsource.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Pixel Tracking

1. [Facebook Pixel](#2-1-facebookmeta-pixel)
2. [X Pixel](#2-2-x-pixel)

When added, the pixel will capture the following information.

* "Search" when a customer views one of your listings pages
* "InitiateCheckout" when a customer clicks the checkout button from their basket
* "AddPaymentInfo" when a customer inputs their payment info on the payment page
* "Purchase" when a customer views the confirmation page after completing their booking, when firing this event we also pass the appropriate "value" and "currency" parameters

| You can **either** add the Pixel Tracking ID ​at the account level to apply to ​all events or at the event level to apply to only a particular event.

## 1. Facebook/Meta Pixel

Before you start:

* Locate the pixel ID in your Facebook Business Manager. The pixel ID is usually 15 or 16 digits long.
* For some ad functionality, Facebook requires the domain in which the pixel is placed to be verified. As TicketSource is a third-party website, you will not be able to verify the domain within your Facebook Business Manager.

**Account Level Pixel**
Add a pixel to your account to apply to all events:

1. Log into your TicketSource dashboard and select the "**Account** | **Integrations**" menu option.
2. Tick the option "Enable Facebook pixel tracking on box office pages"
3. Enter the Facebook Pixel ID and click "save changes".

**Event Level Pixel**
Add a pixel to a specific event:

1. Log into your TicketSource dashboard and "Events > Modify Events"
2. Select the required event on the 'Current Events' drop down and click "Modify Events" 
3. Under the 'Event' column click the pencil/edit icon
4. Under 'Advanced Settings > Analytics and tracking' Enable Facebook Pixel Tracking on booking pages 
5. Enter the Facebook Pixel ID and click "save changes".

## 2. X Pixel

**Account Level Pixel**

1. You'll need to create an X Pixel ID via your X Ads account.
2. Log in to your TicketSource dashboard and select the "**Account | Integrations**" menu option. 
3. Tick the option "Enable X pixel tracking on box office pages", 
4. enter the X Pixel ID and click "save changes".

**Event Level Pixel** 
1. Log into your TicketSource dashboard and "Events > Modify Events"
2. Select the required event on the 'Current Events' drop down and click "Modify Events" 
3. Under the 'Event' column click the pencil/edit icon
4. Under 'Advanced Settings > Analytics and tracking' Enable X Pixel Tracking on booking pages 
5. Enter the X Pixel ID and click "save changes".