Why use the Meta Pixel
- See which ads actually drive results. Track signups, purchases, and other actions back to the exact ad that caused them.
- Bring back visitors who didn’t convert. Retarget people who visited your site with follow-up ads on Facebook and Instagram.
- Reach new people like your best customers. Let Meta build lookalike audiences based on who already converts on your site.
- Let Meta optimize your ad delivery. The more conversion data Meta has, the better it gets at showing your ads to the right people.
What you need
Before you start, make sure you have:- A Meta Business Suite account. Set one up at business.facebook.com
- Your Pixel ID. A number that looks like
123456789012345
How to find your Pixel ID
How to find your Pixel ID
- Go to Meta Events Manager
- Select your pixel from the left sidebar (or create one if you haven’t)
- Click Settings
- Your Pixel ID is displayed at the top
Add the Meta Pixel to your project
Open the chat in your Macaly project and ask the agent:Verify it’s working
Install the Meta Pixel Helper
Add the Meta Pixel Helper Chrome extension. It shows which pixels are active on any page.
The pixel runs in the editor preview too, but events will be attributed to the preview domain, not your published site. For accurate data, check your analytics after deploying.
Track conversions
The pixel tracks page views by default. To measure specific actions, ask the agent to add conversion events:| What to track | Example prompt |
|---|---|
| Lead form submission | ”Fire a Meta Pixel Lead event when someone submits the contact form” |
| Purchase | ”Track purchases as Meta Pixel Purchase events with the order value” |
| Add to cart | ”Send a Meta Pixel AddToCart event when someone adds a product to the cart” |
| Signup | ”Fire a Meta Pixel CompleteRegistration event after signup” |
Cookie consent. The Meta Pixel sets cookies to track visitors across sessions and devices. If your site has visitors from the EU, UK, or other privacy-regulated regions, you are responsible for ensuring a cookie consent solution is in place before the pixel loads. Meta’s own policies also require advertisers to comply with local privacy laws.
Good to know
- The pixel runs in the editor preview too, but events will be attributed to the preview domain. For accurate data, check your analytics after deploying
- Standard events like
PageVieware tracked automatically once the pixel is installed - You can test events in Meta Events Manager under Test Events. Useful for verifying conversion tracking before launching a campaign
- If you also use Google Tag Manager, you can add the Meta Pixel through GTM instead of directly. The agent can help with either approach