The Facebook Ads Pixel: What Marketers Need to Know

Facebook Ad Pixel

Are you confused about how to implement the new Facebook Ads Pixel?  Wondering how to transition from your old conversion tracking pixel to the new pixel and measure your ads properly?

Facebook introduced the new Pixel in mid-2015 as a “One Pixel” solution.  Previously Facebook had a pixel that would track website traffic (known as the Custom Audience Pixel) and then different individual pixels to measure conversions (known as Conversion tracking Pixels).

In this article you will learn how to install the new pixel, two methods for tracking your conversions with the pixel, and how to view the cost per conversion in your Facebook Ad reports.

Important Concepts to Understand about the Pixel

First of all, what is a pixel?  A pixel is just a bit of code (also known as a script) that you put on your website that sends messages back to Facebook for tracking purposes.

Each ad account only has one pixel code.  You can install this pixel on multiple websites and then you can track those sites separately.  But you always use the same code that is associated with your ads account.

The audiences and tracking starts after you install the code.  So get the code installed as soon as possible if you want to target people who have visited your website.

You can only share pixels through the Business Manager.  Previously you used to be able to share website conversion pixels with other Facebook Ad accounts so that multiple people could track those conversions with an ad.  But now if you want to share a pixel it needs to be done through the Business Manager.

You have a MAXIMUM of 20 Custom Conversions that you can add to your account and you cannot delete them (as of this writing).  So choose which Custom Conversions you want to track wisely (more on this later).

You can place the Standard Event codes on unlimited number of web pages so if you have lots of different conversions to track, you may want to focus on using the Standard Event codes (again, more on this later).

The old Conversion tracking Pixels will continue to work until mid-2016 if you have some installed on your site.  But it’s a good idea to move everything to the new pixel and delete the old code since the new pixel code loads 3x faster (according to Facebook).

First Step:  Install the New Pixel


The first thing you need to do is to install the new pixel on your website.  This is the easy part if you have used the Facebook pixel in the past.  First navigate to the Ads Manager and then follow these steps:

  1. Click Tools from the upper menu and select Pixels from the drop-down menu.

Navigate to Pixels


  1. On the secondary menu on the Facebook Pixel Page, click Actions, and then select View Pixel Code from the drop-down menu.

View Pixel Code


  1. A popup box appears and you can copy the pixel code that is in the top box of the popup box. At the moment, don’t worry about the conversion tracking event codes.

Copy pixel code


  1. Go to your website and paste the code in between the main <head> and </head> area. Some WordPress sites have themes that make this easier (a Header Script area) or you may have to go to the header.php file and edit that – typically under Appearance > Themes > Editor > Header.php.  Get a webmaster to help you if you don’t know where to find this.
  2. You will know your code is working if you start to see some traffic recorded in the Total Traffic area after you have visited the site where the pixel was installed.

Total traffic


If you are not showing any traffic, use the Facebook Pixel Helper Chrome extension to help you troubleshoot the problem.

Second Step:  Use 1 of 2 Methods for Tracking Your Conversions

The next thing you need to do is to set up the way you will track your conversions. By conversions, I mean specific events that happen on your website such as someone opted in to your Newsletter or giveaway, someone purchased something from your website, or someone registered for an event or webinar.

You will be tracking these things from specific Facebook Ads only.  The pixel doesn’t track from individual Facebook Posts. But the benefit is that you will know exactly which ad is converting the best for you.

To be able to track conversions you need to have two things in place:

  1. Your Facebook Pixel installed on your website (done in step 1)
  2. A “thank you” page that is on your website where someone lands after the event.

So, for example, if you have someone signing up for a webinar on with a webinar service like Go to Webinar, you need to redirect them to a page on your website after they have completed signing up where the pixel is installed.  That way Facebook knows the action has been completed and it can attribute that registration to that exact ad.

You can’t track Facebook ad conversions on other people’s website such as Amazon because that site is not under your control and you are not able to put the pixel on their site.

Facebook’s new pixel has two ways you can track conversions:

  1. Standard Events
  2. Custom Conversions

The Standard Event method involves adding an extra bit of code to the base code and you add the standard event code ONLY on the pages where you are tracking a specific event (i.e. a “thank you” page).

The Custom Conversion method doesn’t require any extra code added to the “thank you” pages, you just use a URL rule instead.  But you are limited to creating 20 Custom Conversions.  This method is ideal for people that don’t have many events to track and don’t want the added hassle of adding the standard event code to their website.

