{"id":411862,"date":"2026-12-01T16:14:51","date_gmt":"2026-12-01T16:14:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/onlure-attribution-for-woocommerce\/"},"modified":"2026-12-01T16:14:30","modified_gmt":"2026-12-01T16:14:30","slug":"onlure-attribution","status":"publish","type":"plugin","link":"https:\/\/af.wordpress.org\/plugins\/onlure-attribution\/","author":23611831,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.3","stable_tag":"1.0.3","tested":"7.1.5","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"Onlure Attribution for WooCommerce","header_author":"Onlure","header_description":"Credit orders from creators' Onlure links and coupon codes to the right creator, server-side, refunds included.","last_updated":"2026-12-01 16:14:30","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/onlure.ca\/docs\/pixel#woocommerce","header_author_uri":"https:\/\/onlure.ca","rating":0,"author_block_rating":0,"active_installs":0,"downloads":224,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.3":{"tag":"1.0.3","author":"onlure","date":"2026-12-01 16:14:30","revision":3838170}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3838314,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3838314,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3838314,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3838314,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3838314,"resolution":"1","location":"assets","locale":"","width":2560,"height":1040},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3838314,"resolution":"2","location":"assets","locale":"","width":2560,"height":1040},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3838314,"resolution":"3","location":"assets","locale":"","width":1324,"height":316},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3838314,"resolution":"4","location":"assets","locale":"","width":2560,"height":920}},"screenshots":{"1":"WooCommerce \u2192 Onlure, before connecting: one field for the connect code.","2":"The same page once connected, showing the order webhooks.","3":"The WooCommerce card on Onlure's Integrations page.","4":"A creator's coupon in WooCommerce \u2192 Marketing \u2192 Coupons."}},"plugin_section":[],"plugin_tags":[369,9067,174646,13587,286],"plugin_category":[35,45],"plugin_contributors":[296937],"plugin_business_model":[],"class_list":["post-411862","plugin","type-plugin","status-publish","hentry","plugin_tags-affiliate","plugin_tags-attribution","plugin_tags-creators","plugin_tags-influencer","plugin_tags-woocommerce","plugin_category-advertising","plugin_category-ecommerce","plugin_contributors-onlure","plugin_committers-onlure"],"banners":{"banner":"https:\/\/ps.w.org\/onlure-attribution\/assets\/banner-772x250.png?rev=3838314","banner_2x":"https:\/\/ps.w.org\/onlure-attribution\/assets\/banner-1544x500.png?rev=3838314","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/onlure-attribution\/assets\/icon-128x128.png?rev=3838314","icon_2x":"https:\/\/ps.w.org\/onlure-attribution\/assets\/icon-256x256.png?rev=3838314","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/onlure-attribution\/assets\/screenshot-1.png?rev=3838314","caption":"WooCommerce \u2192 Onlure, before connecting: one field for the connect code."},{"src":"https:\/\/ps.w.org\/onlure-attribution\/assets\/screenshot-2.png?rev=3838314","caption":"The same page once connected, showing the order webhooks."},{"src":"https:\/\/ps.w.org\/onlure-attribution\/assets\/screenshot-3.png?rev=3838314","caption":"The WooCommerce card on Onlure's Integrations page."},{"src":"https:\/\/ps.w.org\/onlure-attribution\/assets\/screenshot-4.png?rev=3838314","caption":"A creator's coupon in WooCommerce \u2192 Marketing \u2192 Coupons."}],"raw_content":"<!--section=description-->\n<p><a href=\"https:\/\/onlure.ca\">Onlure<\/a> connects small businesses with creators. This plugin links your WooCommerce store to your Onlure account, so the sales a creator drives \u2014 through their tracked link or their personal coupon code \u2014 are credited to them automatically.<\/p>\n\n<p>What it does:<\/p>\n\n<ul>\n<li>Registers two WooCommerce webhooks (order created, order updated) that send order data to Onlure. You can see them, and their delivery log, under WooCommerce \u2192 Settings \u2192 Advanced \u2192 Webhooks. If WooCommerce pauses one after failed deliveries, the plugin turns it back on.<\/li>\n<li>Adds the Onlure script to your pages.<\/li>\n<li>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.<\/li>\n<li>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.<\/li>\n<\/ul>\n\n<p>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.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to Onlure (https:\/\/onlure.ca), the service you are integrating your store with. Nothing is sent anywhere else.<\/p>\n\n<ul>\n<li><strong>Every page loads https:\/\/onlure.ca\/pixel.js.<\/strong> 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.<\/li>\n<li><strong>When an order is created or updated,<\/strong> WooCommerce sends the order to https:\/\/onlure.ca\/api\/woocommerce\/webhooks\/\u2026 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.<\/li>\n<li><strong>Once a day, and when you open the settings page,<\/strong> the plugin sends its version, your WooCommerce and WordPress versions, and the status of its webhooks to https:\/\/onlure.ca\/api\/woocommerce\/plugin\/heartbeat.<\/li>\n<li><strong>Every 15 minutes, and when a shopper enters an Onlure code your store doesn't have yet,<\/strong> 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.<\/li>\n<li><strong>When the plugin turns a paused webhook back on,<\/strong> 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.<\/li>\n<li><strong>When you connect,<\/strong> 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.<\/li>\n<li><strong>When you disconnect, or uninstall the plugin while it is connected,<\/strong> the plugin sends its connection token to https:\/\/onlure.ca\/api\/woocommerce\/plugin\/disconnect so Onlure closes the connection too.<\/li>\n<\/ul>\n\n<p>Terms of service: https:\/\/onlure.ca\/terms \u2014 Privacy policy: https:\/\/onlure.ca\/privacy<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin and activate it.<\/li>\n<li>Go to WooCommerce \u2192 Onlure.<\/li>\n<li>In Onlure, open Integrations \u2192 Online store, press \"Connect with the Onlure plugin\" on the WooCommerce card, and copy the code.<\/li>\n<li>Paste the code and press Connect.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20track%20all%20my%20visitors%3F\"><h3>Does this track all my visitors?<\/h3><\/dt>\n<dd><p>No. The script does nothing for anyone who did not arrive through an Onlure creator link \u2014 it sets no cookie and makes no request for them.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20the%20block%20checkout%3F\"><h3>Does it work with the block checkout?<\/h3><\/dt>\n<dd><p>Yes. Both the classic and the block checkout are handled.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20high-performance%20order%20storage%3F\"><h3>Does it work with High-Performance Order Storage?<\/h3><\/dt>\n<dd><p>Yes. The plugin declares HPOS compatibility and writes order data through WooCommerce's CRUD layer.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20i%20deactivate%20it%3F\"><h3>What happens if I deactivate it?<\/h3><\/dt>\n<dd><p>Nothing is deleted. The script stops loading and new orders stop carrying the click id, but your webhooks, coupons and orders are left alone.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20i%20uninstall%20it%3F\"><h3>What happens if I uninstall it?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>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.<\/li>\n<li>The order webhooks are always \"order created\" and \"order updated\", and the plugin turns them back on itself if WooCommerce pauses them.<\/li>\n<li>The script and the order details on the thank-you page now load through WordPress's script functions.<\/li>\n<li>Uninstalling now finishes on PHP 8 even when the plugin was inactive.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Disconnecting on onlure.ca now removes the plugin's order webhooks. Before, they kept sending orders until WooCommerce disabled them.<\/li>\n<li>When Onlure closes the connection, the plugin removes its webhooks and shows itself as disconnected.<\/li>\n<li>Tested with WordPress 7.1 and WooCommerce 11.2.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>The connect steps name Onlure's Integrations page, where the WooCommerce card now lives.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Credit orders from creators' Onlure links and coupon codes to the right creator, server-side, refunds included.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/411862","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=411862"}],"author":[{"embeddable":true,"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/onlure"}],"wp:attachment":[{"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=411862"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=411862"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=411862"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=411862"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=411862"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/af.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=411862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}