TradeTracker Integration for Magento 2
Official TradeTracker Plugin for Magento 2: Product Feed, Conversion Pixel and Transaction Sync
The official TradeTracker integration for Magento, built by an official partner
Affiliate marketing only works when two things are right: publishers need accurate, up-to-date product data to promote, and every sale they bring in has to be tracked correctly. The TradeTracker plugin for Magento 2 takes care of both, so you can focus on growing your campaign instead of maintaining feeds and tracking scripts.
This is the official TradeTracker extension for Magento 2, published under the TradeTracker name and developed and maintained by Magmodules as an official TradeTracker partner. It generates your XML product feed, places the TradeTracker conversion pixel on your order confirmation page and brings the status of every TradeTracker transaction back into your Magento admin.
Cancelled and refunded orders are passed on to TradeTracker automatically, DirectLinking is built in, and the extension is free to install.

Create Your TradeTracker Product Feed Automatically
Publishers can only promote what is in your feed. The extension builds a TradeTracker XML product feed for every store view and saves it on a fixed URL that you add to your TradeTracker account once. From then on, TradeTracker picks up your latest prices, stock and products without any manual exports.
You decide what goes into the feed:
- Attribute mapping: connect your own attributes for name, descriptions, EAN, brand, color, material and size, and export the main image plus additional images.
- Prices, delivery and VAT: prices include the currency, delivery costs are set per price range, delivery time follows stock or an attribute, and the VAT percentage TradeTracker requires is filled from an attribute or a fixed value.
- Scheduling: generate the feed daily, every 6, 4 or 2 hours, every hour or on your own cron schedule, or on demand with Generate, Preview and Download in the admin.
UTM tags for Google Analytics can be added to every product URL, so TradeTracker traffic is easy to recognize in your analytics reports.

Official partner plugin
The official TradeTracker extension for Magento 2, developed and maintained by Magmodules as official TradeTracker partner.
XML product feed
A complete TradeTracker product feed per store view, updated automatically on the schedule you choose.
Conversion pixel
Every order is registered in TradeTracker on the order confirmation page, including voucher codes.
Transaction status in Magento
See per order whether TradeTracker has the transaction as pending, accepted or rejected.
Track Every Sale With the TradeTracker Conversion Pixel
Publishers are paid on the sales they generate, so tracking has to be right. Enter your Campaign ID and Product ID from TradeTracker and the extension adds the conversion pixel to the order confirmation page. It sends the order number, the order amount excluding VAT and shipping costs, the currency and the voucher code, with an image fallback for visitors without JavaScript.
Different commission per category
Do you pay a different commission on some product groups? Give a category its own TradeTracker Product ID and the extension splits the order amount over the right Product IDs, so each part of the order is registered under the correct commission.
Multi-country campaigns and currency
Running one campaign across several countries? Enable the multi-country tracking group and enter the Tracking Group ID (TGI) from TradeTracker. If your account manager asks for it, you can also send a different currency code than the order currency.


See the TradeTracker Status of Every Order in Magento
Normally you would log in to TradeTracker to check which sales were registered and approved. With the extension, you see it right in Magento. After you enter your TradeTracker Customer ID and Passphrase, a nightly sync adds the TradeTracker Status of each order to the order grid, so you can filter and check your affiliate sales next to all other order data.
Opening an order shows the TradeTracker Conversion tab with the conversion date, campaign, transaction ID, amount, currency and the current status, fetched live from TradeTracker. When TradeTracker has no conversion for an order, the order is marked with No transaction, which makes missing conversions easy to spot.
Cancellations and refunds are passed on automatically
When an order is cancelled, the extension rejects the pending transaction in TradeTracker with the reason order canceled. A full credit memo rejects the transaction as well, and a partial credit memo updates it with the reduced amount. Publishers are paid on sales that were actually completed, without anyone correcting transactions by hand.
Full Control Over Which Products Go Into Your Feed
Configurable, bundle and grouped products each have their own settings. For configurable products you can export the linked simple products with the parent URL, so the link opens the right variant, and fall back to the parent image and parent data when a variant has none.
Filters keep the feed clean: include or exclude categories, filter on visibility, leave out products that are out of stock and build your own rules on any attribute. You can also exclude a single product or a whole category right from the product or category page.
DirectLinking included
Has your TradeTracker account manager asked you to set up DirectLinking? Enable it, enter the URL key you received and the extension handles the redirect location, sets the tracking cookie on your own domain and forwards the visitor through TradeTracker to the right page.

