Guide · 9 min read · Updated November 22, 2026

What is an affiliate link, and how does it work?

An affiliate link is a tracked URL that credits you when someone buys. Here's how the tracking works, what the codes in the URL mean, how cookies and attribution decide who gets paid, and how to share links properly.

Frequently asked questions

What is an affiliate link?

A normal link to a product with a tracking code that identifies you. When someone clicks it and buys within the cookie window, the company credits the sale to you and pays a commission.

How do I get an affiliate link?

Join the company's affiliate program, either on its own site or through a network like PartnerStack or Impact. Once approved, your dashboard gives you a personal link.

Do affiliate links cost the buyer more?

No. The price is the same; the commission comes out of the company's marketing budget. Some programs even give your audience a discount.

Are affiliate links safe to click?

Links from legitimate programs simply redirect to the company's site with a tracking code. They don't install anything.

Keep reading