Skip to main content Skip to search Skip to main navigation
Meet Shopware Payments Fast. Powerful. Yours to control. Discover payments
Diese Seite ist auch auf Deutsch verfügbar.
Markus Michalski

Facebook Pixel (Meta Pixel) | Tracking & Conversions API

Rating: no rating ( write a review )
Downloads: <10

Description

Highlights

  • - Full e-commerce tracking: PageView, ViewContent, AddToCart, Checkout & Purchase
  • - Meta Conversions API (CAPI) — server-side tracking for better data quality
  • - GDPR-compliant with Klaro Consent Manager integration and cookie consent check
  • - Async CAPI processing via Symfony Messenger — zero performance impact
  • - Multi-Sales-Channel with separate configuration per channel

Features

  • - PageView tracking on all storefront pages
  • - ViewContent event on product detail pages with product data
  • - ViewCategory event on category pages (custom event)
  • - AddToCart event when products are added to cart
  • - InitiateCheckout event on checkout confirmation page
  • - Purchase event on order completion with full order data
  • - Meta Conversions API (CAPI) — server-side event tracking
  • - Automatic event deduplication between client and server via event_id
  • - Async CAPI processing via Symfony Messenger
  • - SHA-256 PII hashing for GDPR-compliant data transfer (CAPI)
  • - Klaro Consent Manager integration for GDPR-compliant tracking
  • - Built-in cookie consent check as alternative to Klaro
  • - Gross/net price configuration for B2C and B2B
  • - Granular event control — toggle each event individually
  • - Multi-Sales-Channel with separate configuration per channel

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: 23 July 2026
  • Publication date: 5 June 2026
  • Version: 1.2.0
  • Category: Social Commerce

Resources

Reviews (0)

Write a review

If you downloaded this extension you can write a review in the Shopware Account.

Write a review

About the Extension Partner

Markus Michalski

Markus Michalski

Partner Status

  • Shopware Extension Partner Shopware
    Extension Partner

Details

  • Partner since: 2026
  • Extensions: 6

Support

  • Based in: Germany
  • Speaks: German, English
  • Response time: Very quickly