Cookie-Based vs Server-Side Referral Tracking: Why the Stated Window Is Not the Real Window
Does a 90-day cookie window mean the browser keeps your referral cookie for 90 days? No, and the gap between those two ideas is where unpaid referrals live. The window is a rule the program sets: how long after a click a purchase still earns commission. The lifetime is a storage fact: how long the identifier that proves the click survives in the visitor’s browser. A sale is credited only when both hold at the moment of purchase. Program pages advertise the first number. Browsers control the second.
Two numbers, one sale
Post Affiliate Pro’s tracking method reference, checked in November 2026, describes the standard mechanism. When a visitor clicks an affiliate link, the tracking system stores a cookie in the visitor’s browser holding the affiliate ID, a timestamp, and often a campaign or sub-ID reference. If the visitor buys before the cookie expires, the system reads the cookie and attributes the sale. Programs set that duration anywhere from 24 hours to 90 days, which is the range the terms pages quote. GoHighLevel’s affiliate policy, in this site’s directory, awards commissions on a last-click basis within a 90-day window and decides attribution from available tracking data. Available is the operative word. The rule promises 90 days of eligibility. It says nothing about 90 days of storage.
The mechanisms that carry a referral
A tracking method is the process that connects a referral to a recorded action and assigns credit under the program’s attribution rules. Four methods do most of the work, and the reference notes that most mature programs use at least two in combination.
| Method | Relies on | Immune to cookie blocking | Works across devices | Complexity |
|---|---|---|---|---|
| Cookie-based | Browser cookie storage | No | No | Low |
| Pixel | A page-load event in the browser | No | No | Low to medium |
| Server-to-server postback | A server-to-server HTTP call | Yes | Yes, with an identity match | High |
| Coupon or promo code | Code entry at checkout | Yes | Yes | Low |
Pixel tracking places a small invisible image or JavaScript snippet on the confirmation page; when that page loads, it fires the conversion data back to the platform. Its weakness is the same browser dependence as the cookie: ad blockers, privacy browsers, and script blockers can stop it firing, a tab closed before the page loads loses the conversion, and offline or in-app purchases are out of reach without extra infrastructure. Server-to-server tracking, also called postback tracking, removes the browser from the confirmation step. The click ID is captured at the click and stored in the advertiser’s database alongside the visitor’s session. At purchase, the advertiser’s backend sends a direct HTTP request to the platform’s server carrying the affiliate ID, click ID, order value, and transaction reference. No cookie is needed and no pixel needs to fire. The cost is real integration work: developer resources, thorough testing, and a recovery path, because a failed postback can miss the event unless retries or reconciliation catch it.
What the browser does to the cookie
The primary source here is WebKit, the engine behind Safari. Its Intelligent Tracking Prevention 2.1 post states the rule plainly: all persistent client-side cookies, meaning persistent cookies created through document.cookie, are capped to a seven day expiry. The cap covers cookies created in first-party contexts as well as in third-party iframes. Session cookies are not affected. A cookie set with a shorter expiry keeps its shorter expiry. Cookies set in HTTP responses sit in a separate category in the post’s framing, which is why it gives server-set, Secure and HttpOnly cookies as the pattern authentication uses.
Now do the arithmetic on the two sourced numbers. A program states a 90-day window. A tracking cookie written by a script in Safari can live 7 days. If that cookie is the only record of the click, as much as 83 of the 90 stated days depend on storage the browser cap does not preserve. That is not an argument that every program loses those sales. Programs that record the click on their own server at signup, or confirm conversions by postback, are not relying on the capped cookie. It is an argument for asking which design a program uses before treating its stated window as your window. GoHighLevel’s policy shows how programs allocate the risk when the answer is unfavourable: it states the program is not responsible for tracking failures caused by improperly formatted links, users clearing cookies, private browsing, or anything else that prevents the affiliate link from working correctly.
Verify the method before you promote the program
Post Affiliate Pro’s reference closes with checks publishers should run before joining a program. Turned into a procedure, they take about fifteen minutes per program:
- Ask what carries the attribution. Cookies alone, or a server-side method with a cookie fallback? The answer decides how much of the stated window is storage-backed.
- Fit the window to the purchase cycle. A short window on a product people research for weeks loses sales no method can recover. Compare the stated window against how long your audience actually takes to buy.
- Check the attribution model. Last-click is the default in most platforms, and it favours coupon sites, the last stop before checkout, over content that introduced the customer. Know which side of that rule your content sits on.
- Check cross-device coverage. If your audience reads on mobile and buys on desktop, a cookie-only program cannot connect those sessions. Server-side tracking with a user identity match can.
- Read the tracking limitations clause in the terms. It states, in the program’s own words, which failures are your loss. Cleared cookies and private browsing are the clauses to look for.
- Run a click test. Click your own link in a private window and confirm you land on the intended page with the referral parameter intact. Do not buy through your own link to test the rest; read the dashboard’s click record instead.
What success looks like: for each program you promote, you can name the method that carries your attribution, the stated window, and the clause that governs tracking failures, and your click test produced a recorded click on the right landing page.
When the code beats the link
One method in the table needs no browser cooperation at all. Coupon tracking assigns a unique code to each publisher, and entry of that code at checkout attributes the sale regardless of whether a cookie exists, a pixel fired, or a click was recorded. It works when the customer switches devices, and when the promotion was spoken rather than clicked, which is why it is the dominant pattern for podcast and influencer promotion. Its failure modes are human instead of technical: it pays nothing when the customer forgets or skips the code, and codes leak to aggregator sites, where they credit the publisher for sales their content never influenced. For spoken, printed, and video promotion, a code is not a fallback. It is the only mechanism in the table whose attribution survives the channel.
Important: no income guarantees
This article is general information, not financial or tax advice. Referral and affiliate rewards are never guaranteed income, and no tracking method can promise that a referral will be recorded or credited. Browser behaviour and program terms described here were checked against the named sources in November 2026 and can change with browser and platform updates; confirm current terms on the official program page. Report any income you do receive as your local tax rules require.
, Dex Carter, Tech Writer