BigCommerce influencer tracking
See which influencers actually sell on your BigCommerce store: a tracked link for each one, and the orders that follow it credited to the person who sent them.
How do I track influencer sales on BigCommerce?#
BigCommerce gives each coupon code its own usage count under Marketing → Coupon Codes, so one code per influencer shows how often each was redeemed. What it leaves out is the shopper who followed an influencer's link and never typed the code — and any comparison between what an influencer sold and what they cost you.
The common add-ons are an affiliate app from the BigCommerce App Marketplace, or UTM links in Google Analytics. Affiliate apps run commission programmes with their own influencer accounts. UTM links attribute traffic to a channel rather than to a person.
Yonto installs through Script Manager: the pixel on all pages remembers which influencer's link a shopper came through, and a second script on the order confirmation page reports the order. Each sale is credited to that influencer, and their line shows sales against fee — creator attribution. BigCommerce also has a webhooks API, so if you run a small backend you can report every order from your server instead, which also credits shoppers who only typed an influencer's coupon.
How it works on BigCommerce#
Yonto credits each sale to the individual influencer who drove it — creator attribution. On BigCommerce, there are two ways it reaches us, 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 pixelStorefront → Script Manager → Create a Script. Location: Head, Pages: All pages, Script type: Script.html
<script async src="https://yontosales.com/p.js" data-proof="YOUR_TRACKING_CODE"></script> - 2Fire the conversionA second script, scoped to Checkout/Order confirmation. BigCommerce templates expose the order through its Stencil object.html
<script> (function () { var o = window.BCData && window.BCData.order; if (!o) return; proof('conversion', { value: o.total_inc_tax, id: String(o.id), currency: o.currency && o.currency.code }); })(); </script> - 3Create a matching couponMarketing → Coupon Codes, 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 BigCommerce.
- 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 — BigCommerce 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#
- BigCommerce has a proper webhooks API. If you can run a small backend, subscribing to store/order/statusUpdated and calling our server-side API is more reliable than the browser.
Making it more accurate#
- Ask the influencer to share the link, not just the code. On BigCommerce a sale is credited through the link, so a shopper who only types the code is not counted.
- Report from your backend instead of the browser. The server-side API sees orders that no browser-based method can.
- Report refunds. BigCommerce 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.