Affiliate link tracking for influencers: clicks, sales, and commissions
Every influencer gets a unique tracking link. Every click is logged. Every purchase that followed that click is attributed back to that influencer. You see who drives revenue, not just views — and you pay commission only on sales, not reach. Here's the exact setup.
1. Create one tracking link per influencer
In Tradly Attribution, each influencer is a 'partner'. Create a partner record with their name, email, and commission rate. Then create a tracking link for them with a custom slug (e.g. /track/sarah-jones). The link records every click with timestamp, user agent, UTM params, and device type before redirecting to your product page.
// Create partner
POST /api/vendors/:vendorId/partners
{ "name": "Sarah Jones", "email": "sarah@creator.com", "commissionRate": 12, "status": "active" }
// Create tracking link for that partner
POST /api/partners/:partnerId/links
{ "destinationUrl": "https://yoursite.com/product", "slug": "sarah-jones", "appPlatform": "web" }2. What the tracking link captures
Every click on /track/sarah-jones is logged: timestamp, IP country, user agent (mobile/desktop), referrer (Instagram, TikTok, YouTube), UTM source/medium/campaign if appended. A sessionId cookie is set. When the visitor purchases within your attribution window (default 30 days), the sale is attributed to Sarah's link and commission is calculated automatically.
3. QR codes for offline and Stories promotions
Instagram Stories links expire and can't be deep-linked by all followers. QR codes work in video, printed merch, and live events. Tradly Attribution generates a QR code for every tracking link at /track/:slug?source=qr. QR scans are tracked separately from regular clicks so you can measure offline vs online conversion rates per influencer.
// QR code endpoint — returns PNG
GET https://yourdomain.com/track/sarah-jones?source=qr
// Clicks via QR vs direct link appear separately in stats
// dashboard shows: clicks: 240, qr_scans: 85, conversions: 184. Pay influencers automatically on conversion
Connect Wise to Tradly Attribution. Each partner stores their bank details (IBAN or local bank). When a conversion is approved, commission is calculated at their rate. You batch-approve payouts monthly and Wise transfers automatically. No spreadsheet, no manual wire, no PayPal fees. Wise charges 0.4-1.5% per transfer — the only fee you pay.
Implementation checklist
- One partner record per influencer with their commission rate
- One tracking link per influencer with a memorable slug
- QR code downloaded for each influencer's offline use
- Conversion key added to checkout — fires with sessionId on purchase
- Wise connected for automated commission payouts
- Monthly report: conversions and revenue per influencer link
FAQ
Can an influencer have multiple links for different campaigns?
Yes. One partner can have unlimited tracking links. Create one per campaign, product, or platform. Each slug tracks independently so you see which campaign drove which sales.
What if the influencer shares the same link across Instagram, TikTok, and YouTube?
Append utm_medium=instagram, utm_medium=tiktok etc when you give them the link. The UTM params are logged with each click so you can break down performance by platform even though it's the same tracking link slug.
How does attribution work if the visitor doesn't buy immediately?
The sessionId cookie persists for your attribution window (default 30 days, configurable). If the visitor returns directly and purchases within 30 days, the sale is still attributed to the influencer's last click.
What's the difference between this and just using a UTM link?
UTM links only appear in analytics as traffic source — you can't tie them to specific purchases without joining analytics data to your order database. Tradly's tracking link sets a sessionId that fires on conversion, giving you a direct click -> purchase -> commission chain with no SQL join required.
Related guides and tools
- How to Track Referrals
Follow a referral from a shared link to signup, paid order, and reward approval. Includes a worked journey, data checklist, and tracking test cases.
- Affiliate Click Conversion Tracking
Learn how to connect affiliate links, partner clicks, sessions, conversions, and commissions in one reliable attribution workflow.
- QR Code Affiliate Tracking
Measure QR code scans, sessions, conversions, and affiliate commissions from posters, packaging, events, and printed promotions.
- Referral Tracking Software
Connect referral links to signups, purchases, and partner commissions. Explore the tracking workflow, reporting requirements, and a platform evaluation checklist.