Using the Standard Event Method

This method is very easy to implement if you have easy access to the website.  You can also add as many Standard Events to pages on your site for tracking (unlike the Custom Conversion method).

On the pages that you want to track and optimize your ads for, add a line of code to the Base code of the Facebook Pixel you’ve already installed, right after the “Page View” standard event that is currently in the code.  Notice how it will be tracking Page Views on every Page of your site already due to the fact that your Pixel is on every Page.

Standard Event Code

Image credit:  Facebook Help.

Note that the text in blue, 1234567890, will be replaced with your own Pixel number when you follow the process in Step 1. Just to be clear, the standard event code is not in brackets, the image is highlighting where the Standard Event code goes.

Here is a list of the 9 Standard Event codes that Facebook has:

Standard Events

Once you have installed the extra bit of code to your Pixel on that page, you are done with this step.  Note that you can use a combination of Standard Events and Custom Conversions in the way you do your tracking.

If you have installed the old Conversion Tracking Pixels on these same ‘thank you’ pages, it’s a good idea to remove those pixels unless you are still using them.  Too much code slows your site down.

Using the Custom Conversion Method

The other way to track Facebook conversions from an ad is to use a Custom Conversion rule.  Custom conversions allow you to track and optimize for conversions without adding any extra code to your site.

To create a custom conversion follow these steps from your Ads Manager:

  1. Click Tools and select Custom Conversions from the drop-down menu.

