All modulesMagento 2 module

Meta ads: Pixel, Conversions API and catalogue

Know which ads bring purchases and reach visitors again. The Meta Pixel, Conversions API and a catalogue for dynamic ads.

€190 + VAT · one-off licence, installation optional

www.degriz.eu
Meta Pixel, Conversions API and event settings, plus the catalogue export for Facebook
About the module

What it does.

"I spend money on Facebook and Instagram ads and I do not know which ones really lead to a sale." Without tracking you also cannot reach again the people who have already been in your store.

What it looks like in practice

Someone clicks your ad, looks at a product, adds it to the cart and buys. The pixel in the browser tells Meta about the view, the add to cart, the start of checkout and the purchase. Add to cart, start of checkout and purchase are also sent from the server through the Conversions API with the same event ID, so Meta counts each once.

What changes

  • The key events are covered. PageView, product and category views, search, add to cart and wishlist, start of checkout, purchase, registration and newsletter sign-up; each event can be switched off.
  • Data comes from the server too. The Conversions API sends the key events from the server as well, without double counting in Meta.
  • Cookie consent is respected. With Swissup GDPR the pixel loads only after marketing consent.
  • One solution for both themes. One template and one script serve Luma and Hyvä.
  • A catalogue for dynamic ads. Products with prices, stock and images go to a Meta catalogue every 15 minutes (only changes) or as a feed; each size or colour is its own item, and the ids match the Pixel.

Who it is for

For stores that advertise on Facebook and Instagram, or plan to, and want to measure purchases and build audiences for retargeting.

How you set it up

In the admin under Stores › Configuration › Magelan › Facebook Pixel you enter the pixel ID, optionally the access token for the Conversions API (and a test event code), and switch individual events on or off. Under Magelan › FacebookAds catalogue you enter the catalogue ID and set the brand, EAN and Google category.

Good to know

  • The Conversions API needs an access token from Meta Events Manager.
  • PageView can be left out on chosen page types.
  • Whether you track before the visitor decides is the store's decision: ePrivacy requires prior consent. The mode that tracks before the visitor decides is a setting.

Want it in your store?

Install it yourself or choose installation and configuration when you order. Building a new store? Add it to your project in the Konfigurator.

Screens

Take a look at every step.

www.degriz.eu
Pixel on per store view, tracking only after the visitor's consent
www.degriz.eu
Conversions API: purchase and cart are also sent from the server, without double counting
www.degriz.eu
You choose which events are sent to Meta and on which pages
www.degriz.eu
Product catalogue for Facebook and Instagram: category, brand, GTIN and MPN
Installation

How to install it.

We install the module from our repository with Composer. We send you the user name and access key for the repository after purchase. If you prefer, we install it for you.

In the root of the Magento 2 store run the commands (replace UPORABNIK and DOSTOPNI_KLJUC with the user name and access key you received):

composer config repositories.degriz composer https://www.degriz.net/konfigurator/composer/packages/composer config --auth http-basic.www.degriz.net UPORABNIK DOSTOPNI_KLJUCcomposer require degriznet/m2_facebookadsphp bin/magento module:enable Magelan_FacebookPixel Magelan_FacebookAdsphp bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento setup:static-content:deploy -fphp bin/magento cache:flush

Setup

In the admin open Stores › Configuration › Magelan › Facebook Pixel.

  1. Switch the pixel on and enter the Pixel ID from Meta Events Manager.
  2. For the Conversions API switch on server-side sending and enter the access token. Use the test event code only while testing and leave it empty on the live store.
  3. Under Event tracking choose which events are sent.
  4. Save, clear the cache and check the events in Events Manager.
  5. Under Magelan › FacebookAds catalogue switch on Catalog API sync, enter the catalogue ID and optionally a token of its own with the catalog_management permission (otherwise the Conversions API token is used). Without the sync, Commerce Manager can read the CSV /media/facebook-<store code>.csv.

Where do I get the user name and the access key?

After the payment we e-mail you a link to create the access key. Keep the key safe: for security it is shown only once and we do not keep it in readable form. The user name (your project code) and all the commands, ready to copy, are in your account under My account > Module licences.

Lost the key? Create a new one in your account under Module licences; the old one stops working.

Technical details

Compatibility.

Just the facts.

Code
degriz_pixel
Platform
Magento 2
Licence
One-off
Change log

Version 1.2.0 · 11 Nov 2026

  • The catalogue and the Meta Pixel are installed together, because dynamic ads do not work without the Pixel.

Version 1.1.0 · 21 Oct 2026

  • The catalogue can be sent straight into a Meta catalogue through the Catalog API every 15 minutes, only what changed.
  • Sizes and other variants are separate catalogue items with their own price and stock, grouped together.
  • Titles and descriptions keep their capital letters.

Version 1.0.4 · 11 Oct 2026

  • Installation now pulls in the required base module automatically.

Version 1.0.3 · 11 Oct 2026

  • The module menu entry moved to Marketing, settings are in the shared Magelan tab.
  • Added a Slovenian translation.

Version 1.0.2 · 5 Oct 2026

  • The CSV download button works again (on PHP 8.2 and newer it stopped with an error or returned an empty page).
  • The settings and the menu entry have access rights; the download needs the settings right.
  • A product without its own regular or special price no longer gets the prices of the previous product.
  • Only products of the store view's website are exported, with prices in that store view's currency.
  • Much faster export.
  • Admin texts fully translated into Slovenian and Croatian; supports PHP 8.5.

Version 1.0.1 · 1 Oct 2026

  • Fixes for PHP 8.2 and newer.
  • Fixed the translation of the default Facebook category setting.

Version 1.0.0 · 3 Aug 2026

  • First release: a product catalogue CSV for Meta (Facebook) dynamic ads, written on a schedule for every store view.
After purchase

You are not left alone.

We develop and maintain the module ourselves, so you write to the people who know it line by line.

Installation

Installation and configuration are optional: choose them when you order and the price is added to the order (+ VAT). If more time is needed, we bill the rest separately.

Support

A bug that repeats on a clean Magento with the Luma theme we fix free of charge. Settings, customisations and other themes by time spent.

Updates

The licence includes 12 months of free updates for the Magento versions on the supported list.

We agree on a date after reviewing the request. User guides in the guide centre

Meta ads: Pixel, Conversions API and catalogue

€190 + VAT

One-off licence for one store, no subscription. Installation and configuration are optional.

After payment you get the licence and access to our private repository: immediately with a card or PayPal, with a bank transfer (UPN) as soon as we receive the payment. 12 months of free updates are included.

Write to us

Install it yourself by following the guide, or choose installation and configuration above. If more time is needed, we bill the rest separately. We agree on a date after reviewing the request.

Anže Voh, Degriz

Questions about this module?

Write to us and we will answer personally.

[email protected] · +386 40 807 231

Meta ads: Pixel, Conversions API and catalogue€190 + VATAdd to cart

Online store configurator

Redesigning your store or building a new one?

Put your own quote together in the configurator and see the price straight away. A few minutes, no obligation, no meeting needed.

  • Price straight away
  • No obligation
  • Straight to the developer
Open the configurator

Free and with no obligation

We use cookies for the proper functioning of the site, visit analytics and showing ads tailored to your interests. Read more in our privacy policy. By clicking "Accept all" you agree to the use of all cookies.