1 of the greatest benefits of social media advertising is the ability to test, rails, refine and target your ads with light amplification by stimulated emission of radiation precision. The Facebook pixel is a information-gathering tool that helps brand the nearly of your ads beyond Facebook and Instagram.

As of February 2022, Facebook Pixel changed its name to Meta Pixel. You lot will see it referred to with both names throughout this commodity.

If you utilise Facebook or Instagram ads at present, or plan to apply them at whatsoever signal in the hereafter, the Facebook pixel (or Meta pixel) is a must-use tool. Read on to learn how it works.

Bonus: Get the Facebook advertising cheat sheet for 2022. The free resource includes central audience insights, recommended ad types, and tips for success.

What is the Facebook pixel (a.one thousand.a. Meta pixel)?

The Facebook pixel is a piece of code that you place on your website. It collects data that helps you lot track conversions from Facebook ads, optimize ads, build targeted audiences for hereafter ads and remarket to people who have already taken some kind of action on your website.

How does the Facebook pixel work?

The Facebook pixel works by placing and triggering cookies to rails users as they interact with your business both on and off of Facebook and Instagram.

For example, I recently spotted a very cute bathmat in the Instagram Stories of interior design YouTuber Alexandra Gater. (At the time, I was thinking about my decorating my apartment, not the Facebook pixel, and then I didn't screencap – you'll just have to trust me on this.)

I swiped upward to check out the bathmat and fifty-fifty added it to my shopping cart. Then I got distracted by thinking about breakfast and put downward my phone.

The next fourth dimension I opened up Instagram, this ad popped up in Stories:

Instagram Stories Baba Souk ad

Source: Baba Souk on Instagram

And, sure enough, the adjacent time I headed to Facebook on my laptop…

Facebook Baba Souk ad

Source: Baba Souk on Facebook

This is called retargeting. It's a handy fashion for marketers to remind shoppers to come up back and purchase all those items they leave in diverse shopping carts beyond the web.

Remarketing is not the only function of the Facebook pixel. It'due south as well important for tracking, analytics, and overall ad optimization.

The pixel tracks diverse deportment people take on your website, like making a buy or adding something to their shopping cart. Facebook calls these actions "events."

Facebook pixel standard events

The 17 standard Facebook pixel events for which you lot can only re-create and paste Facebook event code are:

  • Buy: Someone completes a purchase on your website.
  • Pb: Someone signs up for a trial or otherwise identifies themselves as a lead on your site.
  • Complete registration: Someone completes a registration form on your site, such as a subscription form.
  • Add payment info: Someone enters their payment information in the buy process on your website.
  • Add together to cart: Someone adds a production to their shopping cart on your site.
  • Add to wishlist: Someone adds a product to a wishlist on your site.
  • Initiate checkout: Someone starts the checkout process to purchase something from your site.
  • Search: Someone uses the search function to look for something on your site.
  • View content: Someone lands on a specific page on your website.
  • Contact: Someone contacts your business organisation.
  • Customize product: Someone selects a specific version of a product, such as choosing a certain colour.
  • Donate: Someone makes a donation to your cause.
  • Discover location: Someone searches for your business's physical location.
  • Schedule: Someone books an appointment at your business organisation.
  • Start trial: Someone signs upwardly for a free trial of your product.
  • Submit application: Someone applies for your product, service, or plan, such as a credit bill of fare.
  • Subscribe: Someone subscribes to a paid product or service.

You can besides add together more details to standard events using actress bits of lawmaking chosen parameters. These let yous to customize the standard events based on factors like:

  • How much a conversion consequence is worth
  • Currency
  • Content type
  • Predicted long-term value

For example, you could use the Facebook tracking pixel to tape views of a specific category on your website, instead of tracking all views. Perhaps yous desire to separate dog owners from cat owners based on which sections of your pet supply website they viewed.

The Facebook pixel and iOS 14.5

Because of changes to third-party tracking in iOS 14.five, some Facebook pixel functionality will be disabled for updated Apple devices. Before you panic, consider that only 14.7% of mobile Facebook users admission the social network using iOS devices.

Withal, changes to accommodate the iOS 14.v requirements will impact all advertisers. One major change is that advertisers tin simply set up a maximum of eight standard events and custom conversions.

