How to Install the Facebook Pixel

If you plan on using Facebook ads or Google ads to drive people to your website, you really need to consider putting a Facebook Pixel on your website. The Facebook Pixel is a conversion pixel and also helps create custom audiences using just a little bit of software for your website. It can give you a lot of information!

It can be used in 3 different ways:

  • It can help build custom audiences for your website. We will learn more about this in a later unit.
  • It can help you optimize your ads.
  • It can help you track conversions and attribute them back to your advertising to help you learn what is working and what isn’t.

The Facebook Pixel works by placing a small piece of code on your page that displays immediately after following some kind of event. If someone comes to your website, that pixel will fire letting Facebook know that the conversion has taken place. Facebook then matches that conversion event against those who saw or clicked on your advertisement.

Setting up your Facebook Pixel:

Note: Facebook is CHANGING constantly. If this information becomes out of date, refer to Facebook’s guide for setting up the Facebook Pixel.

  1. Go to your Pixels tab in Events Manager.
  2. Click Create a Pixel.
  3. Read how the pixel works, then click Continue.
  4. Add your Pixel Name.
  5. Enter your website URL to check for easy set up options.
  6. Click Continue.
  7. Install Your Pixel Code.
    1. There are 3 options:
      • Integrate with other software like Google Tag Manager, Shopify, etc.
      • Manually Install the code yourself.
      • Email Instructions to a Developer if there is someone else making your website for you.
    2. If you manually install it yourself
      1. Go to your website and locate your header code (If you don’t know where this is, Google for a step-by-step guide for the website service you are using)
      2. Copy the pixel code and paste it into your header section and save.
    3. If you are using a WordPress site, you can simplify this process with free plugins.
      1. On your WordPress admin dashboard, locate Plugins and click, “Add New.”
      2. Type “Pixel” in the search box and click “Install Now” on the plugin called PixelYourSite (recommended).
      3. Copy the Pixel ID number and paste it into the proper section on the plugin.
      4. Now on every page you create, your Facebook pixel will be installed.
  8. Check if your Facebook Pixel is working correctly.
    1. Add a plugin called Facebook Pixel Helper in the Google Chrome Store and anytime you visit a website with a Facebook Pixel attached to it, the icon will change color.
  9. View detail reports about activity on your website.
    1. Go back to your Business Manager page, in the hamburger menu, select “Events Manager”
    2. Click on your pixel and it will give you more detailed information about the pages you put it on such as how many people are visiting your page.