Easy return - no questions asked
Install, set up and take profit
Priority Help & Satisfaction Over Sales
Facebook Pixel
Track Store Events and Build Retargeting Audiences with Facebook Pixel
Install the Meta Pixel (formerly Facebook Pixel) on your PrestaShop store and unlock the full potential of Facebook and Instagram advertising. This module tracks the complete customer journey — from first page view to completed purchase — and sends accurate event data to Meta's advertising platform so your campaigns can optimize for real conversions.
The module fires all standard ecommerce events automatically: PageView, ViewContent, AddToCart, InitiateCheckout, and Purchase — with dynamic product data including product IDs, values, currency, and content categories. This is the data Meta's algorithms need to find your best customers.
- Full ecommerce event funnel — PageView, ViewContent, AddToCart, InitiateCheckout, Purchase with accurate revenue data
- Dynamic product data — passes product IDs, names, categories, prices, and currency with every event
- Dynamic Ads support — events include content_ids that match your product catalog for automated retargeting
- Async loading — Meta Pixel script loads without blocking page rendering
- Consent Mode compatible — works with cookie consent modules for GDPR/ePrivacy compliance
- PrestaShop 1.7 – 9.x compatible — single module for all modern PrestaShop versions
Why Meta Pixel Is Essential for Ecommerce
The Meta Pixel is the JavaScript tracking code that connects your PrestaShop store to the Meta advertising ecosystem — powering conversion tracking, audience building, and ad optimization across Facebook, Instagram, Messenger, and the Meta Audience Network. With over 3 billion monthly active users across Meta's platforms, this is likely the single most important advertising pixel you'll install on your store.
Meta's advertising algorithms are extraordinarily powerful, but they need data to work. Without the Pixel installed and firing correct events, your campaigns cannot optimize for purchases, cannot build lookalike audiences from your buyers, and cannot retarget visitors who showed interest but didn't convert. You're essentially paying for clicks with no feedback loop — the algorithm can't learn what "good traffic" looks like for your store.
Events This Module Tracks
The module automatically fires the following standard events at the appropriate points in your customer's journey:
- PageView — fires on every page load, building a complete picture of your site traffic in Meta's systems.
- ViewContent — fires on product pages with
content_ids(product ID),content_name,content_type,content_category, andvalue(product price). This is what powers Dynamic Ads — Meta knows exactly which products each visitor viewed. - AddToCart — fires when a product is added to the cart, capturing the product ID and value. This event is critical for building "cart abandoner" retargeting audiences.
- InitiateCheckout — fires when a visitor enters the checkout process, with total cart value and number of items. This identifies visitors with high purchase intent.
- Purchase — fires on the order confirmation page with the exact order value, currency, transaction ID, and product IDs of all items purchased. This is the conversion event your campaigns optimize toward.
Each event includes the appropriate content_ids parameter that maps to your product catalog, enabling Meta's Dynamic Ads system to automatically show visitors the exact products they viewed or similar items from your catalog.
How It Drives Advertising ROI
With accurate Pixel data flowing into your Meta Ads account, several powerful capabilities unlock:
Conversion Optimization
When you set your campaign objective to "Purchases" and Meta has real conversion data from your Pixel, the algorithm learns the characteristics of visitors who actually buy — demographics, interests, browsing patterns, time of day, device type — and progressively shows your ads to people who match that profile. Stores that install the Pixel and let it collect data for 2-4 weeks before launching purchase-optimized campaigns typically see 30-60% lower cost per acquisition compared to optimizing for clicks or landing page views.
Dynamic Product Ads (DPA)
Dynamic Ads automatically show visitors the products they viewed on your store (or similar products) as they browse Facebook and Instagram. The ViewContent and AddToCart events from this module provide the product-level data that powers this system. For most ecommerce stores, Dynamic Retargeting campaigns deliver the highest ROAS of any campaign type.
Lookalike Audiences
Once your Pixel has tracked enough purchases (typically 100+), you can create Lookalike Audiences — asking Meta to find new people who resemble your existing buyers. This is one of the most powerful prospecting tools in digital advertising and it requires accurate Purchase event data to work well.
Custom Audiences
Build retargeting audiences based on specific behaviors: all visitors in the last 30 days, product viewers who didn't purchase, cart abandoners, past purchasers (for upselling), or visitors of specific categories. Each event this module fires creates a data point that can be used for audience segmentation.
Technical Implementation Details
- Base code placement — the Meta Pixel base code is injected in the
<head>section, following Meta's recommended implementation for early initialization. - Event firing — events use
fbq('track', 'EventName', {parameters})calls placed at the appropriate points in PrestaShop's page lifecycle. - Asynchronous loading — the Pixel script loads asynchronously and never blocks page rendering or impacts Core Web Vitals.
- Deduplication — Purchase events include the PrestaShop order reference as a unique event ID, preventing duplicate conversion counting if the confirmation page is refreshed.
- No jQuery dependency — pure vanilla JavaScript, compatible with any theme including headless/decoupled setups.
- Multi-currency support — currency codes are dynamically pulled from the order/cart, so international stores report correct values.
GDPR and Privacy Compliance
The Meta Pixel sets cookies and transmits visitor data to Meta's servers. Under GDPR and ePrivacy regulations, you need visitor consent before activating the Pixel for users in the EU/EEA. This module supports integration with cookie consent solutions — when configured, the Pixel only fires after the visitor has granted consent for marketing cookies. Meta also supports Consent Mode, allowing you to load the Pixel in a limited mode that respects consent signals while still enabling some conversion modeling.
Setup Process
- Go to Meta Events Manager (business.facebook.com/events_manager) and create or select your Pixel.
- Copy your Pixel ID (a numeric string like
123456789012345). - Install this module in PrestaShop, paste the Pixel ID, and save.
- Use Meta's Pixel Helper Chrome extension to verify events are firing correctly on each page type.
- Verify Purchase events in Events Manager by placing a test order.
Compatibility
Tested with PrestaShop 1.7.x, 8.x, and 9.x. Compatible with all standard themes, multistore setups, and works alongside other tracking modules without conflicts.
Why is this module unique?
- Fires all five standard ecommerce events (PageView, ViewContent, AddToCart, InitiateCheckout, Purchase) with complete product-level data
- Purchase events include order value, currency, transaction ID, and individual product IDs for accurate ROAS reporting
- ViewContent events pass content_ids matching your catalog — powering Dynamic Product Ads out of the box
- Event deduplication prevents double-counted conversions on page refreshes
- One Pixel ID field — full funnel tracking configured in seconds
- Multi-currency support for international stores
- Compatible with PrestaShop 1.7 through 9.x
Use Cases
- Purchase-optimized campaigns — feed Meta's algorithm real conversion data so it can find customers most likely to buy, not just click.
- Dynamic retargeting — automatically show visitors the exact products they viewed on your store as they browse Facebook and Instagram.
- Cart abandonment recovery — retarget people who added products to cart but didn't complete checkout with targeted offers.
- Lookalike prospecting — build audiences of new potential customers who resemble your best existing buyers.
- Cross-selling campaigns — target past purchasers with ads for complementary products or new arrivals.
- ROAS reporting — see exactly which campaigns, ad sets, and ads generate profitable revenue, not just clicks.
-
Referencemprfacebookpixel
-
In stock999 Items
-
PrestaShop CompatibilityPS 1.6 – 9.x
-
Pricing ModelOne-time Purchase
-
Module TypeFront-office
-
GDPR RelevantYes
-
Business GoalMarketing & Retargeting
-
External Account NeededYes
-
Module ComplexityLightweight Widget
-
Customer Journey StageAttract Visitors
-
Works With PlatformMeta / Facebook
Facebook Pixel
Full ecommerce event tracking for Facebook/Meta ads on PrestaShop.
Features
- Facebook/Meta Pixel integration
- Granular event toggles for each tracking event:
- PageView (automatic)
- ViewContent (product pages)
- AddToCart
- InitiateCheckout
- Purchase (order confirmation)
- Search
- AddToWishlist
- CompleteRegistration
- Enable/disable toggle without uninstalling
Compatibility
- PrestaShop 1.6 / 1.7 / 8.x / 9.x
Installation
- Upload the module ZIP via Back Office > Modules
- Enter your Facebook Pixel ID
- Configure which events to track
- Enable the module
Development
yarn install
yarn release # Build release ZIP
License
Proprietary - mypresta.rocks
v1.3.0 — 2026-01-20
- ▸PrestaShop 9 Hummingbird theme support with updated DOM selectors
- ▸Server-side Conversions API (CAPI) event validation and diagnostics
- ▸Performance optimizations: reduced inline script footprint by 35%
- ▸Debug mode with Meta Pixel Helper-compatible event logging
- ▸Improved Advantage+ catalog sales data enrichment
v1.2.0 — 2025-06-18
- ▸Full PrestaShop 8.x Symfony admin compatibility
- ▸Facebook Consent Mode integration for EU cookie consent frameworks
- ▸Customer group exclusion filters for Meta Pixel events
- ▸Async pixel loading with configurable initialization delay
- ▸Enhanced CAPI deduplication using event_id parameter
v1.1.0 — 2024-11-05
- ▸Enhanced ecommerce events: ViewContent, ViewCategory, Search, and InitiateCheckout
- ▸Dynamic remarketing with product catalog data layer for Advantage+ campaigns
- ▸Configurable content_type and content_ids parameters per event
- ▸Added Meta Business Suite domain verification support
- ▸Custom audience event parameters for advanced segmentation
v1.0.0 — 2024-05-22
- ▸Initial release with Meta/Facebook Pixel integration
- ▸Automatic PageView event on all storefront pages
- ▸AddToCart event with product ID, name, value, and currency
- ▸Purchase conversion event with order total and transaction data
- ▸Back office configuration for Pixel ID and optional access token
Easy return - no questions asked
Install, set up and take profit
Priority Help & Satisfaction Over Sales
No reviews yet. Be the first to leave a review!
Write a Review