PHPackages                             partnerads/magento2 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. partnerads/magento2

ActiveMagento2-module

partnerads/magento2
===================

Magento 2 module for tracking affilate sales through Partner Ads network

2.3.0(1mo ago)122.8k↓22.4%2[1 PRs](https://github.com/PartnerAds/Magento2/pulls)proprietaryPHP

Since Jan 7Pushed 2y ago2 watchersCompare

[ Source](https://github.com/PartnerAds/Magento2)[ Packagist](https://packagist.org/packages/partnerads/magento2)[ RSS](/packages/partnerads-magento2/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)DependenciesVersions (11)Used By (0)

PartnerAds - Magento 2.3+ Affiliate tracking
============================================

[](#partnerads---magento-23-affiliate-tracking)

This extension adds the following functionality to Magento:

- Track visitors from Partner Ads publishers via cookie
- Send order information to Partner Ads affiliate network depending on order status
- Possibility for communication Magento backend via GraphQL endpoints

Compatibility
-------------

[](#compatibility)

The Partner Ads affiliate tracking extension tested with:

- Magento 2.3
- Magento 2.4

For Magento versions below 2.3:
-------------------------------

[](#for-magento-versions-below-23)

For those running Magento versions earlier than 2.3, we recommend utilizing version 2.1 of this extension. This version maintains the essential features tailored to be compatible with older Magento instances, ensuring you can still leverage the benefits of the Partner Ads affiliate network without the need for an immediate platform upgrade.

Usage
-----

[](#usage)

### Installation via Composer (Recommended)

[](#installation-via-composer-recommended)

- Install the module composer by running `composer require partnerads/magento2`
- Enable the module by running `php bin/magento module:enable Partner_Module`
- Apply database updates by running `php bin/magento setup:upgrade`
- Compile Magento code base by running `php bin/magento setup:di:compile`
- Deploy static content by running `php bin/magento setup:static-content:deploy`
- Clean the cache by running `php bin/magento cache:clean`
- Setup Partner Program ID via Magento Admin panel
- You are ready to go

### Module settings in Magento Admin

[](#module-settings-in-magento-admin)

[![Partner Ads Magento module settings in Magento backend](https://camo.githubusercontent.com/0d41bc39ab17a0dac261a6792e5ab57696b9816e8087d94f79d3f103aace4515/68747470733a2f2f696e74656c6c69676f2e6c696e6b2f6a632f323032322d30322d334d5132336745366b492e706e67)](https://camo.githubusercontent.com/0d41bc39ab17a0dac261a6792e5ab57696b9816e8087d94f79d3f103aace4515/68747470733a2f2f696e74656c6c69676f2e6c696e6b2f6a632f323032322d30322d334d5132336745366b492e706e67)

- Login to Magento admin
- Go to Stores - Configuration - Partner Ads Setup
- Enter Partner Program ID
- Change settings according to your stores setup

### Multi store setup

[](#multi-store-setup)

The Partner Ads module supports multi store setup per Magento’s normal requirements, therefore you are able to set individual Partner Ads program on a per store view basis via Magento admin.

### Debugging

[](#debugging)

Starting from version 2.1.0, we have made significant enhancements to the debug log functionality. To effectively debug Partner Ads tracking and communication with Partner Ads servers, please follow these steps:

- Login to Magento admin
- Go to Stores - Configuration - Partner Ads Setup
- Adjust the `Mode` setting to `Debug`
- Perform an order placement using valid `PACID` and `PARTNERID` values
- Monitor the request and response log in the `var/log/Partnerads.log` file

Please remember to set `Mode` back to `Production` afterwards.

Support &amp; Bugs
------------------

[](#support--bugs)

Please contact  for support and bug requests.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance50

Moderate activity, may be stable

Popularity30

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~171 days

Recently: every ~254 days

Total

10

Last Release

54d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/24f0c55c691fd78ee98d3620c6c5fef2767c2f8dcc8f97b15a446381975c7712?d=identicon)[julianchristmas](/maintainers/julianchristmas)

---

Top Contributors

[![julianchristmas](https://avatars.githubusercontent.com/u/9255188?v=4)](https://github.com/julianchristmas "julianchristmas (14 commits)")[![jupiterlewis](https://avatars.githubusercontent.com/u/31236302?v=4)](https://github.com/jupiterlewis "jupiterlewis (2 commits)")[![Partner-ads](https://avatars.githubusercontent.com/u/96107328?v=4)](https://github.com/Partner-ads "Partner-ads (2 commits)")[![puntable](https://avatars.githubusercontent.com/u/11092272?v=4)](https://github.com/puntable "puntable (1 commits)")

### Embed Badge

![Health badge](/badges/partnerads-magento2/health.svg)

```
[![Health](https://phpackages.com/badges/partnerads-magento2/health.svg)](https://phpackages.com/packages/partnerads-magento2)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
