Title: Onlure Attribution for WooCommerce
Author: onlure
Published: <strong>December 1, 2026</strong>
Last modified: December 1, 2026

---

Search plugins

![](https://ps.w.org/onlure-attribution/assets/banner-772x250.png?rev=3838314)

![](https://ps.w.org/onlure-attribution/assets/icon-256x256.png?rev=3838314)

# Onlure Attribution for WooCommerce

 By [onlure](https://profiles.wordpress.org/onlure/)

[Download](https://downloads.wordpress.org/plugin/onlure-attribution.1.0.3.zip)

 * [Details](https://wordpress.org/plugins/onlure-attribution/#description)
 * [Reviews](https://wordpress.org/plugins/onlure-attribution/#reviews)
 *  [Installation](https://wordpress.org/plugins/onlure-attribution/#installation)
 * [Development](https://wordpress.org/plugins/onlure-attribution/#developers)

 [Support](https://wordpress.org/support/plugin/onlure-attribution/)

## Description

[Onlure](https://onlure.ca) connects small businesses with creators. This plugin
links your WooCommerce store to your Onlure account, so the sales a creator drives—
through their tracked link or their personal coupon code — are credited to them 
automatically.

What it does:

 * Registers two WooCommerce webhooks (order created, order updated) that send order
   data to Onlure. You can see them, and their delivery log, under WooCommerce  
   Settings  Advanced  Webhooks. If WooCommerce pauses one after failed deliveries,
   the plugin turns it back on.
 * Adds the Onlure script to your pages.
 * Remembers the creator’s link when a visitor arrives from one, and stores it on
   the order, so the credit survives even if the visitor’s browser blocks scripts.
 * Keeps one coupon per creator in your store. The plugin fetches your creators’
   codes from Onlure and creates, updates and deletes only the coupons it made.

No REST API keys to copy, and Onlure never connects to your store: the plugin adds
no API routes. You paste one connect code, once.

### External services

This plugin connects to Onlure (https://onlure.ca), the service you are integrating
your store with. Nothing is sent anywhere else.

 * **Every page loads https://onlure.ca/pixel.js.** For visitors who did not arrive
   through an Onlure creator link the script does nothing at all: no cookies, no
   storage, no requests. For visitors who did, it stores the Onlure click id and
   reports page views, cart and purchase events to https://onlure.ca/api/px so the
   campaign can be measured.
 * **When an order is created or updated,** WooCommerce sends the order to https://
   onlure.ca/api/woocommerce/webhooks/… over a signed webhook you can inspect in
   your own WooCommerce settings. It is WooCommerce’s standard order record: the
   items, totals and coupon codes plus the customer’s name, email, phone, addresses
   and IP address. It also carries the Onlure click id when one is attached.
 * **Once a day, and when you open the settings page,** the plugin sends its version,
   your WooCommerce and WordPress versions, and the status of its webhooks to https://
   onlure.ca/api/woocommerce/plugin/heartbeat.
 * **Every 15 minutes, and when a shopper enters an Onlure code your store doesn’t
   have yet,** the plugin asks https://onlure.ca/api/woocommerce/plugin/codes for
   your creators’ codes. It sends its version and its connection token; Onlure answers
   with each code, its discount and its expiry date.
 * **When the plugin turns a paused webhook back on,** WooCommerce resends the orders
   changed in the last three days (50 at most) through that webhook, so a sale made
   while it was paused still reaches Onlure.
 * **When you connect,** the plugin sends your site address, site name, currency
   and the above versions to https://onlure.ca/api/woocommerce/plugin/connect in
   exchange for its credentials.
 * **When you disconnect, or uninstall the plugin while it is connected,** the plugin
   sends its connection token to https://onlure.ca/api/woocommerce/plugin/disconnect
   so Onlure closes the connection too.

Terms of service: https://onlure.ca/terms — Privacy policy: https://onlure.ca/privacy

## Screenshots

[⌊WooCommerce → Onlure, before connecting: one field for the connect code.⌉⌊WooCommerce
→ Onlure, before connecting: one field for the connect code.⌉[

WooCommerce  Onlure, before connecting: one field for the connect code.

[⌊The same page once connected, showing the order webhooks.⌉⌊The same page once 
connected, showing the order webhooks.⌉[

The same page once connected, showing the order webhooks.

[⌊The WooCommerce card on Onlure's Integrations page.⌉⌊The WooCommerce card on Onlure's
Integrations page.⌉[

The WooCommerce card on Onlure’s Integrations page.

[⌊A creator's coupon in WooCommerce → Marketing → Coupons.⌉⌊A creator's coupon in
WooCommerce → Marketing → Coupons.⌉[

A creator’s coupon in WooCommerce  Marketing  Coupons.

## Installation

 1. Upload the plugin and activate it.
 2. Go to WooCommerce  Onlure.
 3. In Onlure, open Integrations  Online store, press “Connect with the Onlure plugin”
    on the WooCommerce card, and copy the code.
 4. Paste the code and press Connect.

## FAQ

### Does this track all my visitors?

No. The script does nothing for anyone who did not arrive through an Onlure creator
link — it sets no cookie and makes no request for them.

### Does it work with the block checkout?

Yes. Both the classic and the block checkout are handled.

### Does it work with High-Performance Order Storage?

Yes. The plugin declares HPOS compatibility and writes order data through WooCommerce’s
CRUD layer.

### What happens if I deactivate it?

Nothing is deleted. The script stops loading and new orders stop carrying the click
id, but your webhooks, coupons and orders are left alone.

### What happens if I uninstall it?

The webhooks this plugin created are deleted, the creator coupons it created are
deleted, and its settings are removed. Your own coupons are never touched.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Onlure Attribution for WooCommerce” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ onlure ](https://profiles.wordpress.org/onlure/)

[Translate “Onlure Attribution for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/onlure-attribution)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/onlure-attribution/),
check out the [SVN repository](https://plugins.svn.wordpress.org/onlure-attribution/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/onlure-attribution/)
by [RSS](https://plugins.trac.wordpress.org/log/onlure-attribution/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.3

 * Onlure no longer connects to your store. The plugin’s API routes are gone; it
   fetches your creators’ codes from Onlure itself, and it creates, updates and 
   deletes only the coupons it made.
 * The order webhooks are always “order created” and “order updated”, and the plugin
   turns them back on itself if WooCommerce pauses them.
 * The script and the order details on the thank-you page now load through WordPress’s
   script functions.
 * Uninstalling now finishes on PHP 8 even when the plugin was inactive.

#### 1.0.2

 * Disconnecting on onlure.ca now removes the plugin’s order webhooks. Before, they
   kept sending orders until WooCommerce disabled them.
 * When Onlure closes the connection, the plugin removes its webhooks and shows 
   itself as disconnected.
 * Tested with WordPress 7.1 and WooCommerce 11.2.

#### 1.0.1

 * The connect steps name Onlure’s Integrations page, where the WooCommerce card
   now lives.

#### 1.0.0

 * Initial release.

## Meta

 *  Version **1.0.3**
 *  Last updated **2 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.2 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [affiliate](https://wordpress.org/plugins/tags/affiliate/)[attribution](https://wordpress.org/plugins/tags/attribution/)
   [creators](https://wordpress.org/plugins/tags/creators/)[influencer](https://wordpress.org/plugins/tags/influencer/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/onlure-attribution/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/onlure-attribution/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/onlure-attribution/reviews/)

## Contributors

 *   [ onlure ](https://profiles.wordpress.org/onlure/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/onlure-attribution/)