What is the Meta Pixel, and does a small business need it?

The Meta Pixel is a bit of code that tells Meta what people do on your website after an ad. Who needs it, what it counts, and how to set it up and check it.

By the You Snap We Post team6 min read

In this article
  1. What the pixel does, in plain words
  2. Do you need one? A quick check
  3. What it can count for a local business
  4. The Conversions API: the pixel's backup
  5. How to set it up
  6. Check that it works
  7. What it collects, and a note for clinics
  8. If you want it done for you

The Meta Pixel is a short piece of code you add to your website. It tells Meta what people do on your site after they see or click your Facebook or Instagram ad: who booked, who filled in the form, who bought. A small business needs it only if it runs Meta ads that send people to its own website. If you only post, or your ads lead to calls and messages, you can skip it for now.

What the pixel does, in plain words

Meta's developer documentation describes the pixel as "a snippet of JavaScript code that allows you to track visitor activity on your website". Every time a visitor does something you care about, the pixel sends a signal to Meta. Meta calls that signal an event.

Those events do three jobs for you:

  • Measure. Ads Manager shows how many bookings or sales came after an ad, not just how many clicks.
  • Find the right people. You can build an audience of people who visited your site and show them an ad later. Meta lists custom audiences as one of the main uses of pixel data.
  • Teach the ad system. When Meta knows which clicks turned into customers, it can look for more people like them, instead of more people who just like to click.

Without a pixel, an ad that sends people to your website is a guess. You see the clicks. You do not see what happened next.

Do you need one? A quick check

Your situationPixel?
You post on Facebook and Instagram, no adsNot needed yet
You boost posts for likes, follows or reachNot needed
Your ads ask people to message you or call youOptional. The customer never reaches your site
Your ads send people to your website to book, buy or fill in a formYes
You plan to run website ads in the next few monthsYes, install it now. It needs time to collect visitors
You have no website, only a profile pageNot possible. The pixel lives on a website you control

That last but one row is worth a second look. An audience of "people who visited my site in the last 30 days" can only include people who visited after the pixel went in. Installing it early costs nothing and gives you a head start.

If you are still deciding between boosting and real ad campaigns, read Boost a post or use Ads Manager: which is better? first. The pixel matters mostly in Ads Manager.

What it can count for a local business

The base code counts one thing on its own: every page view. Everything else you set up as events. Meta has a list of standard events, and a handful of them fit almost every local business:

Standard eventMeta's descriptionExample for you
LeadWhen a sign up is completedSomeone sends your quote request form
ContactWhen a person initiates contact with your business via telephone, SMS, email, chatSomeone taps your phone number on the site
ScheduleWhen a person books an appointment to visit one of your locationsA booking in your online calendar
PurchaseWhen a purchase is made or checkout flow is completedAn order in your online shop or a gift card sale
ViewContentA visit to a web page you care aboutSomeone opens your price list or menu

Pick one or two that mean real money for you. A salon picks Schedule. A roofer picks Lead and Contact. Counting ten events nobody looks at does not help anyone.

The Conversions API: the pixel's backup

The pixel runs in the visitor's browser. The Conversions API is a second road: it sends the same events from your website's server, your website platform or your booking system straight to Meta.

Meta's documentation is direct about it: "For optimal ad performance, we recommend that advertisers implement the Conversions API alongside their Meta Pixel." When both send the same booking, each copy carries the same event name and ID, and Meta counts it once.

You do not have to write any of this yourself. Meta's own WordPress plugin says that using the Conversions API alongside the pixel "creates a more reliable connection that helps the delivery system decrease your costs", and it sets up both.

How to set it up

It depends on what your website is built on:

  • Shopify. The Facebook and Instagram by Meta sales channel can create the pixel or add an existing one, lets you choose how much customer data to share, and covers the Conversions API.
  • WordPress. Meta publishes a free plugin, "Meta pixel for WordPress". It installs the pixel, captures events such as Lead, ViewContent and Purchase, and supports the Conversions API.
  • Another website builder. Search its help center for "Meta Pixel" or "Facebook Pixel". If it has a ready-made connection, use it rather than pasting code by hand.
  • A custom website. Your developer creates the pixel in Meta Events Manager and adds its base code between the opening and closing head tags of every page, as Meta's setup guide says.

One tip before you start: create the pixel inside your business portfolio, not under someone's personal account, so it stays with the business when people come and go. We explain the portfolio in Meta business portfolio: do you need one, and how to start.

Check that it works

Two free checks, five minutes in total:

  1. Meta Pixel Helper. It is a free extension for Google Chrome. Open your website with it installed and its icon shows a small badge with the number of pixel events that fired on the page. Click it to see which pixel was found and whether it loaded.
  2. Events Manager. Meta's setup guide says to open Events Manager, find your pixel and look at its details. If you see a new PageView event, the pixel is installed.

Then test what you actually care about: fill in your own form, start a test booking, tap your own phone number. Each one should appear as its event. If it does not, the pixel is only counting page views, and your ads will still be guessing.

What it collects, and a note for clinics

The pixel sends Meta what every browser sends to a website, such as the IP address, browser details and the page address, plus the buttons people click and the names of form fields. According to Meta's documentation it does not capture what people type into the fields unless you turn on a feature called Advanced Matching or pass those values yourself. Say so in your website's privacy policy.

If you run a dental office, med spa, therapy practice or another business covered by HIPAA, be careful. The Department of Health and Human Services has a bulletin on tracking technologies: covered businesses may not use them in a way that discloses protected health information to tracking vendors, and sharing it for marketing without the patient's authorization is not allowed. A court vacated one part of that bulletin in June 2024, about public pages, but the rest stands. Keep the pixel off patient portals and booking pages that ask about health. This is general information, not legal advice: check with a healthcare lawyer or the HHS Office for Civil Rights.

If you want it done for you

Our Tracking Setup is a one-time job for $199: the Meta Pixel and the Conversions API on your website, Google Analytics 4 counting the calls, forms, bookings or sales that matter, every action tested, and a short note of what is measured. You invite us to your accounts, never share a password. See the one-time jobs.

Where the facts come from

  1. Meta for Developers: Meta Pixel
  2. Meta for Developers: Meta Pixel, Get Started
  3. Meta for Developers: Meta Pixel Reference, standard events
  4. Meta for Developers: Handling duplicate Pixel and Conversions API events
  5. Meta for Developers: Meta Pixel Helper (archived copy of June 23, 2026)
  6. WordPress.org: Meta pixel for WordPress, plugin by Facebook
  7. Shopify Help Center: Facebook and Instagram by Meta
  8. HHS: Use of Online Tracking Technologies by HIPAA Covered Entities and Business Associates (archived copy of July 9, 2026)

Prices and buttons change. We checked everything above on the day this article was written.

Keep reading