Advertisers will certainly have to modify the way they think nearly the Facebook pixel as these changes take consequence. We'll address specific limitations and changes yous need to know throughout this postal service.

Facebook pixel setup

Now that yous know what you lot can track, and why you lot would want to exercise and so, it's time to create your Facebook pixel and put it to work on your website.

Stride 1: Create a Facebook pixel

i. From your Facebook Events Manager, click Connect to Data Sources in the left-hand card, then select Web. Click Become Started to continue.

Facebook events manager connect a new data source web

Source: Facebook Events Director

2. Select Facebook Pixel, then click Connect.

Facebook pixel connect

Source: Facebook Events Manager

Name your pixel, enter your website URL, and click Continue.

connect website activity using Facebook pixel

Source: Facebook Events Managing director

When choosing the pixel's proper noun, keep in mind that with Events Manager, y'all but get one pixel for each ad account. The proper name should represent your business, rather than a specific campaign.

If you desire to apply more than one pixel per ad account, you can practice so using Facebook Business Manager.

Step two: Add together the Facebook pixel code to your website

To put the pixel to work gathering information on your website, you now need to install some Facebook pixel code on your web pages.

There are a few ways to practice this depending on what website platform you use.

install Facebook pixel code on web page

Source: Facebook Events Director

  • If y'all utilize one of Facebook'southward integration partners, like WordPress or SquareSpace, choose Use a Partner Integration. This will walk you through a series of steps to connect your Facebook pixel without whatsoever coding.
  • If you work with a developer or someone else who tin assist you lot edit your website code, click E-mail Instructions to send your programmer everything they demand to install the pixel.
  • If neither of the above options applies, you demand to insert the pixel code directly into your web pages. That'southward what we'll walk you lot through in this section.

1. Click Install code manually.

2. Click the green Copy Code button.

Bonus: Get the Facebook advertising cheat canvas for 2022. The gratis resource includes key audience insights, recommended ad types, and tips for success.

Get the complimentary cheat sheet now!

copy base code

Source: Facebook Events Manager

three. Paste the pixel lawmaking into the header code of your website, just above the </caput> tag. You need to paste it into every unmarried page, or into your header template if you lot're using one. Click Continue.

four. Choose whether to apply automatic advanced matching. This selection matches hashed customer information from your website to Facebook profiles. This lets y'all track conversions more accurately and create larger custom audiences. And then click Go along.

automatic advanced matching

Source: Facebook Events Director

Stride three: Set up Facebook pixel events

one. Click the Open up Event Setup Tool push button.

add events using event setup tool

Source: Facebook Events Manager

Choose your Facebook pixel ID, then click Settings and scroll downward to Open up Event Setup Tool.

open event setup tool

Source: Facebook Events Director

two. Enter your URL and click Open Website.

setup events open website

Source: Facebook Events Manager

iii. Facebook will provide a list of suggested events. Click Review side by side to each consequence, then choose to Confirm or Dismiss. Click Finish Setup to proceed.

If you're interrupted in your pixel setup, you can always come dorsum to this later past going to Events Director.

Footstep 4: Confirm your pixel is working with the Facebook pixel helper

Before yous start relying on the data from your Facebook pixel, you should confirm that information technology'due south tracking properly.

1. Add together the Facebook Pixel Helper extension to your Google Chrome browser. (It's simply available for Chrome, so if you use a dissimilar browser, you lot'll need to install Chrome to utilize the Pixel Helper.)

Facebook Pixel Helper Google Chrome extension

Source: Chrome Web Store

2. Visit the folio where you have installed the Facebook pixel. A popup will betoken how many pixels information technology finds on the page. The popup will besides tell yous if your pixel is working properly. If not, it will provide error data and then you lot tin can make corrections.

Facebook pixel error information pop-up

Source: Facebook Pixel Helper

Step 5: Add together a Facebook pixel notice to your website

To comply with Facebook'due south terms (and, in some cases, the law), you lot need to brand sure visitors to your website know you lot're collecting their data.

That means you need to provide clear observe that you're using the Facebook pixel and that their information may be collected through cookies or other methods. You too need to let users know how they can opt out of having their information collected.

