How to Find Facebook Ad Pixel

Cody Schneider7 min read

Trying to find your Facebook Pixel ID can feel like a digital scavenger hunt when you’re just trying to get your ad tracking set up. You know it’s somewhere, but you're not sure where to start looking. This guide cuts through the confusion and shows you exactly how to find your Pixel ID, whether you need it for a new integration or just to check that everything is working correctly.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

What is a Facebook Pixel ID, Anyway?

Before we jump into finding it, let's quickly cover what it is. The Meta Pixel (formerly known as the Facebook Pixel) is a small snippet of code that you place on your website. This code tracks how visitors interact with your site after seeing your Facebook or Instagram ad. It monitors actions like page views, adding items to a cart, and making a purchase.

Each pixel has a unique identifier called the Pixel ID. This ID is simply a string of numbers (usually 15-16 digits long) that tells Facebook, "Hey, this activity happened on the website associated with this specific ad account." You need this ID to connect your website to your advertising efforts through platform integrations like Shopify, WordPress plugins, or Google Tag Manager, without having to manually handle the full code snippet every time.

Knowing where to find it is essential for setting up conversion tracking, building custom audiences for retargeting, and optimizing your ads for better results. Let's look at three surefire ways to find your ID.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Method 1: Find Your Pixel ID in Meta Events Manager

The most straightforward place to find your Pixel ID is directly within the Meta Events Manager. This is the central hub for all your data sources connected to Meta, including your pixel. This should be your first stop.

Here’s how to get there step-by-step:

  1. Log in to Meta Ads Manager. First, navigate to the Meta Events Manager. You may need to log into the Facebook account associated with your business.
  2. Select "Data Sources" from the Menu. On the left-hand side of the screen, you'll see a navigation menu with an icon that looks like a green-and-blue stacked cylinder. Click on it to open the list of your "Data Sources."
  3. Locate Your Pixel's Name and ID. You will now see a list of your data sources. Your pixel should be listed here, probably with a name you recognize (e.g., "Company Website Pixel"). Directly underneath the name of the pixel, you'll see its unique ID. It’s hard to miss - it's a long number clearly labeled "ID."

That's it! You can click the ID to copy it directly to your clipboard. This is the quickest and most reliable method for finding your Pixel ID, especially if you have an active ad account.

What if I have multiple pixels? If you manage several websites or ad accounts, you might see more than one pixel listed. They should be named descriptively to help you distinguish between them. If not, you can click on each one and check the "Overview" tab to see recent activity and the associated website domain to ensure you're grabbing the right one.

Method 2: Find Your Pixel ID in Your Website's Code

If you've already installed the pixel on your site by adding the code directly into the header, the ID is waiting for you in your site's source code. This method is handy for confirming which pixel is actively installed on a specific page without needing to log in to Facebook.

This sounds technical, but it’s surprisingly simple.

  1. Open Your Website. Navigate to any page on your website where the pixel should be installed (the homepage is usually a safe bet).
  2. View Page Source. Right-click anywhere on the page and select "View Page Source" from the dropdown menu. This will open a new tab showing all the HTML code for that page.
  3. Search for the Pixel Code. The page source code can look intimidating, but you don’t need to read it. Just use the search function by pressing Ctrl + F (on Windows) or Cmd + F (on Mac) on your keyboard. A search bar will pop up.
  4. Type fbq('init' into the search bar. This is part of the standard Facebook Pixel code snippet. The search will jump you directly to the relevant line in the code.

You should see a line of code that looks something like this:

fbq('init', '123456789012345'),

That long string of numbers - in this example, 123456789012345 - is your Facebook Pixel ID. You can easily copy it from there.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

Method 3: Find Your Pixel ID via a Platform or Plugin Integration

Most website builders and e-commerce platforms have dedicated integrations or plugins that make installing the Meta Pixel incredibly easy. Instead of pasting the full code, they just ask for your Pixel ID. If this is how you set yours up, the ID should be waiting for you in the platform's settings.

Finding the Pixel ID in Shopify

Shopify has an excellent native integration with Meta, making this a very common setup for e-commerce stores.

  1. Log into your Shopify Admin dashboard.
  2. From the left-hand navigation, go to Online Store > Preferences.
  3. Scroll down until you find the section labeled Meta Pixel (or Facebook Pixel).
  4. Your Pixel ID will be sitting right there in a text box. It's usually labeled something like "Meta Pixel ID".

This is often the easiest place to check if you're a Shopify user.

Finding the Pixel ID in WordPress

With WordPress, you most likely used a plugin to install your pixel. How you find the ID depends on which plugin you're using, but the process is generally the same.

  1. Log into your WordPress dashboard.
  2. Look for the plugin responsible for your pixel. Common examples include PixelYourSite, Insert Headers and Footers, or the official Meta for WordPress plugin.
  3. Navigate to the plugin's settings or dashboard page from the left-hand WordPress menu.
  4. Within the plugin's configuration, you'll almost always find a dedicated field where you pasted your Pixel ID during setup. It will be clearly labeled.

For example, in PixelYourSite, you'd find it on the main dashboard of the plugin under the Meta Pixel section.

Finding the Pixel ID in Google Tag Manager

For those who manage all their tracking scripts through Google Tag Manager (GTM), your Pixel ID is stored within the tag you created for a Facebook Pixel.

  1. Log into your Google Tag Manager account and select the correct container for your website.
  2. Click on Tags in the left-hand menu.
  3. Find your Facebook Pixel tag in the list. It might be named something like "Meta Pixel - Base Code" or "Facebook Pixel." Click on it.
  4. Click into the Tag Configuration box.
  5. The Pixel ID will be visible in a field, typically labeled "Meta Pixel ID" or "Facebook Pixel ID."

GTM provides a structured way to manage your scripts, and your Pixel ID lives right inside the tag that fires it.

GraphedGraphed

Still Building Reports Manually?

Watch how growth teams are getting answers in seconds — not days.

Watch Graphed demo video

What If I Haven’t Created a Pixel Yet?

If you’ve gone through these methods and have come up empty, it's very likely you haven't created a pixel yet. No problem - creating one is fast and easy.

  1. Go to the Meta Events Manager.
  2. Click the green plus icon that says Connect Data Sources and select Web.
  3. Give your pixel a name (for example, "Your Brand's Website Pixel").
  4. Enter your website's URL and click Create Pixel.

Once you finish those steps, Meta will immediately provide you with your new Pixel ID and guide you on how to install it on your website.

Final Thoughts

Locating your Facebook Pixel ID is a fundamental step for tracking your advertising success, and as you can see, it's rarely more than a few clicks away. Whether you're pulling it from Events Manager, searching your site's code, or checking a platform integration like Shopify, you're now equipped to find your ID quickly and get back to analyzing your campaign performance.

Once your ads and pixels are running, the real work begins: connecting all that data to see the full picture. Many marketing and sales teams spend hours each week manually pulling reports from Facebook Ads, Google Analytics, and their CRM just to understand what's actually driving results. We built Graphed to bypass that time-consuming work. With Graphed, you sync your data sources in seconds, then simply ask in plain English for the dashboard you need - like "Show me our Facebook Ads clicks versus Shopify sales this month" - and get a live-updating report instantly.

Related Articles

How to Enable Data Analysis in Excel

Enable Excel's hidden data analysis tools with our step-by-step guide. Uncover trends, make forecasts, and turn raw numbers into actionable insights today!