About this plugin
Advert Affiliate Tracking connects your WooCommerce store to Advert , an influencer and affiliate marketing platform. It answers one question reliably: which creator drove this sale? What it does Link attribution. A creator’s tracked link carries an adref code. The plugin records it against the customer’s session and pins it onto the order at checkout, so attribution survives an offsite payment gateway and a customer who never returns to the thank-you page. Coupon attribution. If no link code is present, the plugin falls back to the first coupon applied to the order. Refund reversal. Add your Refund Secret and a refunded order automatically reverses the creator’s commission — cancelling a pending sale, or clawing back a charge still inside its hold window. Creator coupon sync. Advert generates a unique promo code per creator; the plugin creates the matching WooCommerce coupon and removes it when the campaign ends. Codes that already exist in your store are never taken over. Built for modern WooCommerce Compatible with High-Performance Order Storage (HPOS) and the Cart & Checkout blocks. Conversions are reported at most once per order. An Advert account is required. The plugin is a client for the Advert service and does nothing on its own. You can create an account at useadvert.com . External services This plugin connects to the Advert API at https://api.useadvert.com to attribute sales to creators. It is not optional: attribution is the entire purpose of the plugin, and no data leaves your site until you enter a Webhook Secret on the settings screen. The following requests are made: Store registration — POST https://api.useadvert.com/api/woocommerce/register Sent when you save your settings, and once when the plugin is activated with a secret already configured. Data sent: your Webhook Secret and your site URL. Conversion reporting — POST https://api.useadvert.com/track/conversion or https://api.useadvert.com/track/promo Sent when an order reaches the thank-you page, or transitions to Processing or Completed. Data sent: the order ID, the order total, the affiliate link code or coupon code applied, a timestamp, and your Webhook Secret. No customer name, email address, or shipping address is transmitted. Refund reporting — POST https://api.useadvert.com/track/refund Sent when an order is refunded, and only if you have configured a Refund Secret. Data sent: the order ID and your Refund Secret. Coupon sync — POST https://api.useadvert.com/api/woocommerce/coupons/pull and .../coupons/ack Sent on a recurring schedule (every 5 minutes by default) while a Webhook Secret is configured. Data sent: your Webhook Secret, and the outcome of each coupon job (created, revoked, or failed). Every request includes a user-agent string identifying the plugin version and your site URL. Advert is operated by Advert. Use of the service is governed by its Terms of Service and Privacy Policy . Browser storage. When a visitor arrives via a tracked link, the plugin stores the link code in that visitor’s browser localStorage under the key advert_ref , so the attribution outlives a WooCommerce session that expires first. No cookie is set by this plugin and no personal data is stored in the browser.