To get all the details, go to the Facebook Business organization Tools Terms and scroll down to betoken iii: Special Provisions Concerning the Utilize of Sure Business Tools. Or, check out Facebook's Cookie Consent Resource.

Why should you lot install the Facebook pixel?

Increase the ROI on your Facebook ad spend

Facebook pixel information helps ensure your ads are seen by the people who are nearly likely to take your desired action. This allows you to improve your Facebook ad conversion charge per unit and get improve ROI.

Even if y'all're not using Facebook or Instagram ads however, you should install the Facebook pixel at present. It will showtime collecting data right away so that y'all don't accept to get-go from scratch when you're ready to create your first Facebook advert.

Use Facebook conversion tracking

The Facebook pixel allows yous to see how people interact with your website subsequently viewing your Facebook advert.

You can even track customers across their devices. This is why I saw an ad for the bathmat on my laptop, even though I added to it the shopping cart on my telephone.

This lets you see if people tend to meet your ads on mobile but switch to a desktop before ownership. Or, peradventure it'due south the other style around. This data can assist you refine your advertizement strategy and summate your return on investment.

This Facebook pixel function is impacted by the iOS xiv.five change, just Facebook volition ensure advertisers still get some conversion tracking information through its Aggregated Event Measurement.

To ensure yous proceed to become the best conversion tracking information, you lot demand to verify your website domain. Y'all likewise demand to stick to 1 domain for conversion tracking, since iOS 14.5 won't permit tracking across multiple domains.

Use Facebook retargeting

Facebook retargeting pixel data and dynamic ads allow you to show targeted ads to people who have already visited your site. You can choose to get really granular hither.

For example, you can evidence people an ad for the exact product that they abased in a shopping cart or added to a wishlist on your website – equally happened with the bathmat I was ogling before.

Retargeting audiences volition shrink every bit more people update to iOS 14.5. Simply they won't disappear.

Create lookalike audiences

Facebook tin use its targeting data to help you lot build a lookalike audition of people who have like likes, interests, and demographics to people who are already interacting with your website. This can help expand your potential client base.

iOS xiv.5 will bear upon the input data for lookalike audiences, because the tracked audition the lookalike is based on will shrink. However, considering iOS users are in the minority, the lookalike functions will notwithstanding take plenty of information to work with. Y'all won't likely observe a major change to functionality hither.

Optimize Facebook ads for value

As Facebook collects information on who buys from your site and how much they spend, it tin aid optimize your ad audience based on value. That means information technology will automatically show your ads to the people who are most likely to make high-value purchases

Enhance Facebook pixel data with Conversions API

To assistance counter the information-loss effects of iOS14.5 changes, Facebook introduced Conversions API. Rather than relying on cookies and web and mobile browsers for data, Conversions API collects data straight from your servers.

By combining Conversions API with the Facebook pixel, you'll take access to more reliable data, even as the pixel loses data.

If yous're using 1 of Facebook's integration partners, similar Shopify or WooCommerce, you tin turn Conversions API on without writing any lawmaking.

1. From Events Manager, click Information Sources in the left column, then click Settings in the top menu.

Events manager data sources

Source: Facebook Events Director

2. Scroll downwards to the Conversions API department and click Choose a Partner.

conversions API choose a partner

Choose your partner and follow the steps. Facebook also provides detailed instructions for setting up the Facebook pixel Shopify Conversions API integration.

If you lot don't use one of Facebook's integration partners, you lot'll have to create some code, and you'll probable need to work with a developer. Follow Facebook'southward detailed steps for implementing Conversions API manually.

Conversions API tin help fill in data your Facebook pixel is missing. For example, in belatedly 2022, the bedding company Lull found their pixel was missing almost 8% of purchase events.

Once they added Conversions API, they were able to track virtually 100% of purchase events. They as well saw a 12.ix% reduction in cost per action on a ane-solar day click, i-day view attribution window.

Publish and analyze your Facebook, Instagram, and LinkedIn ads alongside your regular social media content with Hootsuite Social Advertising. Stop switching from platform to platform and go a complete view of what'south making you money. Book a free demo today.

Request a Demo

Easily plan, manage and analyze organic and paid campaigns from ane place with Hootsuite Social Advertising. See it in action.

Free Demo