How to install a Facebook Pixel

Ingredients

  • A Facebook Page
  • Facebook Admin Access to the page
  • A Website
  • Website Admin Access

Directions

  1. Create a Facebook Pixel.
    • Log in to Facebook
    • Navigate to your Ads manager, or click here for a direct link.
    • Click ‘Create A Pixel’
    • Click ‘Email Instructions to a Developer’.
    • Enter your email address.
    • Click ‘Send’ at the bottom of the page.
    • We recommend doing this so that you have the code in your email for reference.
  2. Install Facebook pixel.
    • You will be copying and pasting the pixel script from step 2 the email you received into the header of your website, before the tag. Don’t worry, it’s not as hard as it seems!
    • Many modern content management systems have a field to paste the script into so you don’t have to access the website code directly.
    • Find specific instructions for your type of website below.
  3. Check for proper installation.
    • Add the Pixel Helper to Chrome.
    • Visit your website
    • Click on the 3 vertical dots in the top right corner
    • If properly installed you will see a blue icon.

Congratulations!

You’ve now successfully installed the Facebook Pixel and are gathering data from the visitors to your website.

Instructions for common website types

WordPress

  1. Go to the ‘Plugins’ page of your WordPress site. Search for the plugin ‘Insert Headers and Footers’, or download from this link and install. Insert Headers and Footers
  2. After installing and activating the plugin, go to the ‘Settings » Insert Headers and Footers’ page.
  3. Paste your Facebook Pixel code in the header section and click on the save button to store your changes.

Weebly

  • Log in to Weebly.
  • Select the site where you want to add your pixel.
  • Click Edit Site.
  • Click Settings.
  • Click SEO.
  • Scroll down and paste your Facebook Pixel code in the Header Code section.

Note: If you already have code in this section for another site (like Google Analytics), just place your Facebook Pixel code before or after the code that’s already in this section.

Wix

  1. Sign in to your Wix account.
  2. Go to your Site Manager.
  3. Click ‘Tracking & Analytics’.
  4. Click ‘+ New Tool’ and select ‘Facebook Pixel’ from the dropdown.
  5. Enter your Facebook tracking ID from section 1 in the email sent from Facebook.
  6. Click ‘Apply’.

Squarespace

  1. Log into your Squarespace site.
  2. In the Home Menu, click ‘Settings’, then click ‘Advanced’, then click ‘Code Injection’.
  3. Copy and paste the header code snippet into the Header field.
  4. In the header code, replace insert_pixel_code_here with the entire pixel code you copied.

Insert_code.png

  1. Click Save.

GoDaddy GoCentral

  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.

SnapPages

  • Copy the code provided by Facebook.
  • Click ‘Code’ under the ‘Settings’ tab within your SnapPages account.
  • Paste the code into the ‘Header Code’ field and click ‘save’.

Sitebuilder

  1. Go to ‘My Layouts’.
  2. Click on ‘Layouts’.
  3. Choose your layout.
  4. Paste the pixel code in the box labeled ‘Scripts’.
  5. Click ‘Confirm and save’.

Facebook Pixel Basics

You may have heard about a magic cookie called a Facebook Pixel.
“Make sure your website has a pixel installed,” you hear.
But what is it exactly, and how do you go about making sure it’s installed?

We’re glad you asked! Installing a Facebook Pixel is on our list of essential marketing tactics for all businesses.

What is a Facebook Pixel?

A Facebook Pixel is an actual ‘cookie’. A cookie is a small piece of invisible code that tracks activity on your website. You can advertise on Facebook to the people who have visited your website or taken certain actions on your site. This is called ‘retargeting’ or ‘remarketing’. The audience you retarget doesn’t even have to be on Facebook in order to see your ad. They can see your information while using Facebook as well as many partner websites and apps.

There are lots of applications, but a Facebook Pixel helps your advertising be more specific to your audience rather than general. The more your ad relates to the person who sees it, the better your end results will be. Those who use the Pixel for retargeting usually have a much higher return on investment for their ad spend than those who simply target by interests or geography.

The blue icon shows that a Facebook Pixel is successfully installed.

Does my site have one?

You may have an awesome web developer that you suspect has already set up your Pixel for you. Or, you may be curious about your competition—have they got one installed?

You can check the status of any website’s Facebook Pixel using the Chrome extension, Pixel Helper. Once this is added to your Chrome desktop browser, go to the site in question and click on the three vertical dots at the top right of your screen. If a Pixel is installed, the icon will be blue. If it is not installed, or installed incorrectly, it will be grey.

How do I get one?

To get started with installing your Facebook Pixel, you can check out our Facebook Pixel Installation Guide. We highly recommend you install the Pixel before beginning any serious digital marketing activities. However, don’t feel that you have to take advantage of the full potential of your new Pixel right away. Just having it installed and tracking your visitors is an important first step in effective digital marketing.