Overview
The Meta Pixel tracks actions on your website and links them to your Meta (Facebook) ads. This helps you see which ads drive leads or sales. This guide explains how to set up pixel conversion tracking step-by-step.
Step-by-Step Instructions
1. Create a Meta Pixel
-
Log in to Meta Events Manager.
-
Click Connect Data Sources > Web.
-
Choose Meta Pixel.
-
Name your pixel (example: "Main Website Pixel").
-
Enter your website URL.
-
Click Continue.
2. Install the pixel on your website
-
Choose Install code manually.
-
Copy the pixel base code.
-
Paste it inside the tag on every page of your site.
-
Or install via Google Tag Manager:
-
In GTM, click Tags > New.
-
Choose Custom HTML.
-
Paste the pixel code.
-
Trigger on All Pages.
-
Save and Publish.
3. Verify the pixel is working
-
Use Meta Pixel Helper Chrome extension.
-
Visit your website.
-
Check if the pixel fires with no errors.
4. Set up a standard conversion event (if using thank you page)
-
In Events Manager, click Add Events > From Pixel > Track Events with URLs.
-
Enter the URL of your thank you page (example: https://yourdomain.com/thank-you).
-
Choose an event type (example: Lead or Purchase).
-
Click Create.
5. Set up an event code on the form (if no thank you page)
-
In Events Manager, choose Add Events > From Pixel > Install Event Code Manually.
-
Copy the event code for your desired action (example: fbq('track', 'Lead');).
-
Paste the event code right after the form submission trigger in your site code.
6. Test the event tracking
-
Go to Events Manager > Test Events.
-
Enter your website URL.
-
Submit a form or complete the action.
-
Confirm the event appears in the Test Events feed.
7. Assign the conversion event to your campaign
-
When creating or editing an ad campaign, under Conversion Event, select the event you set up (example: Lead).
Final Checklist
✅ Create a Meta Pixel
✅ Install the pixel code on your site
✅ Verify the pixel fires correctly
✅ Set up a standard event or event code
✅ Test the event tracking
✅ Assign the event to your campaign
By following these steps, you’ll be able to track conversions from Meta Ads and optimize campaigns for real leads or sales.
Help Center