Meta Pixel, Conversions API and attribution
Getting every lead counted: Pixel and Conversions API setup, match quality, deduplication, URL parameters and attribution settings.
Start with the guides
Questions on this topic
- Should I use 7-day click and 1-day view attribution for lead ads?
Yes for most lead ads. 7-day click with 1-day view is Meta's default and the closest count to your landing page. When to narrow it, and how to compare.
- How do I set up the Conversions API Gateway with Stape?
The Conversions API Gateway is Meta's own product and runs in your AWS or Google Cloud account, or on a partner host. Here is Meta's setup, step by step.
- How do I connect the Meta Ads MCP server to Claude?
Add Meta's hosted ads MCP server to Claude as a custom connector, sign in with Facebook Login for Business, then keep the agent read-only until you trust it.
- What is the difference between server-side and client-side tracking?
Client-side tracking runs in the visitor browser, server-side tracking runs on your server. What each one fixes, and what neither of them fixes.
- How do I get an access token for the Meta Conversions API?
The token comes from Events Manager, in the dataset settings under the Conversions API section. Where to find it, who can see it, and how to keep it safe.
- How is incrementality testing different from an A/B test?
An A/B test says which version converts better. An incrementality test says whether the ads caused the conversions at all. Two questions, two designs.
- How do I capture and track the fbclid parameter through my funnel?
Meta appends the fbclid, you do not. Where to read it, how to keep it alive until the form, and how it becomes the fbc value you send back with the Lead.
- Which parameters does each Facebook standard event take?
Meta lists the optional properties for each of its 17 standard events: Lead takes currency and value, Purchase requires both, and six events take none.
- How do I create a dataset in Meta Events Manager?
A dataset is what Events Manager calls the Pixel. How to create one, where the ID goes, and why a site with an existing Pixel should not create a second.
- Which standard events should a Facebook lead generation account send?
Send Lead for quote and callback forms, CompleteRegistration for sign-ups, Schedule for bookings, and the same event names from Pixel and Conversions API.
- How do I improve Event Match Quality on my Meta lead events?
Send the Lead from your server with a hashed email, phone, click ID, browser ID and visitor IP, then read the Lead score after 48 hours, not the PageView.
- How do I check that the Meta Pixel fires on my landing page?
Install Meta Ads Data Advisor, once called Meta Pixel Helper, open the landing page and read the badge: one Pixel, one PageView, then one Lead on submit.
- How is first-party tracking different from third-party tracking in Meta ads?
First-party tracking reads identifiers your own domain stored. Third-party tracking reads ones another domain stored, and browsers now block or shorten those.
- What is the Meta dataset quality API?
The Meta Dataset Quality API reports Event Match Quality diagnostics per match key: which identifier is weak, empty or a placeholder, and what to fix.
- How do I verify a domain for Meta with Google Tag Manager?
Google Tag Manager cannot verify a domain for Meta: the crawler reads static HTML and never runs JavaScript. Use a DNS TXT record or the HTML file instead.
- What are Facebook custom audience identifiers?
Custom audience identifiers are the values Meta matches to profiles or pixel events: email, phone, name, external ID, plus fbp and fbc on website audiences.
- How do I compare attribution settings in Meta Ads Manager?
The Compare attribution settings view shows one ad set under several windows at once, without changing delivery. What each column counts and how to read it.
- What is the difference between fbclid and the _fbc cookie?
fbclid is the parameter in the URL. _fbc is a cookie holding that same value in a three-part format. What separates them, and which one Meta matches on.
- How do I enable automatic A/B testing in Facebook Ads Manager?
Ads Manager has no single A/B switch. Use Creative testing in the ad editor or the A/B test in Experiments, and set the budget and the decision rules first.
- How do I set up the Conversions API for Facebook on WordPress?
On WordPress you can send Lead events to Meta through a plugin, a server-side GTM container or a small custom hook. Here is the full setup and dedup check.
- How do I remove fbclid from a URL?
fbclid can be stripped in a few lines of JavaScript, and Meta adds it again on every click. Where removing it costs attribution, and where it does not.
- How do I install the Meta Pixel on a Wix site for lead generation?
Two routes on Wix: the built-in Meta connection that also sends server events, or custom code in the head. How to fire one Lead per form on a Wix site.
- How do I delete a Meta dataset or Pixel?
Deleting a Meta dataset is permanent and stops the Pixel, the Conversions API and your website audiences. When to delete it, and what to do instead.
- How do I change the attribution setting for a Meta ad account?
The attribution setting sits on each ad set, not the ad account. Here is how to change it, what each window counts, and what follows delivery.