Affiliate

What Is a Referral Link? How the Code Gets You Credit

What is a referral link? A normal URL carrying your code. Here is what each part does, how the code is stored between click and sign-up, how links differ from codes, and the seven reasons a click never turns into credit.

PE·11 min read·
Bar chart comparing a 24-hour Safari cookie cap, a 7-day storage limit and a 30-day referral window

Key takeaways

  • A referral link is a normal URL with a code that tells the site who sent the visitor.
  • The code only pays if it survives in the same browser from the click until the new account is created.
  • In-app browsers, switching devices and cleared cookies cause most lost referral credit, not broken programs.
  • Safari may limit a JavaScript cookie set from a decorated link to 24 hours, whatever window the program promises.
  • Credit is usually fixed at registration, so check the link before your friend signs up, not after.

What is a referral link? It is an ordinary web address with one extra piece attached: a code that tells the site who sent the visitor. When someone opens it, the site reads that code, stores it in the browser for a while, and links the new account to the sender if the person registers before the stored code disappears. That last condition is where most missing referral credit is lost, and almost none of the pages that explain referral links talk about it.

This guide is written for the person sharing the link, not the business running the program. It covers what each part of a referral link does, how the code travels from a click to an account, how link and code differ, and the specific places a click stops counting.

The first three numbers come from our own scrape and reading of the US results page on 29 November 2026. The fourth is from WebKit's published tracking prevention policy. The pages that rank explain how to build a referral program; the one consumer page we found was a short 2024 explainer that never says how a referral is tracked.

A referral link has four parts. Take the format a survey panel's affiliate terms give for its members, pollstandard.com/?ref=[your code], and fill in a code:

PartExampleWhat it does
Domainpollstandard.comThe site the visitor lands on
Path/The page they land on; some programs use a dedicated /invite/ or /r/ page
Parameter namerefThe label the site looks for; others use referral, invite, r or a code in the path
Codeanna2026Your identifier; the site maps it to your account

Some links add more after the code, usually UTM parameters such as utm_source=newsletter. Those describe the channel for the company's analytics. They do not decide who gets credit; the referral parameter does. Some programs also give you a custom address, such as a subdomain with your name, which does the same job without a visible parameter.

The code is the only part that is yours. Change it in your account and, under many programs' rules, the old one simply stops working, so every place you posted it now sends visitors without credit.

Every program implements this a little differently, but the chain has the same five links:

  1. Click. Your friend opens the URL. Nothing about them is recorded yet except that a page with your code was requested.
  2. Read. The landing page reads the code from the address. If the code is missing because it was cut off, the chain ends here.
  3. Store. The site saves the code in the browser, in a cookie, local storage or the current session. Which one it uses decides how long the code survives.
  4. Register. Your friend creates an account. The site checks the stored code, confirms the account is new and is not you, and writes your ID onto the new account.
  5. Credit. From then on the program pays you whatever it promises: a one-time bonus after a qualifying action, or a share of what the referred person earns.
Five-step flow of a referral link from click to credit, with the four points where the stored code is commonly lost
How a referral link turns a click into credit, and where it breaks

Steps 1 and 2 almost never fail. Steps 3 and 4 fail constantly, because they depend on the friend registering in the same browser, before the stored code expires, without anything in between wiping it.

The words are often used for the same thing, but they travel differently.

Referral linkReferral code
How the code reaches the siteInside the URL, read automaticallyTyped by the new user into a sign-up field
What it depends onThe same browser keeping the stored code until sign-upThe new user remembering and typing it correctly
Survives switching devicesUsually notYes, if there is a field to type it into
Survives in-app browsersOften notYes
Typical failureCode lost between click and sign-upCode never entered, or entered with a typo

When a program offers both, the code is the backup for everything that can go wrong with the link. When it offers only a link, as many survey panels do, the only fix for a lost click is to open the link again in the browser where the person will actually register.

Attribution windows: how long a click counts

The attribution window is the time between the click and the sign-up during which the program still credits you. Programs choose very different windows:

  • One browser session. The strictest common rule. Under the terms quoted above, a person is linked to a referrer "only if they register in the same browser session in which they opened your link", had no account before and are not the referrer. Close the browser, come back tomorrow, and the click no longer counts.
  • A fixed number of days. Many referral platforms store the code in a cookie for a set period; 30 days is a common suggestion in program-design guides.
  • Until someone else's link. Programs also differ on conflicts. With first-click rules the first stored code wins and later links do not overwrite it. With last-click rules the most recent link takes the credit, so a friend who clicks your link and then a stranger's link becomes the stranger's referral.

Browser privacy settings can shorten whatever the program intends. WebKit, the engine behind Safari and most browsers on iPhone, says that when it detects cross-site tracking through link decoration it "caps the expiry of cookies created in JavaScript on the landing webpage to 24 hours", and that it deletes all script-writable storage after 7 days without user interaction with the site. A 30-day program window does not help much if the browser cleared the code on day two.

