Cookie settings
Everything MarketLab keeps in your browser, and the one thing you can choose. More about what we keep on our side is in the privacy policy.
Analytics
Vercel Web Analytics counts page visits and Speed Insights measures how fast pages load, so we can see what's used and what's slow. They set no cookies, don't follow you to other sites, and never see your name, email or portfolio. They're off unless you turn them on.
Essential
Needed for MarketLab to work, so they can't be switched off. None tracks you or is shared with anyone.
| Name | What it's for | How long |
|---|---|---|
| better-auth.session_tokenCookie | Keeps you signed in. Hidden from the page's scripts (httpOnly). On the live site its name starts with __Secure-. | 7 days, renewed while you use the site; deleted when you sign out |
| better-auth.stateCookie | Checks that a Google sign-in that comes back is the one you started. | 5 minutes, during a Google sign-in |
| marketlab_guestCookie | Remembers your guest portfolio if you use MarketLab without an account: a random ID, nothing else. Hidden from scripts. | 400 days; the guest's data is deleted after 180 days unused |
| marketlab_bookCookie | Remembers which portfolio you're trading in: practice or a competition season. Hidden from scripts. | 400 days, or until you switch back to practice |
| marketlab_consentCookie | Remembers your choice on this page. | 180 days |
| marketlab_learnerCookie | Lesson progress from an older version of MarketLab. No longer set: moved to your account or guest, then deleted, on your next visit. | Until your next visit |
Your preferences
Kept in your browser for features you use, and only once you use them. Your theme and chart period can be cleared from Privacy and your data.
| Name | What it's for | How long |
|---|---|---|
| theme, undertoneLocal storage | The colour theme you picked. | Until you clear it |
| marketlab:rangeLocal storage | The chart period you picked for the small trend charts. | Until you clear it |
| marketlab:account, marketlab:backtests, learn-progressLocal storage | Portfolios, saved backtests and lesson progress kept in the browser by older versions of MarketLab. Only there if you used one; moved to your account (or guest) when it can be without overwriting anything, then deleted. | Until moved |
| marketlab:import-triedSession storage | Makes sure that move is tried only once per visit. | Until you close the tab |
| Push subscriptionBrowser feature | Only if you turn on alerts on this device: lets your browser receive MarketLab's notifications. | Until you turn them off |