How to Install Facebook Pixel on Your Website

Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email

A Facebook Pixel is a tool that you install into your website’s code. It helps measure metrics that can help you target a specific audience when creating ads for Facebook.

If you are currently or thinking of running advertisements on Facebook, the Facebook Pixel will be a valuable tool. Using the analytical data from it you can better target your advertisements and affect your ROI on them. Setting up a Pixel is fairly simple and even Facebook has their own guide on how to do this.

How to Get Your Facebook Pixel Code

  1. In your Facebook Business Manager click on the three lines on the top left.
  2. Under the Measure & Report column click on Pixels.
  3. On the new screen, click on + Add New Data Source and select Facebook Pixel.
  4. A new screen should pop up where you can type in a name for the Pixel and your Website URL.
  5. Once completed you will be taken to the main page of that Pixel where you can copy your Pixel ID in the top left hand corner.

How to Install It On Your Website

We’re going to use WordPress plugins to accomplish this since we primarily service customer websites running on WordPress.

  1. Log in to your WordPress dashboard and go to Plugins > Add New.
  2. In the search bar on the top right search for “Facebook Pixel”.
    1. The one we’ll be using is the Official Facebook Pixel plugin.
  3. Install and activate the plugin.
  4. In your WordPress dashboard go to Settings > Facebook Pixel.
  5. Enter your Pixel ID in the box and click on Save Changes.
    1. If you operate in the EU please take additional action to ensure GDPR compliance.

Once all this is done you can start tracking information about what kind of people visit your website. To be sure that you’ve done it correctly you can go back to the Pixel screen in your Facebook Business Manager and start seeing statistics populate (may take about a day if you actually have visitors to your site).

Subscribe To Our Newsletter

Get updates and learn from the best

More To Explore


How Blogging Can Help Your Business

If you’re looking to grow your business online then it’s a good idea to focus on SEO. Having a business blog can help your website


How PPC Ads Can Benefit Your Business

If you’re looking to generate more exposure for your business and take your company to the next level, then PPC ads may be a great

Do You Want To Boost Your Business?

drop us a line and keep in touch