Preferences

Privacy is important to us, so you have the option of disabling certain types of storage that may not be necessary for the basic functioning of the website. Blocking categories may impact your experience on the website. More information (Cookie Policy)

Accept all cookies

Affiliate Links: How They Work, Disclosure Rules and SEO Best Practices

What affiliate links are, how tracking and attribution work, the disclosure rules to follow, and how to use rel="sponsored" so affiliate content stays SEO safe.

Published on:
17/10/2026
-
Updated on:
17/10/2026
Cover of the Sorank guide to affiliate links, with a tracked link, a disclosure label and a sponsored attribute in the page code

Tools

Thibault Besson-Magdelain, founder of Sorank

About Author

Thibault Besson-Magdelain

Founder of Sorank, 7+ years of experience in SEO, GEO enthusiast.
On this page

In short

an affiliate link is a URL containing a unique identifier that tells a merchant you sent the visitor, so you earn a commission if that visitor buys or signs up. To use them safely, disclose the relationship clearly near the link, mark the links with rel="sponsored" (or nofollow) as Google requests, and make sure the page adds real value beyond the link: tests, comparisons, opinions and facts. Pages built only to push affiliate links rarely rank and can be treated as spam.

Want to go further? Ask

Affiliate links are the basic unit of affiliate marketing. A blogger, a YouTuber or a comparison site recommends a product, and the merchant pays a share of the sale through its affiliate program. The mechanism is simple; the rules around it (consumer protection law and search engine guidelines) are where most mistakes happen.

  1. You join a program directly with a brand or through an affiliate network, and you receive a personal tracking ID.
  2. You generate a link that contains this ID, often as a parameter (for example ?ref=yourname) or through a redirect domain run by the network.
  3. A visitor clicks: the merchant or network records the click and usually stores a cookie or a click ID in the browser.
  4. The visitor buys within the attribution window (from 24 hours to several months depending on the program).
  5. The sale is attributed to you, most often on the last click, then validated after the return period and paid once you reach the payout threshold.

Tracking is becoming more server based: many programs combine cookies with server-to-server postbacks, so commissions survive browser restrictions better. If a visitor clicks links from two different affiliates, the program's attribution rule decides who is paid, which is why reading the terms matters before you invest in content.

FormExampleNotes
Parameter on the merchant URLbrand.com/product?ref=abc123Transparent, easy to recognize
Network redirectnetwork-domain.com/click?id=...Common with large networks
Shortened or branded linkyoursite.com/go/productCleaner, easy to update in one place
Coupon codeCODE10 at checkoutWorks without a click, useful in video and podcasts

Redirect links on your own domain (often under /go/ or /recommends/) let you change the destination once for every article. Block them from crawling in robots.txt or keep the sponsored attribute on every link pointing to them.

Yes. In the United States, the FTC requires a clear and conspicuous disclosure of any material connection with a brand, including commissions; its Endorsement Guides FAQ covers affiliate links explicitly. In the European Union, consumer protection rules also require commercial content to be identifiable, and many countries add their own rules on advertising and influencer marketing. Good practice everywhere:

  • Place the disclosure before or right next to the first link, not only in a footer.
  • Use plain words: "This article contains affiliate links; we earn a commission if you buy, at no extra cost to you."
  • Repeat it in videos (spoken and on screen) and in social posts, not only in the description.
  • Never claim to have tested a product you have not used.

Google asks site owners to qualify links that involve payment or compensation. According to its documentation on qualifying outbound links, affiliate links should carry rel="sponsored"; rel="nofollow" is also accepted.

AttributeWhen to use itEffect
rel="sponsored"Affiliate links, paid placements, sponsored contentTells Google the link is commercial
rel="nofollow"Links you do not want to endorse, or as an accepted alternativeHint not to pass ranking signals
rel="ugc"Links in comments and forum posts by usersMarks user generated links
No attributeEditorial links you choose freely, without paymentNormal link that can pass signals

Unmarked paid links can be treated as link spam. For the vocabulary, see our glossary entries on the link, the anchor text and the backlink.

Can an affiliate site rank on Google?

Yes, if it adds value. Google's spam policies describe thin affiliation: pages that copy product descriptions or reviews from the merchant without original content. Affiliate pages that rank tend to share these traits:

  • First-hand testing, with photos, measurements or screenshots.
  • Clear criteria and a comparison table across several options.
  • Honest limits and cases where a product is not the right choice.
  • Up to date prices and specifications, with the date of the last check.
  • An identified author with real experience in the topic.

The same qualities help AI assistants such as ChatGPT, Gemini or Perplexity cite your page when users ask which product to buy: direct answers, precise facts and comparisons are easy to extract.

Where should you place affiliate links in an article?

Placement changes clicks more than the number of links. Readers click when the link answers a decision they are about to make:

  • In a summary box at the top, with the recommended option and one line on why, for readers who want the answer fast.
  • In the comparison table, one link per product, next to the criteria that matter.
  • At the end of each product section, after the strengths and limits, when the reader has enough information to choose.
  • In the conclusion, repeating the best choice for each type of reader.

Use descriptive anchors such as "see current price" or "read the plan details" rather than vague ones, avoid linking the same product ten times, and never place links where they look like navigation or download buttons: misleading placements hurt trust and may break program rules.

  • Centralize links with a redirect or link management plugin so one change updates every page.
  • Check for broken links and ended programs every month.
  • Track clicks and conversions by page to see which content earns.
  • Use the program's tools: deep links, product feeds, coupons.
  • Keep a list of every program, its terms, cookie length and payout rules.

If you plan to run your own program as a merchant, our comparison of affiliate software covers the tracking tools.

What mistakes should you avoid?

  • Hiding the disclosure at the bottom of the page.
  • Leaving affiliate links without rel="sponsored" or nofollow.
  • Publishing pages that only repeat the merchant's description.
  • Recommending products only for their commission rate.
  • Breaking program rules, such as using links in paid search ads or emails when forbidden.

Affiliate links work over time when they sit inside genuinely useful content, are clearly disclosed and are tagged rel="sponsored". To choose which programs to join, read our guide to the best affiliate marketing programs; if your audience works in marketing or SEO, the Sorank affiliate program is one of them.

Frequently asked questions

Do affiliate links hurt SEO?

Not when they are used correctly. Affiliate links tagged with rel="sponsored" or nofollow inside helpful content do not harm rankings. Problems come from unmarked paid links, which can be treated as link spam, and from thin pages that add nothing beyond the merchant's own description.

How long does an affiliate cookie last?

It depends on the program. Some retail programs use windows of about 24 hours, while many software programs offer 30, 60, 90 days or more. The terms of each program state the exact duration and the attribution rule, usually last click.

Can I put affiliate links on social media?

Yes on most platforms, as long as you disclose the relationship clearly and follow the program's rules. Use the platform's paid partnership labels where they exist, and add the disclosure in the post itself, not only in a link in the bio. Some programs forbid certain channels, so check the terms first.

Our Blog for Ambitious Company

Our free SEO tools

See all our free tools

THEY TRIED SORANK BEFORE YOU

Testimonials from ambitious founders

Organic growthE-commerce

0 to 10000 visitors in 5 months

Celio Fabianomonrobotlavevitre.fr
Organic growthSoftware

0 to 5000 clients in 8 months

Thibault BMsorank.com
Organic growthLeisure and aviation

0 to 1104 clicks in 4 months

Dominiqueflight-sensations-idf.com
Organic growthMusic software

x30 clicks in 4 months

Valentin Cordiertiger-sounds.com
Organic growthHealth and wellness

x30 clicks in 4 months

Rodrigue Bretonalthevia.com