How To Use The Facebook Pixel
If you’re using Facebook ads—or you plan to use them in the future—there’s one key tool you should start using right away. The Facebook Pixel will help you get the most out of your social ad budget. Here’s everything you need to know about how it works.
The Facebook pixel is code that you place on your website. It collects data that helps you track conversions from Facebook ads, optimize ads, build targeted audiences for future ads, and remarket to people who have already taken some kind of action on your website.
It works by placing and triggering cookies to track users as they interact with your website and your Facebook ads.
There used to be a couple of different kinds of pixels: The Facebook conversion pixel and the Facebook custom audience pixel. Facebook discontinued the conversion tracking pixel back in 2017. If you were using the Facebook conversion pixel, you’ll need to switch over. You can learn how to do so in this Facebook business help article. If you were using the old custom audience pixel, these instructions explain how to upgrade to the current pixel.
The Facebook pixel provides important information you can use to create better Facebook ads, and better target your ads. Facebook tracking pixel data helps ensure your ads are seen by the people who are most likely to take your desired action. This allows you to improve your Facebook ad conversion rate and get better ROI.
Even if you’re not using Facebook ads yet, you should install the Facebook pixel now. It will start collecting data right away so that you don’t have to start from scratch when you’re ready to create your first Facebook ad.
The Facebook pixel allows you to see how people interact with your website after viewing your Facebook ad.
You can even track customers across their devices. This lets you see if people tend to see your ads on mobile but switch to a desktop before buying. Or, maybe it’s the other way around. This information can help you refine your ad strategy and calculate your return on investment.
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 here. For example, you can show people an ad for the exact product that they abandoned in a shopping cart or added to a wishlist on your website.
Facebook can use its targeting data to help you build a lookalike audience of people who have similar likes, interests, and demographics to people who are already interacting with your website. This can help expand your potential customer base.
You can use Facebook tracking pixel data to optimize your Facebook ads for specific conversion events on your website. Without a pixel, the only conversion you can optimize for is link clicks. With the pixel, you can optimize for conversions that align more closely with business goals, like purchases and sign-ups.
As Facebook collects data on who buys from your site and how much they spend, it can help optimize your ad audience based on value. That means it will automatically show your ads to the people who are most likely to make high-value purchases.
You can use the Facebook pixel to collect data on two different kinds of events.
- Facebook has predefined a set of 17 standard events.
- You can set up custom events yourself.
The 17 standard Facebook pixel events for which you can simply copy and paste standard Facebook event code are:
- Purchase: Someone completes a purchase on your website.
- Lead: 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 purchase process on your website.
- Add to cart: Someone adds a product 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 buy 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.
- Customize product: Someone selects a specific version of product, such as choosing a certain color.
- Donate: Someone makes a donation to your cause.
- Find location: Someone searches for your business’s physical location.
- Schedule: Someone books an appointment at your business.
- Start trial: Someone signs up for a free trial of your product.
- Submit application: Someone applies for your product, service, or program, such as a credit card.
- Subscribe: Someone subscribes to a paid product or service.
You can also add more details to standard events using extra bits of code called parameters. These allow you to customize the standard events based on:
- How much a conversion event is worth
- Content type, or ID
- Basket contents
For example, you could use Facebook pixel tracking to record views of a specific category on your website, instead of tracking all views. Perhaps you want to separate dog owners from cat owners based on which sections of your pet supply website they viewed.
To comply with Facebook’s terms (and, in some cases, the law), you need to make sure visitors to your website know you’re collecting their data.
That means you need to provide clear notice that you’re using the Facebook pixel and that their information may be collected through cookies or other methods. You also need to let users know how they can opt out of having their data collected.