AffClix for WooCommerce

Descripción

AffClix for WooCommerce connects your store to your AffClix account so affiliate commissions are calculated from real orders instead of browser pixels.

The plugin does three things:

  1. Captures the click. When a visitor arrives from an affiliate link, the click ID, affiliate ID and UTM parameters are stored in a first-party cookie. No theme edits, no functions.php.
  2. Stamps the order. At checkout — both the classic checkout and the checkout block — the stored touch is written onto the order as order meta.
  3. Delivers the order. A native WooCommerce webhook posts the order to AffClix, signed with HMAC-SHA256. Refunds and status changes follow the same path, so clawbacks are automatic.

Because attribution is resolved from the order rather than from a pixel firing on the thank-you page, it survives ad blockers, Safari ITP, and customers who close the tab before the confirmation page renders.

Features

  • Works with the classic checkout and the checkout block
  • Compatible with High-Performance Order Storage (HPOS)
  • First-click or last-click attribution, with the window set in your AffClix account
  • Refunds and cancellations reverse unpaid commission automatically
  • Orders are delivered by WooCommerce’s own webhook queue, so checkout makes no outbound request
  • Optional read-only API key so AffClix can reconcile missed orders and sync your product catalogue
  • Translation ready

What you need

An AffClix account with API access. Your account ID, API key and API secret are in the AffClix dashboard under Settings API.

External services

This plugin connects your store to AffClix, a hosted affiliate tracking service. It cannot work without it. An AffClix account is required, and nothing is sent until you enter your credentials and tick “Enable tracking”.

AffClix API (api.affclix.com)

  • When: when you save the settings screen with tracking enabled, once a day afterwards, and when you deactivate the plugin.
  • What is sent: your AffClix account ID, API key and API secret, your site name and URL, and the plugin and WooCommerce versions. If you tick “Create a read-only WooCommerce REST API key”, that key is sent once, when it is created.
  • Why: to register the store and fetch its tracking settings (attribution window, cookie name, webhook address and signing secret).

AffClix order webhook (your AffClix tracking address, returned by the API above)

  • When: each time an order is created or updated, through WooCommerce’s webhook queue.
  • What is sent: the standard WooCommerce order webhook payload — order number, status, totals, currency, line items, coupon codes, and the billing and shipping details of the order, including the customer’s name, email, phone and address — plus the affiliate identifiers captured for that order.
  • Why: to attribute the order to the affiliate who referred it, calculate commission, and detect duplicate or fraudulent conversions.

AffClix web SDK (assets.affclix.com) — optional, off by default

  • When: on storefront page loads, only if you tick “Load the AffClix web SDK”.
  • What is sent: the visitor’s browser requests a JavaScript file from AffClix, which exposes their IP address and user agent, and the script reports page views to your AffClix account.
  • Why: page-view analytics in AffClix reports. Attribution and order delivery work without it.

AffClix is provided by Pivotstring. Terms of service · Privacy policy

Cookies

The plugin sets one first-party cookie (named ps_attr unless changed in your AffClix account) on visitors who arrive from an affiliate link. It holds the affiliate identifiers from that link — click ID, affiliate ID, campaign ID, sub IDs and UTM parameters — and the time of the click. It holds no personal data and expires at the end of your attribution window. Add it to your cookie notice if your jurisdiction requires one.

Capturas

Instalación

  1. Install and activate the plugin. WooCommerce must be active.
  2. Go to WooCommerce AffClix.
  3. Enter your account ID, API key and API secret.
  4. Tick “Enable tracking” and save.

The plugin registers its own webhooks. You can confirm them under WooCommerce Settings Advanced Webhooks.

To test, open your store through an affiliate tracking link from AffClix, place an order, and look for it in the AffClix conversion log.

Preguntas frecuentes

Do I need an AffClix account?

Yes. The plugin is a connector; the tracking, commission and payout logic runs in your AffClix account.

Does this work with the checkout block?

Yes. Both the classic shortcode checkout and the checkout block are hooked, which matters because they are separate code paths.

Is it compatible with HPOS?

Yes. The plugin declares compatibility with High-Performance Order Storage and only touches orders through the WooCommerce CRUD API.

What happens to refunds?

A refund updates the order, which fires the order.updated webhook. AffClix records the refund as a negative conversion and reverses commission that has not yet been paid out.

Will it slow my store down?

The attribution script is about 1 KB and makes no network requests. Nothing in the checkout path makes an outbound HTTP request — order delivery is handled by WooCommerce’s own background webhook queue.

What data leaves my store?

See the “External services” section. In short: nothing until you connect, then order data for attribution.

What happens when I deactivate or delete the plugin?

Deactivating removes the plugin’s webhooks and API key and tells AffClix the store is disconnected. Deleting it removes its settings. The affiliate identifiers stored on past orders are kept, because they are your record of which affiliate earned which order.

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

Este software es de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

Traduce “AffClix for WooCommerce” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.0.0

  • Initial release.