How To Add Facebook Pixel To Your Website And Verify That It Works Properly

How To Add Facebook Pixel To Your Website And Verify That It Works Properly

The new Facebook pixel makes conversion tracking, optimization and remarketing easier than ever. 

Think about this scenario, you run an e-commerce store, and someone visits your site to check out your latest product catalog but do not make a purchase. How do know who this person is, and how do you track them to understand why they viewed your product but did not make a purchase?

If they wanted to buy but for some reason did not make a purchase at that time, how do you remind them of their intent to buy or “force” their hand to complete the purchase?

Let me introduce you to your new friend called “Facebook Pixel” …

What is Facebook Pixel?

Facebook pixel helps you to remarket to everyone who visits your site, or just to people who visit a specific page or take specific actions.

Creating Your Facebook Pixel:

1. Visit the Facebook Pixel tab in Ads Manager.

creating facebook pixel in ads manager


2. Click on the “Create a Pixel” button.
creating facebook pixel in ads manager


3. Enter a name for your pixel.
– Agree to the “Facebook Pixel Terms”
– Click Next
Pro-tip: You are only allowed to create “1 pixel per an ad account” so choose a name the truly represents your brand. You can always change your pixel name from the Facebook Pixel tab.
how to create facebook pixel for website


4. Congratulations! You have successfully created your Facebook Pixel.
how to create facebook pixel for website


Installing the Facebook Pixel code on your website.

The Facebook pixel code is broken down into two segments: a pixel-based code and an event code.

Our focus for this tutorial is the pixel base code, which tracks activity on your website, providing a baseline for measuring specific events. The base code should be installed on every page of your website.

To install:

1. Visit the Facebook Pixels page in Ads Manager

how to create facebook pixel for website


2. Click on Actions and Select “View Code” option
how to create facebook pixel for website


3. Copy the Facebook Pixel Base Code and paste it into the “<head>” section of your website.

Learn where to find this template or code in different web management systems.

how to install facebook pixel on your website


Verifying the status of your Facebook Pixel.

In Facebook Pixel tab, if you see a green dot next to your Facebook Pixel name, that means your pixel is active.

Pro-tip: It may take up to 20 minutes for your pixel status to change after installing it.

verifying the status of facebook pixel


Verifying status with the Facebook Pixel Helper.

You can also install the Facebook Pixel Helper Chrome browser extension to automatically review the websites for code that looks like the Facebook Pixel. When a website has a Facebook Pixel installed the </> icon in your browser turns blue and a small badge will appear indicating the number of pixels found on the page. Download and install the Pixel Helper from the Chrome Store.
facebook helper chrome extension


It’s your turn, implement the Facebook Pixel Code on your website so you can begin leveraging all the retargeting capabilities that Facebook offer to brands.

Kwadwo Ofori-Mensah
Kwadwo Ofori-Mensah is a tech blogger who loves to read & write about Blogging, WordPress, Social Media & technology.
You may also like
Understanding Facebook Ads Campaign Structure
facebook active users in ghana
Facebook Reaches Over 1.9 Billion Users Every Month