PHPackages                             anvildev/craft-kickback - 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. [API Development](/categories/api)
4. /
5. anvildev/craft-kickback

ActiveCraft-plugin[API Development](/categories/api)

anvildev/craft-kickback
=======================

Advanced Affiliate &amp; Referral Marketing for Craft CMS — referral tracking, commission rules, multi-tier MLM, coupon attribution, PayPal/Stripe payouts, and a self-service affiliate portal.

v1.1.2(1mo ago)00proprietaryPHPPHP &gt;=8.2CI passing

Since Apr 21Pushed 3w agoCompare

[ Source](https://github.com/anvildevxyz/craft-kickback)[ Packagist](https://packagist.org/packages/anvildev/craft-kickback)[ Docs](https://github.com/anvildevxyz/craft-kickback)[ RSS](/packages/anvildev-craft-kickback/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (7)Dependencies (12)Versions (9)Used By (0)

Kickback
========

[](#kickback)

Advanced affiliate and referral marketing for [Craft CMS](https://craftcms.com/) 5 with [Craft Commerce](https://craftcms.com/commerce) integration.

Features
--------

[](#features)

- **Affiliate management** - custom element type with statuses, groups, approval workflows, and multi-tier (MLM) support
- **Click tracking** - cookie-based attribution with pretty URLs (`/r/{code}`), configurable cookie duration, and first-click or last-click models
- **Referral tracking** - automatic order attribution via cookie, coupon code, or lifetime customer linking
- **Commission engine** - percentage or flat-rate commissions with tiered rules, product/category overrides, and multi-tier MLM payouts
- **Fraud detection** - click velocity checks, rapid conversion detection, IP reuse analysis, duplicate customer flagging, and suspicious user-agent detection
- **Payouts** - manual, PayPal batch, and Stripe Connect payouts with minimum thresholds and batch processing
- **Affiliate portal** - front-end dashboard where affiliates view stats, referrals, commissions, creatives, coupons, and manage payout settings
- **Multisite programs and creatives** - program names, descriptions, terms and creative content (name, HTML, link text, destination URL) are translatable per Craft site with automatic fallback to primary-site content for untranslated sites
- **Coupon integration** - affiliates can generate discount coupons that also track attribution
- **Creatives** - manage marketing assets with auto-generated affiliate URLs
- **Reports &amp; exports** - dashboard charts, date-range filtering, top affiliates, and CSV export for referrals, commissions, and payouts
- **Events** - custom events for affiliates, commissions, referrals, fraud, and payouts to hook into from other plugins or modules

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

[](#requirements)

- PHP 8.2+
- Craft CMS 5.8.0+
- Craft Commerce (for order/subscription tracking)

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

[](#installation)

Install via Composer:

```
composer require anvildev/craft-kickback
```

Then install the plugin in Craft:

```
php craft plugin/install kickback
```

Or install from **Settings &gt; Plugins** in the control panel.

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

[](#configuration)

### Plugin Settings

[](#plugin-settings)

Configure via **Settings &gt; Plugins &gt; Kickback** in the CP, or create a `config/kickback.php` file:

```
