Markus Michalski FAQ

Facebook Pixel: Troubleshooting and FAQ

Facebook Pixel plugin for Sylius: common problems by symptom, check and solution, known limitations and frequently asked questions.

Deutsche Version

Back to overview

Facebook Pixel: Troubleshooting and FAQ

Live Demo: Try this and other plugins live — no installation, no risk: demo.markus-michalski.net

Common problems

The pixel script never shows up in the storefront

A single event is missing

Events show up twice in Meta Events Manager

CAPI events never reach Meta

Prices are 0 or look wrong

Known limitations

FAQ

General

Does this plugin need mmd/sylius-klaro-consent-plugin? No. It is detected at runtime and used if present; the plugin also works without it. Without Klaro you must make sure yourself that your consent tool blocks the pixel script, and for CAPI add a custom provider or deliberately switch the requirement off.

Is this the same code as the Shopware plugin? It is the Sylius port of the functionality of mmd/sw67-facebook-pixel, built on Sylius's own architecture (Twig hooks, Doctrine entities, Shop API, Symfony Messenger) rather than a line-by-line translation.

Configuration

Can I track gross prices on one channel and net prices on another? Yes, Track gross prices is a per-channel setting.

Can I enable CAPI for individual events only? Yes. Select only the wanted events under Events sent via Conversions API. An event can only be sent server-side if its browser tracking is ticked as well.

Compatibility

Does it work with a headless frontend? Partly: the Shop API endpoint returns the settings and the frontend fires the pixel itself. Server-side events are only triggered by the Twig storefront.

Does a custom theme break the pixel? Only if it overrides a hook point without rendering the hook any more. See Storefront Integration.