How to track referrals from a shared link to a paid order
Reliable referral tracking connects four records: the referrer, the click, the customer or account, and the qualifying conversion. Each record answers a different question. Linking them explicitly makes it possible to explain a reward, recover from event retries, and investigate a missing referral without guessing from aggregate traffic.
1. Give the referrer a stable identity and a link
Create a partner or advocate record and issue a dedicated share link. Keep personal details out of the public URL; use an opaque identifier or a managed slug. If a person shares in several places, issue separate placement links under the same identity. This lets you compare placements while keeping rewards attached to one referrer.
2. Carry referral context into the customer account
After the click, preserve the tracking session through the destination journey. If someone signs up before purchasing, associate the session with their account on your backend. Define an attribution window and a policy for a second referrer. Retain only the information needed for that purpose, following your consent and retention requirements.
3. Report the qualifying event from a trusted source
Use a confirmed payment or other agreed outcome as the qualifying event. Include an order or event reference, value, currency, and the retained attribution context using the platform's documented API fields. A stable reference lets retries identify the same event. Keep credentials on your backend and verify payment values against the source system.
4. Test a complete journey and an incomplete one
For a worked journey, advocate A shares a link, customer B signs up, and order C is paid three days later. Confirm that C resolves to A and creates one pending reward. Replay the event, test an expired session, and complete an order without a referral. Each outcome should be explainable, including the legitimate unattributed order.
Implementation checklist
- Referrer, link, session, account, and order can be connected
- Attribution window and competing-referrer policy are documented
- Delayed purchases retain referral context
- Event retries do not create extra payable rewards
- Unattributed and expired referrals have explicit outcomes
- Refund and reward approval are tested separately
FAQ
Can I track referrals with a spreadsheet?
A spreadsheet can reconcile a small program, but someone still needs to capture referral identity and order evidence. Manual entry becomes difficult when customers return later, events retry, or several referrers claim one order.
Why is the browser referrer not enough?
It may identify the previous website, but it does not reliably identify the advocate or remain attached to a later payment. A referral program needs a persistent relationship between the referrer and the qualifying event.
What if referral context is missing?
Keep the conversion unattributed and investigate the broken handoff. Use a documented manual review policy if there is independent evidence; avoid silently assigning a partner from an unrelated campaign tag.
Related guides and tools
- Referral Program Launch Checklist
Launch a referral program with a practical checklist for eligibility, sharing, conversion tracking, reward approval, support, and a measured pilot.
- SaaS Referral Programs
Plan SaaS referral tracking from signup to paid activation. Define account ownership, qualifying invoices, rewards, and billing integration requirements.
- Ecommerce Referral Programs
Design ecommerce referral tracking around new customers, paid orders, returns, and reward costs. Plan the checkout integration and approval workflow.
- Referral Links vs Codes
Choose referral links, manually entered codes, or both. Learn how to resolve conflicts, preserve referral identity, and test checkout and offline journeys.