How to install Facebook Pixel

11

May

How to install Facebook Pixel

Category : Uncategorized / by

How To Add Facebook Pixel To WordPress Step-by-Step (Definitive Guide)

What’s Facebook Pixel?

Facebook Pixel is an analytics tool developed by Facebook to measure and improve conversions from Facebook Ads. Additionally, it allows you to create custom audiences and get insights about your site traffic.

If your business relies on Facebook Ads, Facebook Pixel is a must tool because it’ll help you take your advertising campaigns to the next level.

Why Add Facebook Pixel to WordPress?

Facebook Pixel helps you better understand your audience and improve conversions by allowing you to:

  • Measure conversions from your Facebook ads.
  • Create custom audiences based on gender, age group, interests, country, city, and other parameters.
  • Retarget users who visited your website.
  • Get insights about how visitors use your website.
  • Optimize your ad campaigns showing them to the people who convert better.

If that’s not enough, let’s see how Facebook Pixel can help you with an example. Let’s say that you are running an online shop using WooCommerce. If your store has a conversion rate of 2%-3%, between 97% and 98% of your visitors won’t buy anything. Even though you can use contact forms and other tricks to prevent cart abandonment, complementing those with Facebook Pixel is an excellent move.

Considering that Facebook currently has around 1.73 billion active daily users, chances are that most people who visit your site also use Facebook. So, by tracking your visitors, showing sponsored ads in the news feed to the ones who are most likely to buy, you will be able to convert the abandoned carts to sales.

How To Add Facebook Pixel to WordPress?

Here, we will be showing simple manual methods to integrate Facebook Pixel with your WordPress blog.

NOTE: Keep in mind that you only need to add Facebook Pixel to your site if you use Facebook Ads. If you don’t run Facebook ads, you do not need to do it because the tool won’t be able to display any info.

1) Manually

Create the Facebook Pixel

First, you need to log in to your Facebook account and go to the Facebook Ads Manager. Alternatively, you can land on the Ads Manager page directly following this link. You will see a page like this.

It’s worth noting that Facebook restricts creating pixels per account. And as of May 2020, a Facebook account can be used to create only one pixel.

Click the Get Started button to move forward.

Then, a pop-up box will appear.

You need to give a name to your Pixel (mandatory) and you can also enter an URL (optional). Then, click Continue.

Congratulations. You have successfully created a Pixel in our Facebook account!

Integrate Facebook Pixel with your WordPress site

Once you’ve created the Pixel, you need to integrate it with your website. Facebook will show three options.

  • Partner integration.
  • Manual integration.
  • Email to Developer.

In this guide, we’ll focus on the manual integration. Once you select the manual integration from the list, Facebook will show you a custom code to insert on your website. Copy the code to your clipboard.

Now, let’s see how to add the Facebook Pixel code to WordPress. You’ll need to paste the code in the header section on your blog. If you are not sure how to do it, check out our guide on how to edit the header of your site.

To do this, log in to your WordPress blog and go to the Theme Editor under the Appearance section.

From the right side, select the header.php file and paste the Facebook Pixel code just before the </head> tag as shown below.

Then, click Update File to save the changes.

On the other hand, if you don’t want to edit your theme’s core files directly, you can use Insert Headers and Footers. Simply install the plugin and go to the Plugins’ settings. You will see three options.

  • Header.
  • Body.
  • Footer.

All we need to do is, paste your Facebook Pixel code in the header section and click Save.

That’s it! You’ve manually inserted Facebook Pixel to your WordPress site!

How to test if Facebook Pixel is working

After you add Facebook Pixel to WordPress, you need to do one more thing:

Make sure Facebook Pixel is actually working!

To do that, you install the Facebook Pixel Helper Chrome extension.

Once you have the Chrome extension activated, visit the site where you installed Facebook Pixel.

If your Pixel is working, you should see something like this when you click on the extension:

how to test facebook pixel

And there you go! That’s all you need to do to add Facebook Pixel to WordPress. Enjoy your remarketing, conversion tracking, and custom audiences!

Share This :

Add your Comment

Tara Campbell:

Hey - I was checking out your site and I’m impressed with how clean and profes...

Jared Erickson:

I like the idea of having a SEO and creating content about the housing you’re ...

Chris Ames:

Simple and effective, I love it. I think I’ll just bookmark this and when I ge...

ARCHIVES
POPULAR TAGS