Skip to content
Tanner
Preserve
All guides
Tracking

Meta Pixel: stop guessing whether your ads work

6 min readUpdated July 1, 2026
01

What the pixel does and why guessing is expensive

The Meta Pixel is a small piece of code Meta gives you for free. Once it's on your website, it reports back what visitors do there: which pages they looked at, whether they filled out your contact form, and whether they came from one of your ads. Without it, Ads Manager can only tell you someone clicked. It can't tell you whether that click turned into a quote request or a phone call.

That difference is the whole job. If you're spending money on Facebook or Instagram ads, the pixel is how you find out that one ad produces leads at $20 each while another produces them at $90 each, so you can cut the loser and put the budget behind the winner. It also builds audiences in the background: everyone who visits your site goes into a list you can retarget later, and Meta can build lookalike audiences from the people who actually became leads. You need three things: a pixel created in Events Manager, the code installed on your site, and one event that marks a real lead.

02

Create the pixel in Events Manager

Go to business.facebook.com and log in with the account that runs your Facebook business Page. If you've never used Meta Business Suite, it walks you through creating a business portfolio first, a few minutes of typing your business name and address.

Click All tools in the left menu, then Events Manager. Click Connect data sources, choose Web, and click Connect. Name the pixel after your business, something like Badger Plumbing Pixel, and enter your website address when it asks. Meta calls pixels datasets on some screens now. Same thing, don't let the name throw you.

Once it's created, open the pixel and copy its ID, the long number shown under the name. That number is what you'll paste into your website platform next.

03

Install it on your site

Every major website platform has a built-in spot for the pixel, so you almost never touch code. Find yours below:

  • Wix: from your site dashboard go to Marketing & SEO > Marketing Integrations, find Facebook Pixel, click Connect, and paste your pixel ID.
  • Squarespace: go to Settings > Advanced > External API Keys (on newer accounts it's under Settings > Developer Tools), paste the pixel ID into the Facebook Pixel field, and save. Squarespace puts this feature on its Business plan and up.
  • WordPress: go to Plugins > Add New and search for Meta pixel. Install the official Meta plugin, connect your Facebook account, and it places the code on every page for you. If you'd rather not add a plugin, a header-code plugin like WPCode lets you paste the base code from Events Manager into the site header.
  • GoDaddy Websites + Marketing: open the website editor, click Settings, then Analytics and Tracking, and paste the pixel ID into the Facebook field.
  • Anything else, or someone else runs your site: in Events Manager open your pixel, choose to install the code manually, and copy the base code. It goes just above the closing </head> tag on every page. Email it to your web person; pasting it in is a ten minute job.
Field note

You only do this once. On all of these platforms the pixel loads on every page automatically, including pages you add later.

04

Prove it's firing before you trust it

Don't assume the install worked. Two free checks take five minutes.

First, install the Meta Pixel Helper extension from the Chrome Web Store (it's made by Meta and costs nothing). Visit your own website and the extension icon should light up, showing your pixel with a PageView event. Click through to your services page and contact page and confirm it fires on each one.

Second, check from Meta's side. In Events Manager, open your pixel and click the Test Events tab. Type in your website address and click Open Website. Browse around in the tab that opens. Each page you visit should appear in the Test Events list within a few seconds.

Field note

Seeing nothing? The usual causes are a typo in the pixel ID, code pasted on only one page, or an ad blocker in your own browser eating the pixel. Retry in a private window with extensions turned off before you tear anything apart.

05

Track leads, not just visits

Out of the box the pixel only records PageView, which tells you someone showed up. You want Meta to know when someone becomes a lead, because that's the number your ads should be judged on. There are two no-code ways to do it.

If your contact form sends people to a thank-you page after they submit (most builders do this, or let you turn it on in the form settings), use a custom conversion. In Events Manager, click Custom Conversions in the left menu, then Create Custom Conversion. Name it Quote Request, set the rule to URL contains /thank-you (or whatever your page is called), and save. Now every visit to that page counts as a lead, and no one lands there without submitting the form.

If your form has no thank-you page, use the Event Setup Tool instead. In Events Manager open your pixel, find Event Setup, and click Open Event Setup Tool. Enter your website address and Meta opens your site with a point-and-click overlay. Click your form's submit button and tag it as Lead. Click your phone number button and tag it as Contact. No code, and it saves straight back to your pixel.

Field note

Pick one event name for quote requests and stick with it. Your ads will optimize toward whichever event you choose, so a consistent Lead event beats a pile of half-configured ones.

06

Point your ads at the Lead event and read the results

Now make your campaigns use it. In Ads Manager, when you create a campaign, choose the Leads objective. At the ad set level, set the conversion location to Website, pick your pixel, and choose Lead as the conversion event. Meta will now show your ads to people it predicts will fill out the form, not just people who click things.

In the Ads Manager columns, Results is your lead count and Cost Per Result is what each lead cost you. Judge every ad by cost per lead, never by clicks, reach, or likes. When two ads have each collected enough leads to compare (a handful each, not one or two), pause the expensive one and move its budget to the cheaper one. That loop, run every week or two, is the entire discipline of making ads pay.

Common questions

Questions that come up

Should I install the pixel before I'm ready to run ads?

Yes, install it today even if ads are months away. The pixel starts building an audience of your website visitors immediately (Meta keeps website visitors in a custom audience for up to 180 days), so when you do launch, you already have a warm retargeting list instead of starting cold. It costs nothing and does nothing visible to visitors.

Do I need a cookie banner or a privacy policy update?

The pixel sets cookies, so your privacy policy should say you use Meta's advertising tools, and a basic cookie notice is cheap insurance since your site can be visited from states with stricter privacy laws. Every major builder has a one-click cookie banner in its settings. This isn't legal advice; if you collect a lot of customer data, a quick chat with your attorney is worth it.

What's the Conversions API and do I need that too?

It's a second pipe that sends the same events from your website's server instead of the visitor's browser, so ad blockers and browser privacy settings can't eat them. If your platform offers it as a toggle (Wix and the official WordPress plugin both do), turn it on. Don't pay anyone to custom-build it for a small service business site; the pixel alone is enough to run and judge ads.

Events Manager shows fewer leads than my inbox. Which number is right?

Your inbox. Ad blockers and browser privacy features stop some pixel fires, so Meta always undercounts a bit. That's fine. Use the pixel numbers to compare ads against each other, since they're all undercounted the same way, and use your inbox and phone log as the true total.

Or skip the homework

Rather I just did this?

Fair. The audit shows where your site actually stands in about a minute, then you decide. No email required, no pressure, just the truth.