Onlure Attribution for WooCommerce

Beskrywing

Onlure 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

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.

Kwel-vrae

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.

Aanbevelings

There are no reviews for this plugin.

Contributors & Developers

“Onlure Attribution for WooCommerce” is oopbron sagteware. Die volgende mense het bygedra tot die ontwikkeling van hierdie uitbreiding:

Contributors

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.