PHPackages                             2performant/business-league-marketing - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. 2performant/business-league-marketing

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

2performant/business-league-marketing
=====================================

Magento 2 plugin for injecting tracking scripts and iframe

1.1.0(2mo ago)081GPL-3.0-or-laterPHPPHP ~7.1.3 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

Since Feb 6Pushed 2mo agoCompare

[ Source](https://github.com/2Parale/magento-plugin)[ Packagist](https://packagist.org/packages/2performant/business-league-marketing)[ RSS](/packages/2performant-business-league-marketing/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

2Performant BusinessLeague Marketing for Magento 2
==================================================

[](#2performant-businessleague-marketing-for-magento-2)

Magento 2 / Adobe Commerce extension that integrates 2Performant tracking for click attribution and sales conversion on the checkout success flow.

Features
--------

[](#features)

- Injects the 2Performant click tracking script on storefront pages.
- Preserves attribution query params (`2pau`, `2ptt`, `2ptu`, `2prp`, `2pdlst`) through redirects.
- Adds checkout success tracking:
    - sales tracking script (`sls`)
    - conversion iframe payload
- Builds order payload with product details (name, quantity, net value, category, brand).
- Supports configurable category-based commissions (with default fallback).
- Includes CSP whitelist entries for required tracking domains.
- Validates remote click script URL before injection.
- Inserts the credits text "Active in BusinessLeague" with a link to businessleague.com in the footer of every page of the store. Can be disabled if you want to customize how the credits text is added.

Package
-------

[](#package)

- **Composer package:** `2performant/business-league-marketing`
- **Magento module name:** `TwoPerformant_BusinessLeagueMarketing`
- **Type:** `magento2-module`

Requirements
------------

[](#requirements)

- Magento 2 / Adobe Commerce
- PHP versions allowed by package constraints: `~7.1.3 || ~7.2.0 || ~7.3.0 || ~7.4.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0`

Installation
------------

[](#installation)

Install with Composer:

1. `composer require 2performant/business-league-marketing`
2. `bin/magento module:enable TwoPerformant_BusinessLeagueMarketing`
3. `bin/magento setup:upgrade`
4. `bin/magento cache:flush`

Configuration
-------------

[](#configuration)

In Magento Admin, go to:

**Stores → Configuration → Business League Marketing**

### 1) Identifiers

[](#1-identifiers)

- **Campaign Unique ID**
- **Confirm ID**
- **Big Bear Unique ID**
- **Brand Attribute Name** (default: `manufacturer`)

### 2) Commissions

[](#2-commissions)

- **Enable Category Commissions**
- **Default Commission**
- **Commissions List** (Category ID → Commission Value)

### 3) Credits

[](#3-credits)

- **Display Credits in Store Footer**

How it works
------------

[](#how-it-works)

- A frontend observer injects the click script only when `Big Bear Unique ID` is configured and URL validation passes.
- A response redirect plugin preserves attribution parameters across redirects.
- On checkout success, the module renders tracking output using view models:
    - serialized `tpOrder` object for sales script consumption
    - conversion iframe URL containing campaign, confirm, amount, description and transaction id; the overall commission percent is also added when variable commission is enabled.
- The credits text is added via a layout block injected into the `footer` container on every storefront page

Uninstall
---------

[](#uninstall)

The module provides an uninstall routine that removes its config keys from `core_config_data` under:

- `twoperformant_identifiers/*`
- `twoperformant_commissions/*`
- `twoperformant/*`

License
-------

[](#license)

GPL-3.0-or-later

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance88

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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 ~17 days

Total

3

Last Release

62d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e046cd428851d5d2e3a3964499cf6b5f8109dcd8099a440a71904e62e52db869?d=identicon)[2Performant](/maintainers/2Performant)

---

Top Contributors

[![radu-raileanu](https://avatars.githubusercontent.com/u/217229934?v=4)](https://github.com/radu-raileanu "radu-raileanu (7 commits)")[![RaduRaileanu](https://avatars.githubusercontent.com/u/67751805?v=4)](https://github.com/RaduRaileanu "RaduRaileanu (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/2performant-business-league-marketing/health.svg)

```
[![Health](https://phpackages.com/badges/2performant-business-league-marketing/health.svg)](https://phpackages.com/packages/2performant-business-league-marketing)
```

###  Alternatives

[santigarcor/laravel-vuetable

Vuetable laravel backend package

2750.3k](/packages/santigarcor-laravel-vuetable)[bitbag/product-bundle-plugin

Product bundle for Sylius.

2174.4k](/packages/bitbag-product-bundle-plugin)

PHPackages © 2026

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