For effective Facebook advertising, remember not to forget the Facebook Pixel. The Facebook Pixel is vital to helping you create more effective audiences, run dynamic ads, and track and optimize conversions. You will receive detailed instructions to install the Facebook Pixel on your website.
Many Facebook Marketing users are quite afraid to install Facebook Pixel for their website because they feel it is quite complicated and requires knowledge of web programming techniques. It is true that setting up the Facebook Pixel is technically involved, but it is not too difficult to apply and you should do it because there are many benefits that Pixel has to offer.
1.Determine the Facebook Pixel code
Before you install Pixel, you should definitely know where you can get your Pixel code. First, go to the Facebook Pixel section in Business Manager. If you have not installed Pixel before, you will see the following image, then click the “Set Up Pixel” button:
If you have created a Pixel before and you want to install it again, click “Set Up Pixel” as shown below:
Next is the “Choose How You Want to Install Your Pixel Code” section, now you will choose whether to install it through another tool (like Tag Manager) or install it directly. In this article, we only need to know the Pixel code details, so you choose option 2 “Copy and Paste the Code”
After following the instructions, in step 1.2 you will see your Facebook Pixel code
Now you will see the unique Pixel ID for your ad account, it’s two lines of blue numbers and you copy all the Facebook Pixel code.
2. Install the Facebook Pixel code on your website
Next is the content on how to Install the Facebook Pixel code into your website.
2.1. Install Facebook Pixel in WordPress Theme
Let’s say you are on the WordPress admin page. You need to insert the Pixel code before the closing HEAD tag in your Website Template for this code to be activated on all the web pages of your website (which is the goal for the Pixel installation).
Therefore, go to the Theme settings, then go to the “Header and Footer Scripts” section, paste the Pixel code we copied above into the “Header Scripts” box and then click the “Save” button. This method applies to most themes, but if your theme is quite special, you should re-read the documentation to see how to update the code for the Header section.
2.2. Install Facebook Pixel in WordPress Plugin
For the Facebook Pixel to work properly, you need to install the Facebook Pixel code on every page of your website, which is a bare minimum. Once you are able to install the Pixel code following the instructions in method 2.1, you will be able to create multiple sets of Audiences who visit your website according to different criteria and you can also create Custom Conversions to track and Optimize conversions when running Facebook ads.
In addition to installing the Theme, in WordPress you can also install the Facebook Pixel code through Plugins such as: Pixel Caffeine (free), PixelYourSite Pro (about 80USD), Tracking Code Manager (free simple version) , … In these Plugins, there are sections for you to configure Pixel, script, … will execute on the web and you just need to provide ID or paste the Facebook Pixel code in.
Tracking Code Manager Plugin script configuration screen
Obviously, installing the Facebook Pixel is very important, especially for Facebook Marketing advertisers because of the benefits it brings. Hope this article will help you to install Facebook Pixel for your website yourself!