How to Add Facebook Pixel on WordPress (Easy Way)

Are you searching for a way to add Facebook Pixel on WordPress site of yours? Well, if you look hard over the internet, you will find old ways to add Facebook pixel. But now, ways have changed a lot. The good news is, you are at the right post. 

From this post, you will be able to learn about Facebook Pixel and install Facebook Pixel on WordPress site of yours by yourself. Just read the post thoroughly, and you will be able to do it. 

Let’s begin.  

What is the Facebook Pixel?

How to Add Facebook Pixel on WordPress

At first, you have to create a Facebook Pixel. To create one, navigate to Events Manager and log in to your Facebook account. Now click on the green plus icon or Connect data button. 

Now, it will ask you how you want to connect. Select Web and click on Connect button. 

Provide a suitable name for your new pixel and hit Create Pixel button. 

On the next screen, enter your website URL and click on the check button. 

Then select Meta Pixel Only and hit the Next button. 

On the next screen, select Install code manually. 

On the next screen, you will see the code. Click on the Copy Code button, and the code will be copied to your clipboard. 

Keep this code for the next step. 

Now it’s time to add Facebook pixel tracking code to WordPress <head> section. Install the WPCode plugin from the WordPress plugins directory. 

After installing the plugin, don’t forget to activate it. Navigate to Code Snippets -> Header & Footer. Paste the copied code in the header section and click on the save changes button. 

Well, you have successfully installed Facebook pixel on WordPress site of yours. 


Congrats, you have done it. If you want to test if Facebook Pixel is working or not, install Facebook Pixel helper Chrome extension. Once you have the extension activated, visit the site where you have installed Facebook Pixel. Upon clicking on the extension, you will be able to see if its working. 

If you liked the post, then share it with your friends, and don’t forget to leave your thoughts in the comment box below.

Was this helpful?

Thanks for your feedback!

Leave a Reply

Your email address will not be published. Required fields are marked *

Introducing New Table Block Plugin - Tableberg

Need help?