Wix influencer tracking

See which influencers actually sell on your Wix store: a tracked link for each one, and the orders that follow it credited to the person who sent the shopper.

How do I track influencer sales on Wix?#

Wix Stores lets you create a coupon for each influencer under Marketing & SEO → Coupons, and each order records the coupon it used. That tells you a code was redeemed. It does not tell you about the shopper who came from an influencer's link and paid without one, and it does not put an influencer's sales next to their fee.

Most Wix sellers then reach for an affiliate app from the Wix App Market, or UTM links in Google Analytics. Affiliate apps are designed around commission, so influencers sign up as affiliates and log in to see their stats. UTM links measure visits from a platform, not orders from a person.

Yonto adds two pieces of custom code: the pixel on every page, which remembers which influencer's link a shopper arrived through, and a short script on the Thank You page that reports the order. Each sale is credited to that influencer, and their line shows sales against fee — creator attribution, readable at a glance. On Wix a sale is credited through the link: a shopper who types the code without ever clicking is not counted, unless you report orders from a Velo backend function to our server-side API.

Track influencer sales on Wix with Yonto
One tracked link per influencer, and each one's sales set against what you paid them.
Start free

How it works on Wix#

Yonto credits each sale to the individual influencer who drove it — creator attribution. On Wix, it reaches us one way, and the browser pixel does most of the work:

Browser pixel — primary on this platform
A small script on your confirmation page reports the order. Depends on the shopper accepting cookies and not blocking scripts.

Setting it up#

Every campaign has its own tracking code. The snippets below use YOUR_TRACKING_CODE as a placeholder — copy the real ones from the campaign's Setup screen, which fills them in for you.

Conversions are reported from: The Thank You page in Wix Stores.

  1. 1
    Add the pixel
    Settings → Custom Code → Add Custom Code. Paste this, set it to load on All Pages, and place it in the Head.
    html
    <script async src="https://yontosales.com/p.js" data-proof="YOUR_TRACKING_CODE"></script>
  2. 2
    Fire the conversion
    Add a second custom-code block scoped to the Thank You page only. Wix exposes the order through its Velo APIs; if you are not using Velo, the snippet below reads the order total that Wix renders on the page — check the selector against your own theme.
    html
    <script>
      // Thank You page only.
      // Replace the two lookups with your own if your template differs.
      document.addEventListener('DOMContentLoaded', function () {
        var total = document.querySelector('[data-hook="order-total"]');
        var id    = document.querySelector('[data-hook="order-number"]');
        if (!total || !id) return;
        proof('conversion', {
          value: parseFloat(total.textContent.replace(/[^0-9.]/g, '')),
          id: id.textContent.trim()
        });
      });
    </script>
  3. 3
    Create a matching coupon
    Marketing & SEO → Coupons, named exactly as your campaign's code.
Warning.on a sale campaign, value and id are both required. The order id is what makes a retry or a refreshed confirmation page idempotent instead of a second sale. A call missing either is rejected — see the Conversion endpoint reference.

What this can and cannot see#

Attribution is never complete, on any platform. You are about to pay a creator on the strength of these numbers, so here is exactly what is behind them on Wix.

Counted
  • Orders completed in the same browser that clicked the link, within the business's click window and no more than 30 days after the click, because the pixel keeps the click for 30 days.
Not counted
  • Orders that used the creator's discount code but never followed their link. The script only reports shoppers who arrived through a tracked link.
  • Shoppers who refuse tracking cookies — the click is never linked to the sale.
  • Purchases made after the browser deleted the click cookie. Safari deletes a cookie set by a script after 7 days.
  • Purchases made on a different device from the click.
  • Anyone running an ad blocker that blocks our script.
  • Sales where the shopper cleared their browser data between clicking and buying.
  • Refunds — Wix does not notify Yonto, so a refunded order stays counted.

This is why every figure Yonto reports is described as a confident floor rather than a total. The sales in the right-hand column happened; we simply cannot prove the creator caused them, and we would rather undercount than invent.

Worth knowing#

  • Wix's thank-you page markup changes between templates, so the selectors above are a starting point and must be checked against your own site.
  • This is the least robust of the platforms here, because Wix gives no server-side hook we can subscribe to. If accuracy matters, use the server-side API from a Velo backend function.

Making it more accurate#

  • Ask the influencer to share the link, not just the code. On Wix a sale is credited through the link, so a shopper who only types the code is not counted.
  • Report refunds. Wix does not tell us when you refund an order. A refunded sale stays counted until your server reports the refund through the server API, naming the order id the sale was sent with.