Article

C2S – Prestashop

The Affilae module for PrestaShop installs click and conversion tracking straight from your store back office. You paste one script, you create your rules, and the module reports the orders.

It manages commission rules by product category, as well as the differentiation between new and returning customers.

Prerequisites: the URL format of your program must be set to Parameter. You change it in Program management > [your program] > Settings, section Global settings, field URL format. On the store side, module version 1.18 is compatible from PrestaShop 1.7.2x up to 9.0.
Note: the module also supports the Top Products feature, available with the ENGAGE subscription plan.

Install the module

Download the module

  1. Download the Affilae module v1.18.
  2. Unzip the ZIP file.

Install it in PrestaShop

  1. In the PrestaShop back office, open Modules.
  2. Click Add a module.
  3. Select the downloaded ZIP file.
  4. Let the automatic installation run.

Add the security script (click tag)

Where to find it: in Affilae, open Settings > tab Tracking > Custom integration (Script) > Track clicks.

Custom integration (Script) panel and click tracking script in Affilae
In Affilae, the Track clicks panel holds the script to copy, with its copy button on the right.

How to install it

  1. Copy the full script from your Affilae interface.
  2. Paste it into the PrestaShop module configuration, field Security script.
  3. Click Save.
Security script field in the Affilae module configuration in PrestaShop
The Security script field of the module, with the Affilae script pasted, then the Save button.

Configure your commission rules

For a general rule

  1. Rule name: for example All products.
  2. Rule key: copy and paste the value from your Affilae interface.
  3. Category: leave the field empty, the rule then applies to all categories.
  4. Save.

Where to find the key: in Affilae, open Settings > tab Tracking > Integration via an Affilae plugin.

Integration via an Affilae plugin panel, with Program ID, Key, Rule ID and Currency
The panel gives the values to copy into the module, namely Program ID, Key, Rule ID and Currency.

For category-based commissions

  1. Rule name: for example Electronics.
  2. Rule key: the key specific to this category.
  3. Select the category and its subcategories.
  4. Repeat for each category.
  5. Save.
Commission rules table of the Affilae module in PrestaShop
The Commission rules table of the module lists each rule, its tracking code, its customer target and its categories.
Tip: start with a single general rule, test a real order, and only then add your category rules. You will know whether a problem comes from the setup or from the way you split your rules.

Validation checklist

Installation, in PrestaShop

  • Module v1.18 downloaded.
  • Module installed and activated.
  • Module configuration accessible.

Configuration

  • Security script added.
  • General rule created in Affilae.
  • Category rules created in Affilae, if applicable.
  • All rules saved.

Test

  • Click and conversion tests performed.
  • Tracking validated with the Affilae documentation.

Related articles

Frequently asked
questions

Voir plus de questions reponses

Module version 1.18 is compatible from PrestaShop 1.7.2x up to 9.0.

Check that both codes are correctly installed, then make sure the PID and the KEY are correctly replaced. Next, test with a real order. If the problem remains, contact Affilae support with your configuration details.

In Affilae, open Settings, tab Tracking, then the Integration via an Affilae plugin panel. It displays your Program ID, your Key, your Rule ID and your Currency, each with a copy button.

Create one rule per category in the module, each with its own key. Remember to select the category and its subcategories, otherwise products in the subcategories are not covered.

Yes, the module handles that differentiation on top of the category rules. You set the customer target on each rule.

The module supports it, but the feature comes with the ENGAGE subscription plan.

Yes. An empty Category field means all categories, so the rule applies to your whole catalogue.

Need help?

Stay up to date with the latest trends in affiliate marketing and never miss any of our articles.

Contact Us