Need Help? Talk to Our Experts
The Facebook Pixel is a standard Tracking Tag that is used to fire once for every page-view of a website
The main objective of Facebook Pixel is:
However, there are people who insist on including multiple Facebook Pixels onto their web pages
WHY THE NEED FOR MULTIPLE FACEBOOK PIXELS?
There are a few websites where two codes need to be placed on a single page and data needs to be sent to two (or more) Facebook Ad accounts
Reasons include:
If you want to know how multiple Facebook Pixels are done, follow the steps given below
STEP#1: LOCATE YOUR FACEBOOK PIXEL CODE
The first step is to navigate to your Facebook Pixel settings and check the tracking code. Once you are in your Facebook Ads account, look for the Mega Menu under the Reports section > Event Manager > Pixels. After that, go to your installed Pixel under the Setup Menu and click on Install Pixel. You will then be able to view your base pixel – a big code!
CAUTION!
Be adventurous enough in finding your own Facebook Pixel! This is because, Facebook is always changing its interface. Once that happens, these steps might become outdated for you. So, be all set to explore on your own! All the best!
STEP#2: CREATE BASE PIXEL LIBRARY CODE IN GOOGLE TAG MANAGER
A custom HTML tag can be used in a Google Tag Manager to implement the code you’ve already located in STEP#1
In this step, go to the Tag section in GTM and click on New and type: Name ‘Fb – Base Pixel – All Pages’. Then click on the configuration. After that, in the side menu, choose the Custom HTML Tag type
Next, paste your Base Pixel into the Custom HTML field
You could also use the following three modification while using this code
Finally, attach an All Pages trigger to the tag to fire on every page view
STEP#3: MODIFY THE FACEBOOK BASE PIXEL TO IMPLEMENT TWO FACEBOOK PIXELS
In this step, the Facebook Base Pixel code is installed to prepare data and sent to 1 Pixel
You may find something that looks like this:
fbq(‘init’, ‘XXXXXXXXXXXXXXXX’);
This initiates the Facebook Pixel and shows where the track data should be sent, according to the Facebook Pixel document
Since we want to send data to two destinations, we can just duplicate the line of code and change around the pixel ID from our second account. This will end up initiating the Facebook Pixels two times and make sure that track calls are sent to both the destinations
STEP#4: ORGANIZE THE TRACK CALLS IN SEPARATE TAGS
It’s time to configure the track calls. This is actually the real data that will have to be sent to Facebook. This can easily be done by using the Facebook Base Pixel Code, in this way the large Base Pixel code will not be used over and over again
To create Track call, send a generic Pageview call to Facebook. To do that first create a new Tag and name it “Facebook – Pageview – All Pages”. As the tag type, choose the Custom HTML tag
This will send over a Pageview
Next, to complete the step, add the All Pages tag
STEP#5: TEST AND PREVIEW THE IMPLEMENTATION
To complete the implementation of multiple Facebook Pixels, test and see if everything works
Set the GTM in the Preview Mode by clicking the preview button on the top navigation bar. Then go back and reload it
You will know that the implementation has been done properly once you check the Preview Panel where the firing of two tags will appear
So, follow the mentioned steps and successfully implement multiple Facebook Pixels
Digital Strategy Consultants (DSC) © 2019 - 2025 All Rights Reserved|About Us|Privacy Policy
Refund Policy|Terms & Condition|Blog|Sitemap