Facebook Pixel (Meta Pixel) | Tracking & Conversions API
Description
Highlights
About the Extension
Why this plugin?
Running Meta Ads (Facebook/Instagram) requires reliable conversion tracking. Ad blockers, iOS restrictions, and browser limitations mean client-side tracking alone is no longer enough. This plugin implements Meta's recommended Redundant Setup: client-side Pixel plus server-side Conversions API — for maximum data quality and better ad attribution.
Core Features
- PageView — Automatic tracking on all storefront pages
- ViewContent — Product detail pages with product ID, name, price, and currency
- ViewCategory — Category page tracking (custom event)
- AddToCart — Event when products are added to cart
- InitiateCheckout — Checkout confirmation page
- Purchase — Order completion with order value, product IDs, and item count
- Meta Conversions API (CAPI) — Server-side tracking alongside client-side Pixel
- Event Deduplication — Automatic deduplication via event_id between client and server
- Gross/Net Prices — Configurable for B2C and B2B shops
- Granular Event Control — Enable or disable each event individually
How it works
After installation, simply configure your Pixel ID and enable tracking. Optionally, activate the Conversions API — you'll need an Access Token from Meta Events Manager. CAPI events are processed asynchronously via Symfony Messenger and do not affect page load times.
For GDPR compliance, two options are available: The built-in cookie consent check or Klaro Consent Manager integration (requires MmdKlaroConsent plugin). Tracking only starts after explicit user consent.
Requirements
- Shopware 6.7.x
- PHP 8.2 or higher
- Facebook Pixel ID (from Meta Events Manager)
- For CAPI: Access Token from Meta Events Manager
- For CAPI: Running Symfony Messenger consumer (bin/console messenger:consume async)
- Optional: MmdKlaroConsent plugin for Klaro Consent integration
Use Cases
- Meta Ads Retargeting — Re-engage visitors with dynamic product ads
- Conversion Tracking — Measure purchases, cart additions, and checkout starts
- Custom Audiences — Build audiences based on shop interactions
- Lookalike Audiences — Find new customers similar to your best buyers
- ROAS Optimization — Improve ad performance with complete conversion data
- iOS 14+ Compliance — Server-side events supplement limited browser tracking
Important Notes
Facebook Pixel sends data to Meta (Facebook). This must be disclosed in your privacy policy and cookie consent banner. I strongly recommend using the Klaro integration or the built-in consent check for GDPR compliance.
The Conversions API requires a running Symfony Messenger consumer. For production, this should be managed via Supervisor or systemd.
Documentation: Full documentation in the Wiki
Details
- Available: English, German
- Latest update: 1 June 2026
- Publication date: 5 June 2026
- Version: 1.2.0
- Category: Social Commerce
Resources
Reviews (0)
About the Extension Partner
Markus Michalski
Partner Status
-
Shopware
Extension Partner
Details
- Partner since: 2026
- Extensions: 3
Support
- Based in: Germany
- Speaks: German, English
- Response time: Very quickly