Facebook Pixel (Meta Pixel)
What is Meta Pixel?
Facebook Pixel, now officially called Meta Pixel, is a small piece of JavaScript on your online store. The pixel records what visitors do: which products they view, what they add to the cart, and whether they complete a purchase. The data is sent to Meta and used to measure conversions and optimize your ads on Facebook and Instagram. Without pixel data, Meta's algorithms cannot optimize for purchases, and you can neither retarget visitors nor build lookalike audiences.
What does the pixel track?
The pixel works with standard events tailored to online stores:
- ViewContent: A visitor has viewed a product
- AddToCart: A product has been added to the cart
- InitiateCheckout: The customer has gone to checkout
- Purchase: A purchase has been completed, with order value and products
- Search: A product search has been made
What is the data used for?
- Retargeting: Show ads to people who have viewed products or left a full cart behind
- Lookalike audiences: Meta finds new customers who resemble your existing buyers
- Conversion optimization: Ads are shown to the users who are most likely to buy
Meta Pixel in Shoporama
You set up the pixel under Webshop → Tracking: Enter your Pixel ID and an Access Token, which you find in Meta Events Manager. Shoporama then automatically sends all the important ecommerce events, both from the browser via the pixel and from the server via the Conversions API. The events are deduplicated automatically, and the product IDs match your product feed, so catalog matching in Meta works. See the setup in the article on the Facebook Conversions API.
Pixel and privacy
The pixel requires cookie consent under GDPR, and ad blockers and browser restrictions such as Safari's ITP reduce how much it captures. That is why the Conversions API should always run alongside it: Server events are not affected by browser restrictions, so Meta gets a more complete picture of your conversions.
How to do it in Shoporama
Guides that show the term in practice
Facebook Conversions API: setup and catalog matching
How to set up the Facebook (Meta) Conversions API in Shoporama with your Pixel ID and access token, how purchases are...
Set up ecommerce tracking in your Shoporama store
Enable Shoporama's built-in tracking and send accurate tracking data to Facebook, Google Ads, GA4, TikTok, and more....
Server-side tracking in Shoporama: GA4, Meta, and Google Ads
A complete guide to server-side tracking in Shoporama. Better data quality, fewer conversions lost to ad blockers,...
We know online marketing at Shoporama
We have worked with online marketing ourselves for decades. As the only e-commerce platform in Denmark, we have spoken several times at conferences such as Marketingcamp, SEOday, Shopcamp, Digital Marketing, E-commerce manageren, Ehandelsdagen, Web Analytics Wednesday, and many more.