How To Find My Meta Pixel Code

If you are running a Facebook ad campaign or using Facebook pixel for tracking, it is important to have your own unique meta pixel code. This code helps Facebook identify your website and track user behavior on it. In this article, we will guide you through the process of finding your meta pixel code.

Step 1: Log in to Your Facebook Ads Account

To find your meta pixel code, you need to log in to your Facebook ads account. If you don’t have an account yet, you can create one by going to Once you are logged in, click on the three horizontal lines in the top right corner of the page and select “Pixels” from the drop-down menu.

Step 2: Create a New Pixel

If you don’t have a pixel yet, you need to create one. Click on the “Create a Pixel” button and enter a name for your pixel. You can also choose to receive notifications about pixel events by checking the box next to “Notify me when this pixel receives its first event.” Once you are done, click on the “Continue” button.

Step 3: Install Your Pixel Code

After creating your pixel, Facebook will provide you with a unique code that you need to install on your website. Copy this code and paste it in the <head> section of your website’s HTML code. Make sure to replace the “YOUR_PIXEL_ID” with your actual pixel ID.

Step 4: Verify Your Pixel Installation

Once you have installed your pixel code, Facebook will take some time to verify that it is working correctly. You can check the status of your pixel by going back to the “Pixels” section and clicking on the name of your pixel. If everything is set up correctly, you should see a green checkmark next to “Pixel Base Code Installed.”

Step 5: Create Events and Tracking

Now that your pixel is installed and verified, you can start creating events and tracking user behavior on your website. To do this, go back to the “Pixels” section and click on the name of your pixel. From there, you can create new events and track specific actions on your website.


Finding and installing your meta pixel code is an important step in running a successful Facebook ad campaign or using Facebook pixel for tracking. By following the steps outlined in this article, you can easily find and install your own unique meta pixel code.