---
tytul: "Facebook Pixel: What It Is and How to Check Purchases"
opis: "The Facebook Pixel (Meta Pixel): what it measures in your store, how to install it, and 5 steps to check purchases against orders in your store admin."
adres: https://justidea.agency/en/blog/facebook-pixel-purchase-tracking/
serwis: "JustIdea Agency"
jezyk: en
zrodlo: automatyczny odpowiednik strony HTML, generowany przy każdym buildzie
---
Article

# Facebook Pixel (Meta Pixel): What It Is and How to Check Whether It Tracks Your Store's Sales

 The Facebook Pixel, now called the Meta Pixel, is a snippet of JavaScript code on your store's website that sends Meta information about what users do: view a product, add it to the cart, buy. To check whether it counts sales correctly, go to Events Manager and compare purchases from the pixel with orders in your store admin for the same days.

[![Grzegorz Fedrych](https://justidea.agency/obrazy/grzegorz-fedrych-1905b692.png) Grzegorz Fedrych Digital Marketing Team Leader](https://justidea.agency/en/author/grzegorz-fedrych/) 26 November 2026 18 min read 9 sections

 ![Purple JustIdea blog cover with the title “Does the Facebook Pixel count purchases?” and the subtitle “Five steps to check tracking in your store”](https://justidea.agency/_astro/facebook-pixel.LE4oNxw3.webp)  Marketing

Trusted by

 ![LPP](https://justidea.agency/obrazy/lpp-logo-2-b64d3a02.svg)  ![House](https://justidea.agency/obrazy/logo-house-c706eeae.svg)  ![Toyota](https://justidea.agency/obrazy/toyota-logo-pasek.svg)  ![Fame MMA](https://justidea.agency/obrazy/fame-ffb4e0d0.webp)  ![Surf Inc.](https://justidea.agency/obrazy/surfinc-logo-pasek.webp)  ![LyoFood](https://justidea.agency/obrazy/lyo-cb899d46.webp)  ![ExpertSender](https://justidea.agency/obrazy/expert-ca00548d.webp)  ![Purinova](https://justidea.agency/obrazy/purinova-217da6ab.webp)  ![Mennica Gdańska](https://justidea.agency/obrazy/mennica-98166c12.webp)  ![Group IB](https://justidea.agency/obrazy/group-ib-b711171e.webp)  ![Smart Kids Planet](https://justidea.agency/obrazy/smart-kids-151311c5.webp)  ![SuperSonic](https://justidea.agency/obrazy/supersonic-a35404fe.webp)  ![Wierzynek](https://justidea.agency/obrazy/wierzynek-1-d027e7cc.webp)  ![RegoBis](https://justidea.agency/obrazy/regobis-a8b446e3.webp)

**In this article**

1. 01What is the Facebook Pixel and what does it do in an online store?
2. 02What events does the Meta Pixel track?
3. 03How do you install the Facebook Pixel in an online store?
4. 04How do you check whether the Facebook Pixel counts purchases?
5. 05Why does the pixel show a different number of purchases than the store?
6. 06Is the pixel alone enough, or do you need the Conversions API?
7. 07Does the Facebook Pixel require cookie consent?
8. 08When should you set up the pixel yourself, and when should you outsource it?
9. 09FAQ

Share

## In short

- The Facebook Pixel, now the Meta Pixel, is JavaScript code that passes events from your store to Meta. Meta describes 17 standard events, and measuring sales comes down to one of them: Purchase with a value and currency.
- You can check whether the pixel counts purchases in five steps, four of which you can do without a developer. The most important is step four: purchases in Events Manager compared with all orders placed in your store admin over 7 full days, or over 14 if you get only a few orders a day.
- The pixel in the browser alone misses some purchases, so Meta recommends also sending them through the Conversions API, directly from your store's server. Meta counts the same purchase from both sources once if it has a shared identifier and arrives within 48 hours. However, the server recovers purchases blocked in the browser or lost at the payment gateway only from people who agreed to marketing tracking.

The report from your Facebook and Instagram campaigns shows one number of purchases, and your store admin shows a different number of orders for the same week. Before you decide that a campaign is making or losing money, check the source of the numbers on Meta's side: the pixel on your site. Meta learns about purchases from the pixel, so any error in it carries over into the report, campaign optimization, and budget decisions.

## What is the Facebook Pixel and what does it do in an online store?

The Facebook Pixel is a snippet of JavaScript code that you place on every page of your website. The code records user behavior and sends it to Meta: which products people view, what they add to the cart, and whether they complete a purchase. On October 28, 2021, Facebook announced its new brand, Meta, and in Meta's documentation and on its websites the tool is now called the Meta Pixel. The Facebook pixel, the FB pixel, and the Meta Pixel are the same thing.

In an online store, the pixel has three jobs:

- **Conversion tracking.** Meta attributes purchases to the ads that preceded them and shows them in Ads Manager. With the pixel, you know which campaigns Meta credits with sales.
- **Campaign optimization.** A campaign with a sales objective learns from Purchase events and looks for people similar to those who bought. Every purchase that doesn't reach Meta leaves the algorithm less data to optimize ad delivery on.
- **Building audiences.** You use pixel data to create audiences, for example people who added a product to the cart and didn't buy. They are the basis of [remarketing in online campaigns](https://justidea.agency/en/blog/what-is-remarketing/).

That's why, before we start running [Meta Ads campaigns for online stores](https://justidea.agency/en/services/marketing-agency/facebook-ads/), we check whether the pixel counts purchases the same way the store does: measurement first, scaling second. The pixel also has a limit: it doesn't tell you how much you earn. It measures the value of orders that Meta attributes to ads, and profit is what's left only after product costs, returns, shipping, and advertising, which is how we calculate [e-commerce profitability after all costs](https://justidea.agency/en/blog/roas-is-dead-real-ecommerce-profit/).

## What events does the Meta Pixel track?

The pixel records standard events, which Meta has named and described, and custom events, which you define based on your store's needs. The base code automatically sends PageView every time a page loads, and the other events have to be added in the template, in a plugin, or in a tag manager. Meta describes 17 standard events, of which an online store usually uses six:

- **ViewContent:** a product page view,
- **Search:** a search in the store,
- **AddToCart:** adding a product to the cart,
- **InitiateCheckout:** starting checkout,
- **AddPaymentInfo:** choosing a payment method,
- **Purchase:** completing a purchase, usually on the thank-you page.

Purchase has two required parameters: value, the order value, and currency, the currency of the order (a three-letter code such as “EUR”). Advantage+ catalog ads also require content\_ids or contents, the product identifiers that match your catalog. Without them, a dynamic ad can't connect a purchase or an abandoned cart with a product from the feed.

In Meta reports, conversions and events are not the same thing. An event is an action recorded by the pixel, and in campaign results a conversion is an event that Meta has attributed to an ad. Custom events and custom conversions are useful when the standard doesn't describe an action, for example a newsletter signup with a discount code. In a store, you start with the purchase path: until the six standard events work correctly, additional ones only complicate your reports.

## How do you install the Facebook Pixel in an online store?

You can install the Facebook Pixel in three ways: through your e-commerce platform's integration, through Google Tag Manager, or manually, by pasting the pixel code into the head section of your template. First you need to create it in Events Manager, which you open from Meta Business Suite or Ads Manager: select Connect data sources, then Web, give it a name, and enter your store's URL. You share the finished pixel with the ad account you run campaigns from, and it starts collecting data only once the code appears on the site.

- **Platform integration.** On Shopify, you use the Facebook & Instagram app by Meta. According to Shopify's documentation, a pixel connected through the app automatically tracks PageView and six purchase path events, from ViewContent to Purchase, and at the Enhanced and Maximum data sharing levels the app also sends data through the Conversions API. WooCommerce on WordPress has the Meta for WooCommerce plugin. On PrestaShop, we don't recommend the PrestaShop Social module: when we configure a store, we disable it because it duplicates events, and we connect the pixel, Conversions API, deduplication, and the catalog with one module, Pixel Plus. This is the shortest route for a store without a developer, and you confirm which events your chosen integration sends with a test order in Events Manager.
- **Google Tag Manager.** The base code runs as a tag on all pages, and events fire based on the store's data layer (dataLayer). You get full control over parameters and consent, but you need a data layer with the order value and product identifiers.
- **Manual code installation.** Copy the base code from the pixel settings and paste it between the head tags on every page. Meta recommends the head section specifically, because the code then loads earlier and is blocked less often. A developer adds events in the templates, e.g., `fbq('track', 'Purchase', {value: ..., currency: 'EUR'}, {eventID: 'order number'})`. We add the eventID parameter with the order number from day one, even without the Conversions API: a missing eventID comes up regularly in ad account reviews, and without it, deduplication later has nothing to work with.

Which route should you choose? For a store on Shopify or WooCommerce, selling in one market, without a customized purchase path, we recommend the official platform integration. On PrestaShop, we implement the pixel with the Pixel Plus module, not in GTM. In other stores, when Google Tag Manager and a consent banner are already running, we implement the pixel in GTM, because then one place decides what fires and after which consent. The same rule applies in every case: the pixel is connected through one route only. A platform integration running in parallel with a GTM tag is a straight path to double-counted purchases, because the same Purchase is then sent by two sources.

## How do you check whether the Facebook Pixel counts purchases?

You check it in five steps, and the most important is the fourth: comparing pixel purchases with orders in your store admin. The first four steps require only Google Chrome or Microsoft Edge plus access to Events Manager and your store admin; the fifth applies to stores with the Conversions API. We go through this procedure when we take over an ad account, before we evaluate the campaigns, and we repeat it at every Meta ad account review: first we establish whether Meta's numbers can be trusted.

 ![Diagram of the five steps to check the Meta Pixel: number of pixels on the page, purchase path test, Purchase event parameters, comparison with store orders from the same full days, and deduplication with the Conversions API, with a correct result and an error signal for each step](https://justidea.agency/_astro/facebook-pixel-1.CtA9rhjc_Ze4M5z.webp)

Diagram of the five steps to check the Meta Pixel: number of pixels on the page, purchase path test, Purchase event parameters, comparison with store orders from the same full days, and deduplication with the Conversions API, with a correct result and an error signal for each step

*Source: JustIdea procedure, in which the comparison window in step 4 depends on the store's order volume; names of tools, events, and parameters from Meta's technical documentation, checked on November 13, 2026.*

1. **Count the pixels on the page.** Install Meta Ads Data Advisor (formerly Meta Pixel Helper), a free extension for Google Chrome and Microsoft Edge, and turn off your ad blocker, because with it on, the extension won't detect the pixel. On the homepage, a product page, and the cart, the extension should show one pixel with the same ID as in your account. Two IDs, or the same pixel loaded twice, signal double-counted purchases.
2. **Go through the purchase path in a test.** In Events Manager, open the Test events tab, enter your store's URL, and place a real order, e.g., with bank transfer as the payment method, which you then cancel. ViewContent, AddToCart, InitiateCheckout, and Purchase should appear in sequence.
3. **Check the purchase parameters.** The event details for Purchase should include value equal to the order amount, currency matching your store's currency code, and content\_ids matching the IDs in your catalog. Decide whether value is the gross or net amount (with or without VAT), with or without shipping, and stick to one definition. Finally, refresh the thank-you page: a second Purchase means the pixel counts the order every time someone visits that page.
4. **Compare purchases with orders over 7 or 14 full days.** Line up the number of Purchase events with all orders placed in your store admin, day by day and in the same time zone. Also count unpaid and canceled orders, like the test order from step 2, because Purchase usually fires on the thank-you page regardless of payment status. Take the purchase count from pixel events, not from Ads Manager, because Ads Manager shows only purchases attributed to ads. The window depends on order volume, not on the store platform: we use the longer window when there are only a few orders a day, because one week doesn't collect enough orders for a comparison.
5. **Check deduplication if the Conversions API is running.** The same purchase from the browser and from the server must have the same event name and the same identifier: eventID in the pixel, event\_id in the Conversions API. Then Meta discards a duplicate that arrived within 48 hours. For server events, you also check Event Match Quality, rated on a scale of up to 10.

How do you read the result of step 4? The pixel may show fewer purchases than the store, and we've also seen a pixel that caught only a few percent of purchases, so we compare the counts separately for each event. When PageView is close to the traffic shown in your store's statistics, but Purchase is far below the number of orders, the problem is the purchase event, not consent: start by checking whether customers return from the payment gateway to the thank-you page. When Purchase drops below about half of orders, the result in Meta is only a lower bound on sales, and a campaign with a purchase objective has nothing to learn from and struggles to exit the learning phase.

More purchases in Meta than orders in the store is an error, not good news. Example: 100 orders in the admin and 160 Purchase events from the same days mean that some orders are counted twice.

This error costs you margin, not just tidy reports. When orders are double-counted, the report shows higher sales for the same spend, and a campaign that loses money after subtracting product and ad costs looks profitable and gets a bigger budget. It's worth repeating event monitoring after every change to the template, payment gateway, or consent banner.

## Why does the pixel show a different number of purchases than the store?

For one of six reasons we see in ad account reviews: three inflate the purchase count and three deflate it. Inflation comes from counting the same order several times, deflation from purchases the browser didn't report to Meta.

**These inflate the purchase count:**

- **Double pixel.** The platform integration runs in parallel with a GTM tag, or the previous agency's pixel was left in the template.
- **Purchase on every visit to the thank-you page.** Refreshing the page, or returning to it from a link in the confirmation email or from the payment gateway, counts the order again.
- **No deduplication.** The same purchase arrives from the browser and from the server without a shared identifier.

**These deflate the purchase count:**

- **The customer doesn't return from the payment gateway.** The payment went through, the customer closed the browser tab, and Purchase fires only on the thank-you page.
- **Consent turns the pixel off permanently.** The banner holds the pixel before consent, but after acceptance doesn't pass the consent signal to it, so purchases don't come through even from people who agreed.
- **Ad blockers.** Some users never load the pixel script at all.

Order value is a separate issue. When value includes shipping one time and not the next, the purchase count may match, but the revenue attributed to campaigns will still be wrong.

Then there's the difference between Meta's own tools. Ads Manager counts purchases attributed to ads within the attribution window set in the ad set, and the default setting is 7-day click and 1-day view: view-through purchases are part of the same setting, not a separate report. They often explain why Meta shows more purchases than GA4. Purchases with no ad contact are visible only in pixel events. That's why you first compare pixel events with orders, and only then read how many of them Meta attributed to campaigns.

## Is the pixel alone enough, or do you need the Conversions API?

For a store that regularly runs campaigns on Facebook and Instagram, the pixel alone isn't enough. Meta recommends sending events through both the pixel and the Conversions API, directly from your store's server, with deduplication. A server event doesn't depend on ad blockers, and if the server sends the purchase after the order is paid, Meta receives it even when the customer didn't return from the payment gateway. However, this applies only to customers who agreed to marketing tracking, because we send Conversions API events only after that consent: the server won't recover any purchase from people without consent.

 ![Table comparing the Meta Pixel, the Conversions API, and both together: where the event comes from, the impact of ad blockers and the payment gateway, deduplication, and implementation method according to Meta's documentation, plus a separate section with JustIdea's position on consent and the recommended setup](https://justidea.agency/_astro/facebook-pixel-2.3vqGCCif_Z1s7ENA.webp)

Table comparing the Meta Pixel, the Conversions API, and both together: where the event comes from, the impact of ad blockers and the payment gateway, deduplication, and implementation method according to Meta's documentation, plus a separate section with JustIdea's position on consent and the recommended setup

*Source: Meta's technical documentation (Conversions API, event deduplication, pixel installation), checked on November 13, 2026. The rows on consent and the recommendation reflect JustIdea's position.*

You can implement the Conversions API through a platform integration, through [server-side tracking in Google Tag Manager](https://justidea.agency/en/services/marketing-agency/server-side-tagging/), or directly in your store's code, which is a job for a developer. Whichever route you choose, you watch two things: a shared event identifier with the pixel, and customer data. According to Meta, sending additional data, such as a hashed email and phone number, can improve Event Match Quality.

The Conversions API for Meta is only one part of server-side tracking. How many purchases your store recovers depends on three things: what share of customers block scripts, how often customers don't return from the payment gateway, and what share of them agree to marketing tracking.

## Does the Facebook Pixel require cookie consent?

Yes. The pixel stores cookies in the browser, and Article 399 of Poland's Electronic Communications Law (Prawo komunikacji elektronicznej) allows storing information on a user's device without consent only when it's necessary to transmit a message or to provide a service the user requested. We don't treat ad measurement as necessary to place an order, so we fire the Meta Pixel only after marketing consent. This is our implementation position, not legal advice, and Meta states plainly that each business is responsible for GDPR compliance.

The pixel stores the \_fbp cookie on the store's domain with a browser identifier, and the ad click identifier from the fbclid parameter goes into the \_fbc cookie. These identifiers make it possible to link visits and purchases to a single browser, so we treat them as personal data.

Technically, the pixel has two commands for this: `fbq('consent', 'revoke')` before initialization pauses sending events, and `fbq('consent', 'grant')` resumes it after consent. The Consent Mode v2 signal is designed for Google tags, so the pixel has to be connected to consent separately: with this command or with a consent condition in the GTM tag. We describe how to connect the banner to tags in our guide to [implementing Cookiebot with Consent Mode](https://justidea.agency/en/blog/cookiebot-consent-mode-2-guide/).

Consent applies to the purpose, not the technology, so we also send Conversions API events only after marketing consent. The server doesn't replace consent: it recovers purchases blocked in the browser or lost at the payment gateway only from people who gave it. The store's privacy policy should also list Meta as a data recipient.

## When should you set up the pixel yourself, and when should you outsource it?

You can handle it yourself when your store runs on Shopify or WooCommerce with the official integration, or on PrestaShop with the Pixel Plus module and PrestaShop Social disabled, sells in one market in one currency, and steps 1 through 4 come out clean. Outsourcing the implementation or an audit makes sense when:

- the pixel runs through both a plugin and GTM, and it's not clear which route to keep,
- you're adding the Conversions API with deduplication or server-side tracking,
- the store sells in several markets and in several currencies,
- the discrepancy from step 4 remains after you remove duplicates.

Each of these situations means work where the store, tags, and consent meet, and a single error distorts the data of all campaigns at once.

You can do the part of the check that concerns consent and server-side tracking without logging in to Meta: the free [analytics scanner](https://justidea.agency/en/analytics-scanner/) shows whether tags fire before consent and whether the browser sends data to a tracking server, and you get the result in a PDF report. The scanner sees a pixel that fires after consent only after it clicks the banner. However, it doesn't see what the tracking server passes on to Meta through the Conversions API, or the purchase itself, so you do the five steps of the procedure in Meta Ads Data Advisor, Events Manager, and your store admin.

## FAQ

**Does the Facebook Pixel cost anything?**

No, Meta doesn't list any fee for the pixel itself: you create it in Events Manager and pay for ad delivery. The Meta Ads Data Advisor extension is free, and you install the Facebook & Instagram app on Shopify at no charge. What costs money is the implementation: a developer's or agency's time, and sometimes a paid store module. The Conversions API and server-side tracking require more work.

**Do you need to reinstall the pixel after the rebrand to Meta?**

No. The name change doesn't require new code: the pixel keeps working under its ID, and the collected data stays in the account. Just check that nobody added a second pixel “under the new name” next to the old code, because then purchases are counted twice.

**Does one pixel measure ads on both Facebook and Instagram?**

Yes. Meta describes the pixel as a tool for measuring and optimizing ads on Facebook and Instagram, so you don't need a separate pixel for Instagram. All it takes is for campaigns on both Meta platforms to use the pixel shared with the ad account.

**How do you remove the Facebook Pixel from a website?**

The same way it was added: delete the code from the template, disable the plugin or module, or pause the tag in Google Tag Manager. Then check the homepage, a product page, and the thank-you page in Meta Ads Data Advisor. When you switch agencies, keep the pixel that has been collecting data, and revoke the previous contractor's access in your Meta business settings.

**Why does Facebook show different numbers than Google Analytics?**

Because each platform counts its own way. Meta credits itself with a purchase within the ad set's attribution window, while GA4 splits credit for the same purchase across channels. Your store admin is therefore the reference point, and we describe the typical pitfalls on Google's side in our article on [GA4 configuration errors](https://justidea.agency/en/blog/common-ga4-configuration-mistakes/).

 ![Grzegorz Fedrych](https://justidea.agency/obrazy/grzegorz-fedrych-1905b692.png)

 Written by

[Grzegorz Fedrych](https://justidea.agency/en/author/grzegorz-fedrych/)

Digital Marketing Team Leader

Have a question about this article? Write to us.

Want this in your business

## Let's turn this knowledge into results in your store

30 minutes about your numbers. The call starts with someone from sales, and we bring in the channel specialist once we get into the details. The call is free of charge.

Book a call about your numbers [See what we do in marketing](https://justidea.agency/en/services/digital-marketing-agency/)

Client reviews

## Ratings of the agency that runs this blog

Clients gave them after working with us, and you can read each one on the site where it was posted. They cover the work of the whole agency, not this one article.

 4.96 / 5

weighted average of 224 reviews across three platforms

[Read the reviews](https://justidea.agency/en/justidea-reviews/)

[![Google](https://justidea.agency/assets/logo-google.svg)

 4.97 / 5

156 reviews on our Google Business Profile](https://www.google.com/search?q=JustIdea+Agency+Krak%C3%B3w+opinie)[![Facebook](https://justidea.agency/assets/logo-facebook.svg)

 5.0 / 5

33 reviews on our Facebook page](https://www.facebook.com/justidea.agency/reviews)[![Clutch](https://justidea.agency/assets/logo-clutch.svg)

 4.9 / 5

35 B2B reviews, each verified in a call with the client](https://clutch.co/profile/justidea-agency)

Statuses awarded by the platforms: PrestaShop Expert ★★★, Google Premier Partner 2025, Meta Business Partner, Microsoft Advertising Elite Partner 2025. [All certificates and awards](https://justidea.agency/en/our-awards/)

Read on

## See also

[Marketing](https://justidea.agency/en/category/marketing/) 27 July 2026 [What Are the Meta Ads Ad Types? Formats for 2026](https://justidea.agency/en/blog/meta-ads-ad-types-formats-2026/) Wiktoria Władarz

[Marketing](https://justidea.agency/en/category/marketing/) 28 September 2026 [How Much Do Facebook Ads Cost? Budget and Rates](https://justidea.agency/en/blog/how-much-do-facebook-ads-cost/) Wiktoria Władarz

[Marketing](https://justidea.agency/en/category/marketing/) 19 August 2026 [E-commerce Profit-First: How to Take Back Control of Your Margin](https://justidea.agency/en/blog/ecommerce-profit-first-margin-control/) Aleksandra Skotnicka

Contact

## A conversation about your numbers: 30 minutes

The call is led by a new business specialist. When we get into the details of an account, the specialist for that channel joins in. We reply within one business day.

A quick review of your tracking and campaignsThree priorities for the next quarterA written summary that stays with you

Before the meeting we review your website, your visibility and what your campaigns show from the outside. We will not open with “so, what does your company do?”.

[Our rating: 4.96 out of 5, 224 reviews on Google, Facebook and Clutch](https://justidea.agency/en/justidea-reviews/)

What happens after you send it

01

within 1 business day

### We reply to your email

The reply comes from the same new business specialist who will run the call. No qualification form and no call from an unknown number.

02

this week

### A 30-minute conversation

We go through your numbers and your questions. If it turns out we are not the right fit, we will tell you straight away.
