Shopify influencer tracking

See which influencers actually sell on your Shopify store: every order checked against each influencer's code and link, with refunds taken off automatically.

How do I track influencer sales on Shopify?#

Shopify already records which discount code each order used, so a code per influencer is the obvious start — the Sales by discount report will show what each one brought in. It stops there. A shopper who follows an influencer's link and checks out without the code is invisible to that report, and nothing in it sets an influencer's sales against what you paid them for the post.

The usual next step is Shopify Collabs or another affiliate app, or UTM links read in Google Analytics. Affiliate apps are built around recruiting influencers and paying them commission, so they bring their own sign-up flow and payout rules. UTM links credit a traffic source such as "tiktok / bio", not the person behind it.

Yonto connects to your store with read-only order access and no theme edits. Every new order is checked against each influencer's code first and their tracked link second, so a sale is credited even when the shopper skipped the code, if it was placed in the 30 days after their click. A sale that used the code is credited whatever the shopper decided about cookies, because the code is part of the order; a sale through the link alone needs the tracking details Shopify withholds from a shopper who declined cookies. Refunds come off automatically. That is creator attribution: each influencer's sales against their fee, on one line.

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

How it works on Shopify#

Yonto credits each sale to the individual influencer who drove it — creator attribution. On Shopify, there are two ways it reaches us, and the platform webhook does most of the work:

Platform webhook — primary on this platform
The store tells us about the order directly, server to server. Nothing depends on the shopper's browser.
Discount code
The shopper types the creator's code at checkout. Credited where the order reaches us with its codes — from Shopify, or from your own server — and then it survives a refused cookie. A browser-only setup cannot see it.

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: Nowhere — Shopify tells us server-side.

  1. 1
    Connect your store
    Enter your myshopify.com domain on the setup screen and approve the install. Shopify lists the app as “Proof”. That is Yonto. It asks for read_orders and nothing else — it cannot edit products, customers or orders.
  2. 2
    Create the discount code
    In Shopify → Discounts, create a code named exactly as shown on your campaign's setup screen. Any type works. It must be a code the customer enters, not an automatic discount.
  3. 3
    Optional: the custom pixel
    Orders reach us through Shopify's order notification with no script and no theme edit. The one optional piece is a custom pixel, pasted in Shopify → Settings → Customer events from the campaign's Setup screen. Where the shopper allowed analytics, it keeps the click id from the visit they came in on, so a purchase on a later visit, within the business's click window, is still credited to the link.

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 Shopify.

Counted
  • Every order's notification, server-side, whatever the shopper's cookie choice or ad blocker.
  • Orders that used the creator's discount code, whatever the shopper's cookie settings.
  • Orders placed within the business's click window after a click on the link (30 days unless it is changed, at most 365), judged on the order's own time in Shopify.
  • Refunds, as reversals — the only platform where this is automatic.
  • The order's own currency, not the campaign's.
Not counted
  • Orders placed before you connected the store.
  • Orders that match neither the discount code nor a recorded click.
  • Orders without the code placed after the click window closed.
  • Draft orders and POS sales, which never fire orders/create the same way.

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#

  • Attribution by discount code is tried before click id, and the first matching campaign wins — so do not reuse one code across campaigns.

Making it more accurate#

  • Ask the influencer to lead with the discount code. On Shopify it is credited even when a shopper refuses cookies, and it converts better anyway.
  • Use one discount code per campaign. Codes are matched before click ids, and a code shared across campaigns resolves to whichever matches first.