Download the PHP package affilify/module-tracking without Composer

On this page you can find all versions of the php package affilify/module-tracking. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-tracking

Affilify Tracking Module for Magento 2

A Magento 2 module for affiliate conversion tracking that integrates with the Affilify platform.

Features

Requirements

Installation

Via Composer (Recommended)

Manual Installation

  1. Create directory: app/code/Affilify/Tracking
  2. Download and extract the module files to the directory
  3. Run:

Configuration

Navigate to Stores > Configuration > Affilify > Conversion Tracking

General Settings

Setting Description Default
Enable Tracking Enable/disable the module Yes
API Key Your Affilify API Key (from Advertiser > API tab) -
API URL Tracking API URL https://dashboard.affilify.it/api/track
URL Parameter Name The URL parameter to capture affilify_id
Cookie Duration Days to keep the tracking cookie 30
Debug Mode Enable verbose logging No

How It Works

Click Tracking

  1. A visitor arrives with an affiliate link: https://yourstore.com/?affilify_id=abc123
  2. The module captures the affilify_id parameter
  3. The value is validated (alphanumeric, dash, underscore only, max 100 chars)
  4. A cookie is set with the affiliate ID
  5. Click data is sent to the Affilify API

Conversion Tracking

  1. Customer completes checkout
  2. The checkout_onepage_controller_success_action event fires
  3. If a tracking cookie exists, conversion data is captured
  4. Conversion is sent to the Affilify API with order details
  5. The tracking cookie is deleted (single conversion per click)

Message Queue

The module uses MySQL message queues for async processing:

Running Queue Consumers

Magento's cron automatically processes queue consumers. Make sure cron is running:

For manual testing or dedicated consumer processes:

Logs

Debug logs are written to: var/log/affilify_tracking.log

Support

License

MIT License - see LICENSE for details.


All versions of module-tracking with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
magento/framework Version >=102.0
magento/module-store Version >=101.0
magento/module-checkout Version >=100.0
magento/module-sales Version >=102.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package affilify/module-tracking contains the following files

Loading the files please wait ...