If you want to run conversion ads (and if you want to market smarter, you definitely want to run conversion ads), you need to install a Facebook pixel. If you're using third-party publishing or e-commerce platforms, you may not be able to edit the website's code to add the pixel. Check with your website/provider to see what their policy is.

Facebook Partner Integrations

If your site runs on one of the partners below, take advantage of the automatic integration features to simplify your pixel installation.


  1. Go to your Facebook pixel tab in Ads Manager.
  2. Copy your pixel ID from the summary area on the right.
  3. Log into BigCommerce.
  4. Select Advanced Settings and choose Web Analytics. (Note: In some versions of the control panel, Web Analytics is under Setup & Tools.)
  5. Check the box next to Facebook pixel.
  6. Click Save.
  7. Select the Facebook pixel tab.
  8. Type in your Facebook pixel ID under Settings.
  9. Click Save.


  1. Visit Magento Connect and click Install Now.
  2. Check the box to accept the extension license agreement and click Get Extension Key.
  3. Copy the Extension Key.
  4. Log into your Magento Admin Panel.
  5. Click Magento Connect under "System" and choose Magento Connect Manager.
  6. Paste your Extension Key URL in the "Install New Extensions" section.
  7. Click Install.
  8. Click Proceed. You should now see a message that says "Installed successfully" in the console at the bottom of the page.
  9. Return to the Magento Admin Panel and click Facebook Ads Extension.


  1. Go to Shopify.
  2. Select Log in from the Shopify admin.
  3. Enter your store address, email address, and password.
  4. Click Log in.
  5. Select Online Store and choose Preferences.
  6. In the Facebook pixel section, enter your Facebook pixel ID.
  7. Click Save.

Commonly Supported Platforms

If your website allows you to edit its code, paste the pixel between the <head> and </head> tags of the page you want to track. Check out this list of common platforms that Facebook supports for specific instructions:


  1. In the Home Menu, click Settings > Advanced.
  2. Click Code Injection.
  3. In the header box, paste your Facebook pixel base code.
  4. Click Save.

You can also add the purchase standard event code to the Order confirmation page box or add specific events to certain pages by using the Page Header Code Injection function. To do this:

  1. Open the page while in the Pages panel.
  2. Hover over the content area and click Settings.
  3. In the Page Settings window, click Advanced in the top-right corner.


  1. Log in to your Eventbrite account.
  2. Go to the "Manage" page.
  3. “Tracking Pixels” (under Analyze) on the Manage page.

4. Copy and paste your Facebook pixel ID.

Click “Facebook pixel," choose whether you want the pixel to apply to this event only or all your Eventbrite events, and enter the Facebook pixel ID in the text field (under “Facebook pixel ID”).

Note: Check the 'All Events' option. You will want this installed for all of your future events.

3. Add Standard Events to your Facebook Pixel.

Click on “Add Standard Event," select which placement you want an event to fire on, and then select the Website Action you want to fire for that event.

You can add your Standard Event to two different placements (“Event Listing”, and “Event Register”) and you can use any website actions for your placements. However, we recommend not using the same website action for multiple placements. We also recommend the following website actions for each placement:

• Event Listing → View content
• Event Register → Initiate checkout

Note: Eventbrite automatically tracks Purchases, so there's no need to create this event.

4. Save.

Click “Save” to complete setting up your Facebook Pixel.


  1. Log in to your Website Builder account.
  2. Click Edit Site.
  3. Click the three-bar icon in the top-right corner of your screen and select Site Settings.
  4. Select Site-wide Code.
  5. Paste the pixel code between the <head> tags.
  6. Click OK and close the Site Settings window.
  7. Click Publish.

From your admin page, click Lead Page Options > Tracking Codes .
In the Head-Tag Tracking Code box, paste the code.
Click Done.
Click Publish.


  1. Click Embed Code and drag it to the top of the page.
  2. Click Edit Custom HTML.
  3. Paste the code.
  4. Click Publish.


  1. Edit your website.
  2. Create an HTML box.
  3. Paste the pixel code into the text box and click Update.
  4. Drag the HTML box to attach it to the header at the top of the page.
  5. Save and publish.


(Note: The pixel is available only on self-hosted Wordpress.org sites, not Wordpress.com sites.) 

  1. Install the Insert Headers and Footers plugin.
  2. From the Settings section, click Insert Headers and Footers.
  3. Paste your pixel code in the Scripts in Header box.
  4. Click Save.
Did this answer your question?