In this article, we'll cover how to set up and install a Meta Pixel on your website. To learn more about the pixel before getting started, check out the benefits of installing a Meta Pixel.
If you already created a Meta Pixel and want to find your pixel base code, skip to section 2, How to install the Meta Pixel on your website. Follow the instructions to Manually add the pixel code to website.
Before you begin
You need a website for your business.
You must be able to update your website's code.
How to set up the Meta Pixel
Go to Events Manager.
Click
Connect data sources and select Web.
Select Meta Pixel and click Connect.
Add your Pixel name.
Enter your website URL to check for easy setup options.
Click Continue.
After you add the pixel base code to your website you can set up events to measure the actions you care about, like making a purchase. You can do this by manually installing the code or by using the point-and-click event setup tool. Then, make sure that your pixel is working correctly.
You can use one pixel across your whole website, including multiple pages of your website.
If you use your pixel to share events with Meta, we recommend that you also use the Conversions API. The Conversions API works with your Meta Pixel to help improve the performance and measurement of your Meta ad campaigns. Learn more about the Conversions API.
Note: Apple’s iOS 14 changes require apps in the App Store that engage in what Apple defines as “tracking” to show a prompt to iOS 14.5 and later users in accordance with their AppTrackingTransparency framework. These changes impact how Meta receives and processes events from tools like the Meta Pixel. If you optimize, target or report on web events from pixel or any of our other business tools, you can take steps to update your event setup and manage these changes. Learn more.