Select Custom Conversions


  1. Select the Create Custom Conversion button and a pop-up box appears.
  2. Add the rule you want to track. So if you are matching a particular page exactly, you enter that web address and use URL equals (make sure you include the www or http:// as needed).  If you want to track across several types of pages you could use the URL contains /thankyou.php as an example if you had several ‘thank you’ pages that had that phrase in them.Custom conversion

Select a category for your Custom Conversion and select Next.

Choose a category


  1. Give your Custom Conversion a name and description (optional) – make the name descriptive so you know exactly what the conversion represents.
  2. Add a conversion value if applicable (optional).
  3. Click Create to finish the process.

Now you will be able to use the Custom Conversion in ads and you will also see the traffic to the pages specified in those custom URL Rules on your Custom Conversions page.

Watch conversion traffic


Third Step:  Creating a Website Conversion Ad

Now that you have your conversion method defined and your pixel installed, you are ready to track your conversions!

When you are in the Ads Manager area, click the Create Ad button is in the upper right corner to get started.  Then follow these steps:

  1. Choose the Increase conversions on your website selection.

Choose website conversions

2. Enter the URL of the website address where you will send the Ad traffic. Then you will be prompted to choose the conversion.  Part of the confusing thing is that all the different conversion tracking is listed together.  But they doesn’t appear until you have set them up.  In this example, you can see all three types of conversions listed, the Custom Conversion, tracking using Standard Events, and the previous conversion tracking pixel.

Choose a conversion tracking for ad

3. From here, you set up your ad exactly the same way you have done it in the past by selecting your targeting in your Ad Set, and setting up the creative part of your ad (image and text) at the Ad level.

4. Once you are done configuring your Ad Set and Ad the way you want it, select Place Order to start your ad running.

One thing to note is that your ad will automatically be set up to optimize for Website Conversions at the Ad Set level.  You can always change that bidding method but your conversions will still be tracked.

Website Conversions optimization


Fourth Step: Viewing the Conversions and Cost per Conversion in Facebook Ad Reports

After your ad has been approved and has started running, the last step is to view the reports correctly so that you know when your ads are registering a conversion and how much each conversion costs you.

Facebook does sometimes get the columns right in the Ads Manager area according to what you are advertising but the best way to make sure you are looking at the right stats is to customize your columns.  Go to the Column area and select Customize Columns from the drop-down menu.

Customize columns


Now you will see a pop-up box with all the different stats you can select.  Select the stats you want to see and then most importantly, scroll down to the Websites section in the center column (or select Websites on the left column to jump there).

Facebook Reports ad conversions


You can see the different options you will be able to select are from the three types of conversions we have available – Standard Events, Custom Conversions, and the Old Conversion Tracking Pixels.  Select the ones that you want to have in your report.

Also make sure you scroll down to the Websites: Cost Per Action section just below that and select the same pixels you chose so that you see how much each conversion cost you from each ad.  Now you will be able to make the right choices on which ad is converting at the best price for you.

Once you are done selecting your columns, click Apply in the lower right corner and your report will appear with the right columns.  For easier viewing in the future, save your report by selecting Save next to the custom configuration you just created (and you can make it the default view after you save it).

Save your report


So there you have it!  Once you have gone through this process once, you should be able to skip right to Step 3 and only do Step 3 for any new ads unless you have a new conversion that hasn’t been created before.

When you track conversions from your Facebook ads, you are going to see a much clearer benefit to using ads for leads and sales.  You can also improve your ad strategy to decrease your cost per conversions by split testing your ads and optimizing your budget to focus on the ads that are actually working for you.

How about you?  Have you tried the new Facebook Pixel yet?  What is your experience with using Facebook ads to drive conversions?  Share your thoughts with us in the comments below!

Facebook Ads Pixel

This article originally appeared on Social Media Examiner and is reprinted with permission.


Need to up your Facebook Advertising skills?  Join over 200 savvy marketers in my completely updated online course, Facebook Advertising Secrets!  Facebook Group included to get all your questions answered!



  • Deborah Freeman Mitchell

    thanks! great info

  • Glad you liked it Deborah!

  • Well what can I say? Facebook pixel is perfect for tracking all the traffic and conversion rates for your Facebook Adverts.

    This post gives great insight on how people can market their content using Facebook. There may be a lot of people who are not of aware of Facebook pixel, this is perfect for marketers to use in their Facebook Ad campaigns.

    Great post!


  • Glad you enjoyed it Benjamin!

  • Hi Andrea,

    Thanks for this timely article. If we’re an agency running ad campaigns for multiple clients do you recommend using Business Manager?

    Is there an alternative way to do it?

  • I would definitely recommend Business Manager for agencies because then multiple people can work on the campaigns without the hassle of adding them individually to the client’s Ads manager if that’s how you do it. But it is a little safer all around. I have a post on the Business Manager here: The only downside is that the client will have to convert to Business Manager also to share their Ads Account with you.

  • Thanks so much Andrea, this is helpful.

  • andy hill

    great post, how can i delete a facebppk pixel?

  • So you can’t delete a pixel that is associated with your account. You can remove it from your website (just delete it from the place you put it)

  • saurabh jain

    Hi Andrea,

    Great Post. I’m currently running campaigns via Facebook ads account and planning to run lead generation campaigns from the same account for 2 different domains (e.g.; & Does using the same pixel on both these domains will have issues in terms of attributing leads to the right campaign. How will facebook differentiate between these 2 domains if the pixel is same.

  • It will track them separately just like if you have two ads running to the same landing page. It will also track those separately as well – Facebook knows the conversion came from that particular ad. Just make sure you have your standard event code on the thank you pages so you know when the conversion happened.

  • Malcolm Myers

    When setting up an ad in FB to track conversions, do you select the base code pixel or the tracking code? eg complete regsitraion?

  • What you do is use the whole Pixel code – the base code to track any Page Views on your site (so that would be for traffic and website retargeting) and add that into the area of your whole site. But then for ONLY the thank you page after they have completed the registration, you use the whole base Pixel code again but substitute the “Complete Registration” line where the “Page View” line is in that code. Hope that helps!

  • Joeri Peeters

    Hi, if i’m right, its better to set up two different pixel id’s from two separate ad accounts with different domains. My FB account manager told this and see also this Facebook help team answer: Does anyone have experience with conversion tracking on multiple domains?

  • Joeri Peeters

    Hi, if i’m right, its better to set up two different pixel id’s from two separate ad accounts with different domains. My FB account manager told this and see also this Facebook help team answer: Do you Andrea or anyone have experience with conversion tracking on multiple domains? We have still to change from the old conversion pixel to the new one for over 120 clients as agency…

  • So I have tracked ads with the same pixel across multiple domains. As an Agency, you should be using the pixel from the client’s account and you can request access to their pixel through the Business Manager.

  • Joeri Peeters

    Thanks, Offcours, I know how to get access and set up a new pixel on clients ad accounts. So it’s possible, you tracked it but do you think Facebook is able to optimize the best way a campaign for (example) the ‘Purchase’ event with the same pixel id is placed on 2 differtent domains? I don’t think so….

  • Arkadi Manucharov


    What if I need to add the pixel to various domains? Do I simply add the new Facebook Ads Pixel to these domains and that’s it? Won’t the data from one domain overlap with the data from a different domain?

  • Yes you can add the pixel to multiple domains and then just create different audiences for each separate domain. So now you’ll be able to target only the visitors of the individual domains. Hope that helps!

  • Arkadi Manucharov

    How about when I need the pixel to track my conversions? Meaning I have created 2 campaigns each one for a separate domain. I have installed the Facebook pixel on each one of the domains . The landing page on both of those domains have a lead form that collects leads from customers, so I added the ” Lead” as a standard event on both of the domains. Now when I create a campaign and set my objective as “Increase conversions on your website”, I am asked to “Choose the conversion you want to optimize your ad for” What am I supposed to choose there?

  • So the way the tracking works is the Lead Standard event is on the Thank You Page of that particular website. The ad will send traffic to the optin page on that website and only track when the Lead Pixel fires from that particular ad. So they aren’t going to “cross pollinate” unless for some reason someone then finds the other website after clicking on the ad and opts in there too. A Custom Conversion could be the way to go if there are possibilities of cross pollination. Hope that helps!

  • mawy

    Very profound post Andrea, thanks 🙂
    My question is that, I have landing page for optin and I use lead generation as well using to syndicate audience to mailchimp. I am using the same thank you page for both of them and want to segregate the traffic, what is the best way to that? should I use separate page, should I use url parameters.
    thank you

  • So I’m not sure what you mean by “segregating” the traffic – do you mean for tracking? Or are you trying to re-target? If you are tracking, just use two different Google UTM codes if you use Google Analytics. This post can help:

    If you mean for re-targeting, then you would have to use two different thank you pages and build two different custom audiences in Facebook. Hope that helps!

  • Michele

    Hi Andrea, the new Facebook pixel is really a must have to track custom audiences, create better retargeting campaigns and improve Facebook Ad conversions! Since it can be tricky and time consuming to set up, at LeadsBridge we developed a free tool to help marketers easily manage the pixel and automatically fire standard events with just a line of code. You can try it out here:
    Hope it can be helpful to make all the techy stuff easier 🙂

  • Nick Taimitarha

    I am trying to manage different client websites within my Business Manager account so am using the same Facebook pixel across all the sites. You say “create different audiences for each separate domain” so does that simply mean selecting ‘Custom Combination’ and then specifying only traffic that meets certain conditions (i.e. URL contains…). Is that how I would create separate audiences for my separate clients based on traffic to their websites?

  • Yes you would go into the Audiences section, create a URL rule that says anyone in this audience would have visited the URL Contains (and then the base website address for your client). Now when you choose the targeting, you will select the Custom audience for that client. Hope that makes sense. The other way to do it is to be an Ads Manager of your Client’s ads account and use their Pixel.

  • Tynn

    Hi Andrea, thanks for the help!
    But I have a question and I’ll try to phrase it as simple as understandable as possible 🙂

    So I installed pixel and I created and I have 3 events. And I use these pixels for different ads. One of my event is Successful Registration. Will it be possible to track how many conversions I got from that event per ad / ad set that I created? I know my question is quite vague, but I hope you get me haha.

  • Sorry, but I still just don’t get it. Perhaps the problem is that the typical scenarios simply do not apply to my business model. If my company is one that creates eCommerce websites and I have 50 different websites, what is the solution to placing a pixel on those 50 completely different websites, selling 50 completely different types of things?

    None of these business entities would have their own ad accounts. They are all under the same main company and the same parent Facebook page. They only allow a maximum of two ad accounts for any single entity, so 50 different pixels is entirely impossible. With a limitation of only 20 different conversion events, how on earth would you keep these 50 sites separate and have any sort of reliable reports and tracking information?

    Why would any company EVER have restrictions on the number of ad accounts any single entity could have? Like I said, maybe I just don’t get it, or maybe, Facebook has severely limited its possibilities for additional ad revenue for reasons that are not clearly apparent. This is what happens when you have computer geeks running a company instead of real business people – a problem that Google suffers from, too.

  • Good post. Most of the people get confuse with events and conversions. This article is well explained the difference between the two. Even I wrote something similar on Facebook:

  • Prashant Yadu


    Great post.

    Here is my concern, I have created the Facebook ad account but still payment method is to be added. Meanwhile, I have added Facebook pixel and a Lead event code on my website. Facebook pixel is activated and showing a GREEN indicator and I can track it as well. But, I am unable to track lead event. Although I cross checked the lead event code, it is perfectly alright. Is this a payment method problem? I mean to say that is it necessary to add payment method first and after that I can track the Facebook events? Please help me.

    Awaiting your reply.