Webflow influencer tracking
See which influencers actually sell on your Webflow 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 Webflow?#
Webflow Ecommerce lets you set up a discount for each influencer under Ecommerce → Discounts, and orders record the discount applied. That tells you about shoppers who used a code — not about the ones who arrived through an influencer's link and paid full price, and not whether an influencer covered their fee.
Teams on Webflow usually add UTM links and read them in Google Analytics, or connect an influencer platform through a third-party integration. UTM links count visits from a source rather than orders from a person, and most influencer platforms are built for recruiting and paying creators rather than for measuring them.
Yonto uses Webflow's custom code: the pixel in the site-wide head remembers which influencer's link a shopper came through, and a script on the Order Confirmation page reports the order Webflow renders there. Each sale is credited to that influencer, with their sales set against their fee — creator attribution. On Webflow a shopper who only types the code is not counted, and the order page must expose a stable order id for a sale to be accepted.
How it works on Webflow#
Yonto credits each sale to the individual influencer who drove it — creator attribution. On Webflow, it reaches us one way, and the browser pixel does most of the work:
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 Order Confirmation page.
- 1Add the pixelSite settings → Custom code → Head code. Publish after saving — custom code does not apply to the designer preview.html
<script async src="https://yontosales.com/p.js" data-proof="YOUR_TRACKING_CODE"></script> - 2Fire the conversionPage settings for the Order Confirmation page → Before </body>. Webflow renders the order into the page, so bind to its own elements.html
<script> document.addEventListener('DOMContentLoaded', function () { var total = document.querySelector('[data-wf-sku-bindable="total"], .w-commerce-commerceorderconfirmationsummary'); var id = document.querySelector('[data-wf-bindable="orderId"]'); if (!total) return; proof('conversion', { value: parseFloat(total.textContent.replace(/[^0-9.]/g, '')), id: id ? id.textContent.trim() : undefined }); }); </script> - 3Create a matching discountEcommerce → Discounts, named exactly as your campaign's code.
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 Webflow.
- 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.
- 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 — Webflow 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#
- Webflow does not expose a stable order id in every template. If you cannot supply one, the conversion is rejected on a sale campaign — see the order id rule in the Conversion endpoint reference.
Making it more accurate#
- Ask the influencer to share the link, not just the code. On Webflow a sale is credited through the link, so a shopper who only types the code is not counted.
- Report refunds. Webflow 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.