WordPress plugin intelligence profile

Affiliatant for WooCommerce

Affiliate tracking for WooCommerce. Captures the referral server side and reports every sale, refund and renewal to your Affiliatant account.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.0.1
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.0 · PHP 7.4
Directory statusactive
Last directory update28 Oct 20265d ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Affiliatant for WooCommerce version 1.0.1 as active, updated 5d ago and tested up to WordPress 7.1.

Overview

About this plugin

This plugin connects a WooCommerce store to an affiliate programme you run at

Affiliatant. It records which referral brought a shopper to the store, and it

tells Affiliatant when that shopper buys, when the order is refunded and when

a subscription renews. Affiliatant works out what is owed. Nothing in this

plugin moves money.

An Affiliatant account is required. The plugin does nothing until you enter an

API key and a programme id, and it requires WooCommerce: without WooCommerce

active it records nothing and says so on the Plugins screen.

Everything described below is in this plugin. There is no trial, no licence

check, and no feature here that waits for a payment.

What it does

  • Click capture, server side. A shopper arriving with?aftid= is

recorded by PHP on the landing request. The click id is kept in a

first-party cookie, for thirty days by default, and on the WooCommerce

session.

  • A beacon for cached pages. A cached page never runs PHP, and some edge

caches strip the query string before the request reaches the origin. A small

script reads the address bar and posts the click id to your own site’s

php. It posts to your site, not to ours, and it sends nothing

when there is no click id in the URL.

  • Classic checkout and Blocks. The referral is bound to the order on both

the classic checkout hooks and the Store API hooks the Blocks checkout uses.

  • Sales. An order reaching a status you count as paid is reported once.

The default is whatever WooCommerce itself calls paid.

  • Refunds and cancellations. A refund or a cancellation is reported as a

reversal, so a commission can be withdrawn.

  • Subscription renewals. Renewal payments taken by WooCommerce

Subscriptions are reported, carrying the id of the order that started the

subscription.

  • Coupon codes. Codes used on the order are sent, so a sale can be

attributed to a code when there was no click to follow.

  • sub1 to sub5. Five pass-through parameters are carried from the landing

URL to the conversion.

  • A local queue. Every event is written to a table in your own database

first and sent afterwards by a background job, through Action Scheduler

where it is available and WP-Cron where it is not. A checkout is never held

up by a network call, and an event that cannot be sent is retried rather

than lost.

  • Reconciliation. The server report and the receipt pixel carry the same

deterministic event id, so one sale is counted once.

  • A receipt pixel, which can be switched off.
  • A connection test that sends a real conversion marked as test data, so

pressing it proves the key, the programme id, the signature and the network

at once without creating a commission.

  • A status panel showing the queue, the last event sent and the last

error, with retry and clear.

  • An order meta box showing the click id bound to that order, and letting

you set one by hand.

  • Test mode, which marks everything sent as test data.
  • HPOS and Blocks compatibility, declared. Order data is read and written

through the WooCommerce CRUD API only.

What it does not do

It does not run the affiliate programme. Affiliates, links, commission rates,

approvals and payouts live in Affiliatant, not in WordPress. It does not add

an affiliate dashboard or a registration form to your site. It does not cloak

links. It does not pay anybody.

Money

Every amount is sent as a whole number in the currency’s minor unit, together

with the currency of the order, calculated with string arithmetic rather than

floating point.

External services

This plugin relies on one external service, Affiliatant, and contacts nothing

else. It contacts nothing on activation, and nothing on a schedule, until you

have entered an API key and a programme id on its settings screen.

Affiliatant is a service run by Havenswift Hosting, and it is what makes the

plugin useful: it holds the affiliate programme, matches each sale to the

referral that produced it and calculates the commission.

Affiliatant, from your server. When an order reaches a paid status, is

refunded, is cancelled, or a subscription renews, your server sends that event

to Affiliatant. It is sent by a background job, not during the shopper’s

checkout request. The settings screen’s connection test sends one event the

same way, marked as test data.

What is sent: your programme id and store reference; the order id and order

number; an event id; the kind of event; the order total, tax, shipping and

discount as whole numbers in the minor unit; the currency; the date of the

order; a test flag; the line items, each with its name, SKU, product and

variation ids, quantity, unit and line amounts and tax; any coupon codes used;

the payment method identifier; for a renewal, the id of the original order;

the numeric WordPress customer id where the shopper has an account; the click

id; sub1 to sub5; and the landing URL the shopper arrived on. The request

carries your API key and a user agent naming the versions of this plugin,

WooCommerce and WordPress.

What is not sent: no customer name, no email address, no postal address, no

telephone number and no IP address.

com

com/legal/terms

com/legal/privacy

Affiliatant, from the shopper’s browser. When the receipt pixel is on, the

order-received page includes a one-pixel image served by Affiliatant. The

request is made by the shopper’s browser and therefore carries their IP

address and the address of the page. It is sent only on the order-received

page, and only when the plugin is configured and the pixel setting is on. Turn

the pixel off in the settings and no request is made from any visitor’s

browser.

What is sent: your programme id and store id; the order id; the event id; the

kind of event; the order total, tax and shipping as whole numbers in the minor

unit; the currency; the date of the order; the click id; the coupon code; the

numeric WordPress customer id where the shopper has an account; and a test

flag. The whole query is signed.

com

com/legal/terms

com/legal/privacy

php. It

is not a request to Affiliatant and no third party receives it.

There is no usage tracking, no telemetry and no analytics of any kind.

The plugin is published by Havenswift Hosting,

uk/

Third-party libraries

php. It is one

file, written by us, and it is published under the MIT licence while the rest

of the plugin is GPLv2 or later. MIT is GPL-compatible. No other library ships

with this plugin and nothing is minified.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • affiliate program
  • affiliate tracking
  • woocommerce affiliates
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.0 · PHP 7.4
Update activity28 Oct 20265d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.