Affiliated is an affiliate tracking system for Drupal 10+, based heavily on the Drupal 7 module affiliate_ng, with several improvements and updates.

Allows you to track visits and site actions per referring affiliate account.

Users with the appropriate permission can become an affiliate. Affiliates get their own Affiliate Dashboard to generate tracking links, create campaigns, and monitor how well their efforts are performing.

Features

Click/Referral Tracking: Automatically logs visits from affiliate links and stores a cookie on the visitor’s device.

Conversion Tracking: Provides a framework for logging conversions. Conversions are bundleable entities so you can define custom types for different events, such as purchases, form submissions, user registrations, and other meaningful actions.

There are two included submodules with examples for creatining conversions: commerce_affiliate and affiliate_registrations. But its up to the developer to create conversions that are appropriate for your site. See the README and submodules for examples of how to create conversions.

Campaign Support: Affiliates can organize their efforts into campaigns, either personal or global, helping you categorize and evaluate where your traffic is coming from.

Post-Installation

  • Visit the global config page at /admin/config/affiliate/settings.
  • Configure permissions for this module.
  • Enable the optional commerce_affiliate or affiliate_registrations included submodules
  • You can create custom conversion types at /admin/structure/affiliate/conversion/types.
  • Each affiliate has a dashboard at /user/USER_ID/affiliate.
  • See the Readme file for examples of how to use the module.

Supporting this Module

Patches and suggestions welcome.

Short name
affiliated