The Facebook pixel
A piece of code for your website that lets you measure, optimize and build audiences for your ad campaigns.
Go to Ads ManagerMeasure cross-device conversions
See how your customers are moving between devices before they convert.
Optimize delivery to people likely to take action
Ensure your ads are shown to people most likely to take the action you want them to take.
Create Custom Audiences from website visitors
Dynamic ads help you automatically show website visitors the products they viewed on your website—or related ones.
Learn about your website traffic
Get rich insights about how people use your website from your Facebook pixel dashboard.
How the Facebook pixel works
When someone visits your website and takes an action (for example, buying something), the Facebook pixel is triggered and reports this action. This way, you'll know when a customer took an action after seeing your Facebook ad. You'll also be able to reach this customer again by using a Custom Audience. When more and more conversions happen on your website, Facebook gets better at delivering your ads to people who are more likely to take certain actions. This is called conversion optimization.
![Conversion tracking with the Facebook Pixel](http://web.archive.org./web/20170408194003im_/https://scontent.fsjc1-3.fna.fbcdn.net/v/t39.2365-6/13939273_1769730363271432_396705386_n.jpg?oh=8458564c1e03d399437ec605ceb46ad9&oe=59890035)
Once we had Facebook conversion tracking in place and started using Custom Audiences, we saw a huge uplift in sales. Facebook ads became ROI-positive for us, from day one!
Amy Norman
Co-founder, Little Passports
Setting up the Facebook pixel
For full step-by-step instructions on adding the Facebook pixel to your site, visit the Help Center.
Create your Facebook pixel to send to your developer, or install it yourself.
Additional resources
Advertiser Help Center
Marketing Partners
Get help expert from a Facebook Marketing Partner or an Instagram Marketing Partner.
![Facebook for Business](http://web.archive.org./web/20170408194003im_/https://scontent.fsjc1-3.fna.fbcdn.net/v/t39.5312-6/13331180_973624636085058_1914526921_n.jpg?oh=79fb8d3c0929b603675316e9d8256fc4&oe=5959BA11)
Facebook can help your large, medium or small business grow. Get the latest news for advertisers and more on our Facebook Business Page.