Most programs also say credit is fixed at registration. If a friend signed up without your code, support usually cannot add it afterwards, so the time to check is before they register, not after.

Most "my referral did not count" cases trace back to one of these seven breaks. None of them is fraud, and most are invisible to both people.

Links tapped in Instagram, TikTok, Facebook, Telegram and many other apps open in that app's built-in browser. It keeps its own storage, separate from Safari or Chrome. If your friend reads the page there, then taps "Open in browser" or types the address into their normal browser later, the stored code stays behind in the app.

2. Your friend switched devices

They tapped the link on their phone during lunch and signed up on a laptop that evening. Each device has its own browser storage, so the laptop never saw your code. Links cannot follow a person across devices unless the program uses a code field or a logged-in identity.

A private or incognito window discards its storage when it closes. Cookie-cleaning extensions and "clear history" do the same. On sites with a cookie banner, whether the referral code counts as necessary or optional depends on the site, and a strict blocker may stop it from being stored at all.

4. Shorteners and redirect chains

Some link shorteners, social-media wrappers and email click-tracking services rewrite URLs. Most pass the parameter through, but a chain of redirects is one more place for it to be dropped. Many programs also forbid them outright: the same affiliate terms ban "redirects, iframes, link cloaking or forced clicks". Share the full link the program gave you.

5. The code was cut off

Copying a link from a screenshot, retyping it by hand, or a messaging app breaking a long URL across lines can leave just pollstandard.com/, which looks fine and credits nobody. Ask the friend to check that the address bar still shows the code when the page loads.

6. The person already had an account

Referral programs pay for new members. Someone who registered years ago, even if they forgot, cannot be referred again, and a second account to fix that breaks the one-account rule that most panels enforce.

Self-referrals, household members on the same devices and accounts created for someone else are excluded by design. Our guide to referral fraud explains which of these checks catch honest people and how to dispute them.

A referral code is public the moment you post it. Anyone who sees it can read whatever it contains, so a code like your full name or email address tells strangers who you are and that you belong to this service. Use a nickname or the code the program generated.

The link itself does not carry personal data about the person who clicks it. What the program learns comes from the sign-up, not from the code. What you learn is usually limited to what your dashboard shows, such as the number of sign-ups and the credit they generate.

Because your code identifies you, think twice before changing it. Old codes often stop working, so update every post, bio and video description at the same time.

Before you share a link widely, run this check once:

  1. Open a private window in your usual browser.
  2. Paste the full link and press Enter.
  3. Look at the address bar after the page loads. The code should still be there, or the page should confirm that someone invited you.
  4. Repeat from inside the app where you plan to post, tapping the link there instead of pasting it.
  5. Do not register a test account. That is a self-referral under almost every program's rules.

When you send the link to a friend, add one sentence: "Open this in your phone's normal browser and sign up straight away." That single instruction removes breaks 1, 2 and 3 above.

On a survey panel the referral link matters for longer than the sign-up. Under Poll Standard's program the referrer earns 10% of the Points a referred member earns on partner studies for as long as that member stays active, while profile questionnaires, screen-out compensation and bonuses are excluded. Referral Points are held for 30 days before they can be redeemed, so partners have time to review the completions they came from.

That makes the moment of registration the only moment attribution can be won. If the code is lost there, every later survey your friend completes earns them their normal reward and earns you nothing. For the payment models behind percentages like this, see how lifetime referral commission works, and for where a link actually reaches people who want to take surveys, see where to post referral links.

People also ask

Where do you put in the referral code?

If you were given a code instead of a link, it goes into a "Referral code" or "Invite code" field on the sign-up form, before the account is created. Many sites show that field only on the first registration screen. If there is no field, the program works through links only, and the person has to open the link before signing up.

How does someone use your referral code?

They either open your link and register in the same browser, or type your code into the sign-up form if the site has a field for it. Either way, they must be a new user and complete registration within the program's attribution window. Afterwards they use the service normally; nothing changes for them.

What do you mean by referral code?

A referral code is the short identifier that ties a new user to the person who invited them. It can be typed in by hand or carried inside a referral link. The program stores it on the new account at registration, and that record decides who earns any bonus or commission.

Bottom line

A referral link is a URL that carries your code, and it only pays when that code survives from the click to the sign-up in one browser. Most lost referrals are an app's built-in browser, a second device or a cleared cookie, not a broken program. Test your link once, tell friends to sign up straight away in their normal browser, and keep a code you will not need to change.

If you want to see how this works on a survey panel, the FAQ explains Points and payouts, and sign-up is free.

PE
PollStandard EditorialEditorial teamThe PollStandard editorial team writes about paid surveys, payouts and how online panels actually work.All posts by PollStandard →
Start with the first rewarded questionnaire.Free to join. Reward and length shown before every study.
Create a free account