Article

C2S – WooCommerce

The Affilae plugin for WooCommerce sets up click and conversion tracking on your WordPress store, with no code to write. You configure it with your Program ID and one conversion key per commission rule.

Prerequisites: the program must be set as a Parameter. Change the URL format in Manage programs > your program > Configuration, section Global settings. You also need administrator access to your WordPress.
Good to know: this WooCommerce plugin also manages commission rules by product category. It is compatible with HPOS orders (High-Performance Order Storage).

Install the plugin on your WordPress

  1. Download the file Affilae_WC_1.6.1.
  2. Install it in your WordPress like any other plugin.
  3. Go to Plugins > Installed Plugins.
  4. Activate the Affilae plugin.

A new Affilae menu then appears in the sidebar of your WordPress admin.

Configure click tracking

This step connects your store to your program, through the Program ID.

Retrieve your Program ID in Affilae

  1. In the sidebar, open Manage programs, then click your program name.
  2. Click Configuration.
  3. At the top of the page, open the Tracking tab.
  4. Expand the Integration via an Affilae plugin section.
  5. Copy the Program ID value with the copy icon.
Integration via an Affilae plugin section, with Program ID, Rule ID, Key and Currency
The Integration via an Affilae plugin section holds the Program ID, Rule ID, Key and Currency of the selected rule.

Paste the Program ID into WordPress

  1. In your WordPress admin, click on Affilae (new menu).
  2. Click on Settings in the submenu.
  3. Paste the Program ID into the dedicated field.
  4. Save.
Affilae Settings screen of the WooCommerce plugin, with the Program ID field
The plugin settings screen in WordPress, with the Program ID field.

Configure sales tracking

Create one rule in the plugin for each commission rule you have in Affilae. Every rule carries its own conversion key.

Create the rule

  1. In the WordPress Affilae menu, open Affilae rules.
  2. Click on Add.
  3. Give it the same name as in your Affilae account, for example “All products”.

Retrieve the conversion code

  1. In Affilae, go back to Configuration > Tracking tab > Integration via an Affilae plugin.
  2. Select the matching rule in the dropdown list.
  3. Copy its Key, for example 58b57bd2e8face9d048b4581-58b57b35c2f06d67ab6423c5.
  4. Paste this code into the Code field of the WordPress rule.

Choose the product categories

  1. For all categories, leave everything unchecked: that is the default behavior.
  2. For specific categories, only check the relevant ones.
  3. Click the Publish button.
Affilae rule edit screen in WordPress, with the Conversion code field and the product categories list
Editing an Affilae rule in WordPress: the name, the conversion code field, and the product categories to check.

Repeat the process for every rule configured in Affilae. Each rule can be linked to its own product categories.

Tip: give your WordPress rules exactly the same names as in Affilae. The day a conversion lands on the wrong rule, you find the right key in seconds.

Test your setup

  1. Perform click and conversion tests.
  2. Check in your Affilae account that clicks and conversions are recorded.

Related articles

Frequently asked
questions

In Affilae, open Manage programs, click your program, then Configuration and the Tracking tab. The Integration via an Affilae plugin section shows the Program ID, Rule ID, Key and Currency of the selected rule.

First verify that the Program ID pasted into the plugin is correct. Then follow the Affilae conversion test documentation. If the problem remains, contact support with your configuration details.

Verify that the rule KEY is correct. Then follow the Affilae conversion test documentation. If conversions are still missing, contact Affilae support with your configuration details.

Yes. Create as many rules as you have configured in Affilae, and give them the same names. Each rule can then be linked to its own product categories.

Yes. On each plugin rule, you check the relevant categories. If you check nothing, the rule applies to all categories: that is the default behavior.

Yes. The plugin is compatible with HPOS orders, the High-Performance Order Storage of WooCommerce.

Need help?

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

Contact Us