Cookie Policy
Last Updated: October 10, 2026
This policy lists the cookies Stock Locker sets, what each one holds, and how long it lasts. It is written from the code rather than from a template, so the names below are the names you will find in your browser.
The short version: cookies keep you signed in, and two more remember whose referral link you followed, and when. Analytics and ad-measurement cookies are set only if you allow them on our cookie banner. We run no analytics that follow you around other websites, and the only advertising cookies are Reddit’s, X’s and Meta’s, which tell us whether an ad on those sites led to a visit.
The cookies we set
better-auth.session_token, better-auth.session_data, better-auth.two_factor, sl_signed_in
- Set by:
- Stock Locker
- What it does:
- Keep you signed in and tell the server which account a request belongs to; two_factor lasts only while you enter a two-step code, and sl_signed_in only tells the page header whether to show your menu. Without these you cannot sign in at all. On the live site the first three carry a __Secure- prefix.
- How long:
- Up to 30 days, refreshed as you browse, and removed when you sign out.
tl_ref, tl_ref_at
- Set by:
- Stock Locker, when you follow a referral link
- What it does:
- Hold the referral code from the link you followed and the time you followed it, so the account that referred you is recorded if you go on to create an account (a link followed after your account exists does not count). They are read once, at sign-up, and is never used to build a profile of you.
- How long:
- 30 days, or until you clear them. They are httpOnly, so no script on the page can read them.
sl_consent
- Set by:
- Stock Locker, when you answer the cookie banner
- What it does:
- Holds "accepted" or "declined", so the banner is not shown on every page and nothing analytic loads unless it says "accepted".
- How long:
- 12 months, after which we ask again.
ph_<project key>_posthog
- Set by:
- PostHog, our analytics provider, and only if you allow analytics
- What it does:
- A random identifier for your browser and your current visit, so we can count visits, see which pages people use and where they get stuck, and tie a session recording to its visit. Once you sign in it is linked to your account's internal identifier, never to your email address or name.
- How long:
- 12 months from your last visit, or until you decline in your cookie settings, which deletes it.
_rdt_uuid, _rdt_cid
- Set by:
- Reddit, our ad measurement provider, and only if you allow advertising
- What it does:
- A random identifier for your browser (and, if you arrived from a Reddit ad, that ad click), so Reddit can tell us how many sign-ups and memberships came from our ads on Reddit. We send Reddit the kind of step taken (a page visit, a sign-up, a connected account, a checkout, a membership), never your email address, name or anything about your trades.
- How long:
- 90 days, or until you decline in your cookie settings, which deletes them.
_twpid, personalization_id
- Set by:
- X (Twitter), our ad measurement provider for ads on X, and only if you allow advertising
- What it does:
- An identifier for your browser, so X can tell us how many sign-ups and memberships came from our ads on X. We send X the kind of step taken (a page visit, a sign-up, a connected account, a checkout, a membership), never your email address, name or anything about your trades.
- How long:
- Up to 2 years as set by X, or until you decline in your cookie settings, which deletes the ones on our domain.
_fbp, _fbc
- Set by:
- Meta (Facebook and Instagram), our ad measurement provider for ads on its apps, and only if you allow advertising
- What it does:
- An identifier for your browser (and, if you arrived from a Meta ad, that ad click), so Meta can tell us how many sign-ups and memberships came from our ads on Facebook and Instagram. We send Meta the kind of step taken (a page visit, a sign-up, a connected account, a checkout, a membership), never your email address, name, anything you type into a form, or anything about your trades.
- How long:
- 90 days, or until you decline in your cookie settings, which deletes them.
Storage that is not a cookie
Your browser's sessionStorage holds one key, tl:session-resync. It records the moment the page last tried to repair a sign-in the server had not yet seen, so that repair cannot loop. It contains a timestamp and nothing else, it never leaves your browser, and closing the tab removes it.
An earlier version of the site kept keys named tl_via_leaderboard: followed by a trader's handle in localStorage, recording when you opened a trader's profile from the leaderboard. They are no longer used, and the site deletes any it finds the next time you open a trader's profile.
If you choose light or dark in the menu, that choice is kept in localStorage under sl-theme ("light" or "dark"). It never leaves your browser.
If you connect a wallet from a phone, WalletConnect's software keeps the keys for that connection in localStorage and IndexedDB, under names beginning wc@2 and @appkit. We close the connection as soon as your wallet has signed; clearing this site's data removes what is left.
If you accept analytics, PostHog keeps a copy of its identifier in localStorage under the same ph_… name, and sessionStorage keys beginning ph_ for the visit in the current tab. If you later decline, it deletes them and leaves one localStorage key, beginning __ph_opt_in_out_, recording that you said no.
Nothing else about you is kept in your browser's storage. Apart from Reddit’s, X’s and Meta’s ad-measurement pixels, which also wait for your consent, we set no tracking pixels, fingerprinting scripts or advertising identifiers.
If you sign in with X or Google, or link an X, YouTube, TikTok or Twitch account, you are sent to that provider's own site, which sets its own cookies under its own policy. Those are not set on stocklocker.com and are not listed here.
Our database provider sets no cookie of its own: sign-in runs on our servers, so no database session is ever opened in your browser and no sb-… cookie is created.
The cookie banner
Consent is required for cookies that are not necessary to provide a service you asked for. The sign-in cookies are strictly necessary, and the referral cookies are the direct result of following a referral link, so they are set without asking. Analytics and ad-measurement cookies are neither, so they wait for your answer: until you allow them, none of PostHog or the Reddit, X and Meta pixels is loaded at all and nothing is sent to them. Customize cookie settings, on the banner, lets you allow analytics and advertising separately.
We use analytics to count visits, see which pages people use and where they get stuck, and watch session recordings, which replay how a page was used. Recordings mask everything typed into a form, blank out sealed posts that have not unlocked and anything showing wallet addresses, payment or referral details, and are never made on the sign-in, settings, connections or profile-editor pages. PostHog stores this for us in the European Union: recordings for 30 days, other analytics for no more than 12 months.
Accept and Decline are equally easy, and you can change your answer at any time with the Change cookie settings button at the top of this page, which the foot of every page links to. Turning analytics or advertising off after allowing it stops those providers collecting anything more (and the recording, for analytics) and deletes their cookies on our domain. If we add any other advertising cookies, this page will say so before they are set, and you will be asked first.
Removing them
Every browser can clear cookies for a single site: look for "Cookies and site data" in its settings, or open the padlock beside the address bar. Clearing ours signs you out, forgets any referral code you were carrying, and forgets your answer to the cookie banner, which then asks again. Nothing else about your account changes, and your calls are untouched.
Blocking cookies for stocklocker.com altogether stops you signing in, because the session has nowhere to live. Reading the site while signed out works with cookies blocked.
Changes and questions
If the cookies we set change, this page changes with them: it is meant to be the list, not a summary of one.
Anything unclear here is worth asking about — write to [email protected].
This page sits alongside the Privacy Policy, which covers everything else we hold about you, and the Terms of Service.
