Track visitors and sales from a link (referral links)

Updated December 5, 2026 in Your website and marketing

Give a partner, an ad or a social media post its own link to your store, and see the people and orders each link brings in.

You can give a partner, an ad or a social media post its own link to your store. Your store counts the people who come in from that link and the orders they place, so you can see what each link brings in.

Add ?utm_source= and a name to the end of any link to your store. Use one short name per link, in lower case letters and numbers with no spaces. For example:

  • Your home page for Instagram: https://www.yourstore.com/?utm_source=instagram
  • A product page for a partner named John: https://www.yourstore.com/product/example?utm_source=john

If the link already has a ? in it, add &utm_source= and the name instead.

How a visit and an order are credited

  • The first tracking link a person arrives from is kept on their browser for 30 days. If they come back on their own and buy within those 30 days, the order is still credited to that link.
  • If they came in from another tracking link first, the first one keeps the credit.
  • A click from one of your store's own marketing emails takes the credit for the 14 days after the click.
  • Search engine robots and other automated visitors are left out, so the counts are people only.

See the visitors and sales

  1. Open Live Analytics (left menu, under Reports).
  2. Pick the period at the top, then find the table Paid / Feed Traffic Sources.

Each tracking name has its own row: the people who came in from it in the period you picked and All Time, then Orders, Revenue and Conv. Rate (orders for every 100 people), counted over all time. A name appears in the table after the first person comes in from its link.

Each order credited to a link also shows Referral: and the name on its order page.

To track sales by a code the customer types at checkout instead, see See the orders and sales from a promo code.

Still stuck? Email support@2adata.com and tell us which article you were reading.

Comments

No comments yet. Questions and tips from other store owners are welcome.

Leave a comment

Your first comment is reviewed before it appears. We email you a link to confirm it is you; your address is never shown or shared.