Built for Magento Stores Running TradeTracker Campaigns
TradeTracker connects advertisers with publishers across Europe and beyond, and the extension is built for stores that sell in several markets. Feeds, pixel settings and credentials can be set per store view, so every country or brand can run its own TradeTracker campaign.
composer require tradetracker-com/magento2
The extension supports Magento Open Source and Adobe Commerce 2.4, is tested on PHP 8.1 up to 8.5 and ships with a Content Security Policy whitelist for the TradeTracker domains, so the pixel is not blocked on stores with a strict CSP.
The official TradeTracker extension for Magento 2, maintained by an official partner.
Generates a TradeTracker XML product feed per store view on your own schedule.
Adds the TradeTracker conversion pixel to the order confirmation page.
Shows the TradeTracker status of every order in the order grid and order view.
Rejects or adjusts transactions automatically on cancellations and credit memos.
Supports DirectLinking, multi-country tracking groups and multi-store setups.
TradeTracker for Magento 2: Technical Details for Developers and Store Owners
The advantages for developers
The extension follows standard Magento patterns. The feed is built by a product data service that collects attributes in batches, with configurable batch and preview sizes, and writes the XML to pub/media/tradetracker. Feeds can be generated by cron, from the admin or from the command line with bin/magento tradetracker:feed:create, optionally for one store view with --store-id. The conversion pixel is a plain JavaScript template without RequireJS or Knockout dependencies, rendered through the secure HTML renderer. Order observers handle cancellations and credit memos through the TradeTracker API, and a debug mode with downloadable logs helps when you need to trace a feed or an API call. CI runs coding standard, PHPStan, linting and an end-to-end test suite.
Good to know for store owners
For store owners, this is the official way to connect Magento to TradeTracker, built and supported by an official TradeTracker partner. You set it up once: map your attributes, enter your campaign details and add the feed URL to TradeTracker. After that, publishers always promote your current products, every sale is tracked, and you see the status of your affiliate sales without leaving Magento.

