The Facebook pixel is extremely important for businesses in collecting customers' information. Based on these data, you can run Dynamic Ads with more and more accurate customer groups. In this post, we would like to show you how to get the Facebook Pixel code.

# The guidance of installing and getting the Facebook Pixel

First of all, you need to create a Facebook Business Account to ensure that the installation is possible. Next, follow the steps below

Step 1: Go into the web to do the login. Then Click on Business Manager and select Facebook Pixel

Facebook Bussiness

Step 2: Click to Create a Pixel to create a new Facebook Pixel

Click to Create a Pixel to create a new Facebook Pixel

Step 3: Name the Pixel that you want then select Create Pixel next part is the steps to set up Facebook Pixel

Step 1: After having a Pixel, select Set up your Pixel now

Step 2: Select Install code manually

Step 3: Copy all the base code between <head> and </head/>

then paste them to the Head code of your website that you are operating
This code will track every activity of the users when they visit your website. Then press Continue to finish.

After completing the Facebook pixel installation on your website, you have to know whether the code installed is working properly or not.

We will show you 2 ways to check this pixel:

## Option 1: Use Facebook Pixel Helper (extension Chrome provided by Facebook).

You can download the Extension here

Pixel Helper is an extension for Chrome Browser. This extension works to automatically check all the Facebook Pixel code on websites. Once it's been installed, the icon </> (Pixel Helper icon) will appear on the right-hand corner of the browser, next to your address bar. With a website installed the Facebook Pixel, that small icon will turn blue and display the number of pixels found on that website. If the Facebook Pixel is not set up on the website, this blue icon will not appear. In that case, click the Pixel Helper icon then a small window will pop up with the information that you can use to verify, troubleshoot, and improve your Pixel.

Facebook Pixel helper

After completing the Facebook pixel installation on your website, you can go to check on your website yourself. If you can see the Extension display ID information of your Facebook Pixel installed recently, you are successful.

## Option 2: Use Facebook's test tool in your Business account

Go to events manager → select the Facebook Pixel which you just installed and then click the "Test events" tab
At this tab, you can see Test Event Instructions like the following illustration, then write your URL website → select Open Website
If you are on your way, all your events will be displayed at this tab (realtime) and you do not have to reload the page again (the following picture)

All detailed information of your events will appear including the time track event. By this, it is easy for you to find out whether the Facebook Pixel is set up correctly on your website

If you encounter any difficulty during the installation of Facebook Pixel, please don't hesitate to contact us and present your problem via our email - . Our technician team will support you as soon as possible

# How to troubleshoot problems with the Facebook Pixel

As mentioned above, the Facebook Pixel Helper reports common errors that can happen when you install a pixel on your website. Let's take a look at them and find out the ways to avoid them.

## Error 1: 'Pixel did not load'

The "Pixel did not load' error means that Pixel Helper may have found a code that seems like a Facebook pixel's code on your site but the actual HTTP command from your website back to Facebook has not been made.
The principal causes can be:

- There could be an error in your pixel base code
- You set up your pixel to receive information about a dynamic event. When this happens, click on the specific button where you attached your pixel code and click on the Pixel Helper again to see if this fixes the problem.
- You are using an Adblock to filter out the advertising

## Error 2: 'Not a standard event'

This means that the Pixel Helper has found an event code on your website that doesn't match one of their standard events. An example is that an event is named "Purchased" instead of "Purchase"

## Error 3: 'Pixel activated multiple times'

This error means that your Facebook pixel has sent the same message several times to Facebook. Ensure you have used pixel base code just once on each page that has an event you'd like to track.

## Error 4: 'Invalid pixel ID'

This means that the Pixel ID in your Facebook pixel base code hasn't been recognized by Facebook. To fix this, you'll need to replace the pixel ID in your pixel base code with the pixel ID assigned to an active ad account.

## Error 5: Products are missing from your catalogs

If you are running Dynamic Ads then this is an important message, meaning that you have provided the incorrect product IDs in your feed, so the catalog's ID can not be found. You can find this ID in the Business Manager

Ensure your Catalogs can be linked with your Pixel. 

## Error 6: You have opted-out of tracking

This warning means that you have opted out of tracking from Facebook so the pixels detected are not logged on your servers. This prevents any server-side validation for the Custom Audience Pixel potentially leaving pixel problems undiagnosed.

You can learn more about our offsite tracking in your Facebook Ads Preferences including how to turn to track back on.

Moreover, Facebook respects mobile device settings regarding ad tracking so you may need to update the settings of your devices to opt back in. If some devices have opted out, you have to opt back every device before activating the tracking

## Error 7: Pixel is not paired with a product catalog

'**The Product Catalog Not Paired**' warning suggests that the pixel is not paired with any product catalog. This pairing is required to specify the relationship between them. You can try to pair a catalog with a pixel in two ways - the Commerce Manager or the Product Catalog Preferences API.

## Error 8: Data Processing Parameters Sent

The Data Processing Parameters Sent section displays any data processing parameters sent with the Limited Data Use (LDU) flag for a specific event. The Data Processing Option is shown at the state (DPOST) and country (DPOCO) levels. For example, a 'dpost' value of 1 represents California and a 'dpoco' value of 1000 represents the United States. If the values are 0, Facebook will geolocate the event. If you set a country, you must set a state or Facebook will automatically geolocate the event.

## Error 9: Pixel Took Too Long to Load

The Pixel Took Too Long to Load warning suggests that it took a long time before the pixel was activated. This may happen because of the location where the pixel is set on the webpage. It is recommended that you should place the pixel code on the first part of your site. The best would be just before the closing </head> tag in the HTML.

If a webpage visitor closes the webpage, clicks on a link, or navigates away before the pixel event activates, the action will not be tracked. A significant percentage of actions and conversions can be lost due to these actions.

## Error 10: Pixel is Not the Only Conversion

It is recommended that with each event, you should use a single conversion pixel across all ads tracking or ads optimization to avoid inefficient optimization and tracking of these conversion events.

Sometimes, a secondary conversion event may occur based on a person's interaction with your webpage such as a button click. In this case, the warning can be ignored.

## Error 11: Pixel Advanced Matching

The Pixel Advanced Matching warning suggests that the value sent for the advanced matching parameter is invalid or not formatted correctly. This may happen when you are sending static values from example code such as {{email}} for the em field, where the {{email}} should have been replaced by the real email address.

Please verify that the values are formatted and replaced correctly before passing it to the Facebook Pixel.


Facebook Pixel App (The best solution for IOS 14 update):


Leave a comment