If your ads send people to a web page, without a pixel you can't tell which ad brought the person who booked a visit to the land: you only see clicks. The Meta pixel is a piece of code on your page that tells Meta what each visitor does: whether they arrived, filled in the form or tapped the WhatsApp button. With that you can see which ad brings real contacts, and Meta can show the ads to people similar to those who did get in touch.
This guide explains how to install the Meta pixel to sell lots and which events to measure. If your Facebook Page, Instagram and ad account aren't connected yet, start with how to connect Facebook and Instagram for ads.
Do you need it?
| Your ad sends people to... | Do you need a pixel? |
|---|---|
| A Facebook or Instagram instant form | Not required. Meta already records each form sent |
| A WhatsApp chat straight from the ad | Not to measure conversations; Meta counts them in the ad |
| Your website or the project's page | Yes. Without a pixel, Meta only sees the click |
The campaign explained in how to run a Facebook campaign to sell lots can use an instant form or a website. If you choose website, install the pixel before creating the campaign.
Step 1: create the dataset in Events Manager
Meta now calls the place where events from your page, your app and other sources come together a dataset. The pixel is the part that collects web events, and it still has its own ID.
In the current version it usually goes like this:
- Open Events Manager from the Meta Business Suite or Ads Manager menu.
- Choose Connect data sources (or Connect data) and then Web.
- Give it a name that says what it is, for example "Vista Verde · Web".
- Type your page's address so Meta can suggest an integration, if one exists.
You can also create it from the business portfolio, under Settings, Data sources, Datasets, Add. The result is the same. Create the dataset inside your company's portfolio, not an agency's: if you change agencies one day, the history stays with you.
Step 2: install the pixel on your page
There are two ways.
With an integration
If your site is built on a platform such as WordPress, Wix, Shopify or a similar builder, there's almost always an integration or a field where you paste the pixel ID (a long number) and the platform handles the code. It's the shortest route and the one least likely to break.
With the base code
If your site is custom, copy the base code Events Manager gives you and paste it between <head> and </head> on every page. This is its structure, shortened and with a sample ID. Don't copy it from here: always use the complete code Meta gives you.
<!-- Meta Pixel Code -->
<script>
!function(f,b,e,v,n,t,s){ /* ... */ }
(window, document, 'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', 'YOUR_PIXEL_ID');
fbq('track', 'PageView');
</script>
<noscript><img height="1" width="1" style="display:none"
src="https://www.facebook.com/tr?id=YOUR_PIXEL_ID&ev=PageView&noscript=1"
/></noscript>
<!-- End Meta Pixel Code -->
The ID appears twice: in fbq('init', ...) and in the fallback image. The fbq('track', 'PageView') line records each visit and must stay.
Step 3: add the events that matter for selling lots
Meta has a list of standard events. For a land subdivision, four are enough:
| Event | What it measures | When it fires |
|---|---|---|
| PageView | A visit to the page | The base code fires it on every page |
| Lead | Someone sent the contact form | When the form is submitted successfully |
| Contact | Someone started contact via WhatsApp, phone or chat | When they tap the WhatsApp or call button |
| Schedule | Someone booked a visit to the land | When the visit's date and time are confirmed |
Each event is a line that runs at the right moment. For example, on the WhatsApp button:
<a href="https://wa.me/YOUR_NUMBER" onclick="fbq('track', 'Contact');">Message on WhatsApp</a>
And after the form is submitted without errors:
fbq('track', 'Lead');
If you don't code, most integrations let you mark these events without code, and Events Manager has an event setup tool that assigns them by clicking the buttons on your page.
Step 4: the Conversions API, in one paragraph
The pixel runs in the visitor's browser, and ad blockers, some browsers and rejected cookies cause events to be lost. The Conversions API sends the same events from your server or your platform, without depending on the browser. Meta recommends using both at once; to avoid duplicates, each event carries a shared identifier. Many platforms turn it on with one button, and in 2026 Meta announced a Meta-enabled Conversions API setup designed for businesses without a technical team. If you're just starting, get the pixel right first and add the Conversions API afterwards.
Step 5: test before advertising
- Test events. In Events Manager, inside your dataset, open the Test events tab, type your page's address and open it. Browse, tap the WhatsApp button and submit the form: each event should appear in the list within seconds.
- Chrome extension. Install Meta Ads Data Advisor, the extension formerly called Meta Pixel Helper. When you open your page it shows which pixel it found, which events fired and whether there are errors.
- Overview. After a few minutes, the events appear in the dataset's overview. If you see nothing, wait and refresh before touching the code.
Domain verification
In the business portfolio, in the current version under Settings, Brand safety, Domains, you can verify that your page's domain is yours (with a DNS record, a meta tag or a file). It isn't always required to advertise, but Meta asks for it for some features, and it protects you if someone else tries to use your domain in their ads. If your page lives on a platform's subdomain (for example, a website builder's), you can't verify that domain because it isn't yours.
Privacy and consent
The pixel collects your visitors' browsing data, so:
- Your page should have a privacy policy stating that you use Meta tools for measurement and advertising.
- If you get visits from countries or regions that require prior consent (such as the European Union), show a cookie notice and load the pixel only after the person accepts.
- Don't send sensitive data to Meta, and don't put personal data (name, phone) in the page address or in event names.
The rules vary by country. If in doubt, check with someone who knows the data protection law that applies to you.
Don't have a website?
With Royaltor360 you can create a free page for your ads: video of the land, WhatsApp button, contact form and a field to paste your pixel ID. The page lives at royaltor360.com/i/your-project and you can use it as the campaign's destination from day one.
If you later want a full project website, with the plan and the availability of each lot, see what a land subdivision website should have.
Common mistakes
- Pixel created in the agency's portfolio. If you change agencies, you lose the history and the audiences. Create it in your portfolio and give the agency access.
- Code pasted only on the home page. It goes on every page, especially the thank-you or confirmation page.
- Lead fired when the form loads. It should fire when the form is submitted successfully, not when the person sees it.
- Two pixels on the same page. It happens when a platform already installs it and the code is also pasted by hand.
- Measuring only clicks. A click doesn't tell you whether the person was a buyer. Measure Lead, Contact and Schedule, and compare them with the real visits you log in your CRM.
Once the pixel is counting contacts, the next step is organizing follow-up. In Royaltor360 each contact enters the CRM with the ad it came from, and the buyer can see the plan with the available lots before writing. If you want to see it with your project, book a demo.