Developed by an Official TradeTracker Partner
Magmodules is an official TradeTracker partner and develops and maintains the official TradeTracker extension for Magento 2. The integration is built around TradeTracker's requirements for product feeds and conversion tracking, and it is kept up to date with new Magento and PHP versions.
Need help with the setup? Our support team helps you with the Magento side of the integration, while your TradeTracker account manager provides the campaign details such as your Campaign ID, Product ID, DirectLinking URL key or Tracking Group ID.
Knowledgebase
All familiar Help articles
A list of the most frequently asked questions from the TradeTracker Integration extension for Magento 2. We've tried our best to help you with the installation, configuration and troubleshooting. If you do not find the answer you were looking for, you can always send us a message through this form.
Changelog 1.8.0 is released on 29 June 2026
Our plugins are regularly updated to ensure compatibility with the latest Magento release.
-
Features:
- Added configurable batch size and preview size settings to improve performance on large catalogs.
- Added an end-to-end test suite with 45 tests covering feed structure, filters, product types, and disabled product exclusion. Improvements:
- Restyled the "Check Credentials" button to match the module's admin UI.
- Modernized the ProductData service, CLI commands, admin UI, and CI workflows. Bugfixes:
- Fixed disabled products being included in the feed through parent product inheritance.
- Fixed custom button styling not being applied on the feed settings page. Minimum requirements:
- Magento 2.3.x & PHP 8.1
-
Features:
- Add vat_pct field configuration to product feeds Improvements:
- Magento 2.4.9 compatibility fixes. Compatibility:
- Magento 2.3.x & 2.4.x
- PHP 7.4 to 8.5
-
Features:
- Added support for Multi-Country Tracking Group. Improvements:
- Improved error handling by catching API exceptions in SyncTransactions. Compatibility:
- Magento 2.3.x & 2.4.x
- PHP 7.4 to 8.4
-
Features:
- Added compatibility with Magento 2.4.8 and PHP 8.4 Bugfixes:
- Fix issue with cron expression for feed generation Minimum requirements:
- Magento 2.3.x & PHP 7.2
-
Changes:
- Fix ambiguous column error when category filtering is enabled
- Created db_schema_whitelist
- Do not add tax to prices without tax in price array
- Product enabled status only checked for default store-view
- Added missing module.xml dependencies
- Added PHP 8.3 to php linting
- Make sure general config tab is expanded by default Minimum requirements:
- Magento 2.3.x & PHP 7.2
-
Changes:
- Reverted "Check if the r parameter is set #21"
- Added PHP 8.3 and Magento 2.4.7 to testings Minimum requirements:
- Magento 2.3.x & PHP 7.2
-
Changes:
- Check if the r parameter is set #21 (thnx @Jeffrey-H) Minimum requirements:
- Magento 2.3.x & PHP 7.2
-
Changes:
- Better support for EE
- Better support for Salable Qty Minimum requirements:
- Magento 2.3.x & PHP 7.2
-
Bugfixes:
- Removed unused prototype require for buttons js Minimum requirements:
- Magento 2.3.x & PHP 7.2
-
Bugfixes:
- Fixed WebApi Test Fail Due to Missing Store Id Parameter bug #17 Minimum requirements:
- Magento 2.3.x & PHP 7.2
-
Bugfixes:
- Added fixes for PHP 8.2 compatibility
- Added fixes for Magento 2.4.6 compatibility Changes:
- Disable composer plugins when using CI Minimum requirements:
- Magento 2.3.x & PHP 7.2
-
Bugfixes:
- Fix bindings Changes:
- Make sure generated code is clear before running tasks Minimum requirements:
- Magento 2.3.x & PHP 7.2
-
Features:
- Added TradeTracker endpoint
- Updated tested version in GitHub Actions Changes:
- Removed sandbox settings
- Pixel and direct linking are always enabled when module is enabled Minimum requirements:
- Magento 2.3.x & PHP 7.2
-
Features:
- Make Logger component compatible with Monolog 2.0 Changes:
- Upped PHPCS Magento Coding Standard and fixed raised issues
- Update GitHub workflows to test more versions Bugfixes:
- Fixed logDebug getter
- Add correct acl resource to all adminhtml controllers Minimum requirements:
- Magento 2.3.x & PHP 7.x
-
Bugfixes:
- Fixed Grouped product minimal price Minimum requirements:
- Magento 2.3.x & PHP 7.x
-
Bugfixes:
- Only apply set filter on corresponding product type Minimum requirements:
- Magento 2.3.x & PHP 7.x
-
Bugfixes:
- Use correct Product ID Group in tracking pixel Minimum requirements:
- Magento 2.3.x & PHP 7.x
-
Bugfixes:
- Saving Filter on Visibility throws TypeError Minimum requirements:
- Magento 2.3.x & PHP 7.x
-
Bugfixes:
- Issue with product data service on category data #7 Minimum requirements:
- Magento 2.3.x & PHP 7.x
-
Bugfixes:
- Added fallback to default store in attribute collector Changes:
- Refactor InstallData to patches Minimum requirements:
- Magento 2.3.x & PHP 7.x
-
Features:
- Conversion / Transaction API implementation Bugfixes:
- Fixed stock collector for multiple warehouses (feed)
- Fixed image logic fallback (feed) Minimum requirements:
- Magento 2.3.x & PHP 7.x
-
Bugfixes:
- Fixed DirectLinking url_rewrite saving
- Allow empty product type behavior Minimum requirements:
- Magento 2.3.x & PHP 7.x
-
Features:
- Added API Adapter and API-credential check Bugfixes:
- Link Field fixes for EE (content staging) #2 Changes:
- Changes in admin styling
- Changes in CLI feed generation Minimum requirements:
- Magento 2.3.x & PHP 7.x
100% Unencrypted Code quality guaranteed.
Playwright E2E Tests (45)
This extension is covered by 45 end-to-end tests using Playwright. These tests run automatically on every code change through our CI/CD pipeline.
The tests simulate real user interactions across checkout flows, configuration changes and edge cases to make sure everything works before every release.