Cookie Policy
Every cookie and stored item AlgoTrail uses, what each is for and how long it lasts, and how to allow or refuse analytics.
- United Kingdom
- 2026-10-16 · draft
- 16 October 2026
About this policy
Drafted — awaiting legal review
This policy lists every cookie and every item AlgoTrail stores in your browser at algotrail.in, or causes another service to store while you are on our pages: what each one is for, who sets it, how long it lasts and whether it waits for your permission. A cookie is a small file a website asks your browser to keep; local storage and session storage are places in your browser where a site keeps information for itself. This policy calls all three “stored items”.
AlgoTrail is operated from India; the company that will operate it is being registered. This version of the policy applies to visitors in the United Kingdom, the Channel Islands and the Isle of Man. What we do with personal data, including what is described here, is set out in our Privacy Policy.
How we sort what we store
Drafted — awaiting legal review
Every item below is in one of four groups, and the group decides one thing: whether it waits for your permission.
- Strictly necessary: what the service you asked for cannot work without, such as keeping you signed in, taking a payment you asked to make, keeping your place in a lesson, and remembering your cookie choice. These are always on.
- Functional: a choice you made on purpose, such as your theme, kept so the site keeps to it. Set only when you make the choice.
- Analytics: helps us understand how the site is used. Only PostHog is in this group, and it stores and sends nothing until you allow it.
- Stores nothing: Vercel Web Analytics, listed so that you know it is there and that it puts nothing on your device.
The Privacy and Electronic Communications Regulations require your consent before anything not strictly necessary for a service you asked for is stored on, or read from, your device, whether or not it is personal data. Only analytics waits for your consent. We use no advertising cookies, and nothing here is shared with an advertising network.
Strictly necessary
Drafted — awaiting legal review
These are always on, because the part of the service you are using cannot work without them. Some are set by the services that take a payment or check for bots on our behalf, which keep most of what they store on their own sites; each one says where.
Sign-in session
- Set by
- AlgoTrail (Auth.js, inside our server)
- What it is for
- Keeps you signed in. It holds an encrypted, signed sign-in token that only our server can read.
- How long it lasts
- 30 minutes, renewed while you use the site; 8 hours at most for an administrator account.
- Where
- Every page, once you sign in.
- Stored as
- The cookie
authjs.session-token(__Secure-authjs.session-tokenon the live site), split into numbered parts when it is long.
Sign-in form protection
- Set by
- AlgoTrail (Auth.js, inside our server)
- What it is for
- Protects the sign-in and sign-out forms against cross-site request forgery.
- How long it lasts
- Until you close the browser.
- Where
- The sign-in and sign-up pages, and signing out.
- Stored as
- The cookie
authjs.csrf-token(__Host-authjs.csrf-tokenon the live site).
Return address after signing in
- Set by
- AlgoTrail (Auth.js, inside our server)
- What it is for
- Remembers which page to return you to after you sign in.
- How long it lasts
- Until you close the browser.
- Where
- The sign-in pages.
- Stored as
- The cookie
authjs.callback-url(__Secure-authjs.callback-urlon the live site).
Google and GitHub sign-in check
- Set by
- AlgoTrail (Auth.js, inside our server)
- What it is for
- Ties a Google or GitHub sign-in to the browser that started it, so nobody else can complete it.
- How long it lasts
- 15 minutes.
- Where
- Signing in or signing up with Google or GitHub.
- Stored as
- The cookies
authjs.state,authjs.pkce.code_verifierandauthjs.nonce(each beginning__Secure-on the live site).
Last sign-in provider tried
- Set by
- AlgoTrail
- What it is for
- Remembers whether a sign-in attempt used Google or GitHub, so a failed attempt can say which one failed.
- How long it lasts
- 10 minutes.
- Where
- Signing in with Google or GitHub.
- Stored as
- The cookie
algotrail-oauth-attempt.
Linking a sign-in method
- Set by
- AlgoTrail
- What it is for
- Carries your request to link Google or GitHub to your account through that provider’s sign-in.
- How long it lasts
- 10 minutes.
- Where
- Account security, when you link a sign-in method.
- Stored as
- The cookie
algotrail.link-intent(__Secure-algotrail.link-intenton the live site).
Acceptance carried through sign-up
- Set by
- AlgoTrail
- What it is for
- Carries your acceptance of the Terms and the Privacy Policy through a Google or GitHub sign-up, so your account records what you accepted.
- How long it lasts
- 10 minutes.
- Where
- Signing up with Google or GitHub.
- Stored as
- The cookie
algotrail.signup-consent(__Secure-algotrail.signup-consenton the live site).
A quiz taken without an account
- Set by
- AlgoTrail
- What it is for
- Ties a quiz you take without signing in to this browser, so only this browser can submit its answers. It holds a random number and nothing about you.
- How long it lasts
- 2 hours.
- Where
- A lesson’s quiz, once you start it without signing in.
- Stored as
- The cookie
algotrail.quiz-guest(__Secure-algotrail.quiz-gueston the live site).
Pre-launch preview access
- Set by
- AlgoTrail
- What it is for
- Lets an invited reviewer past the pre-launch page. It is set only by opening a private preview link.
- How long it lasts
- 30 days.
- Where
- Every page, before launch, for invited reviewers only.
- Stored as
- The cookie
algotrail_preview.
Your cookie choice
- Set by
- AlgoTrail
- What it is for
- Remembers whether you allowed or refused analytics, so we ask once and keep to your answer.
- How long it lasts
- Until you clear your browser’s site data.
- Where
- Every page, once you choose.
- Stored as
- The local-storage entry
algotrail-consent.
Your progress on this device
- Set by
- AlgoTrail
- What it is for
- Keeps your place while you learn without an account: the sections and topics you finished, your visualizer runs and your last quiz scores. It leaves the device only if you sign in and choose to keep it, and it is never used for analytics.
- How long it lasts
- Until you clear your browser’s site data.
- Where
- Lessons, once you start one.
- Stored as
- The local-storage entry
algotrail-progress.
Your place on a page while you sign in
- Set by
- AlgoTrail
- What it is for
- Returns you to the same place on a page after you sign in from it.
- How long it lasts
- Until you close the tab.
- Where
- A page where you start signing in.
- Stored as
- The session-storage entry
algotrail:return-scroll.
Returning from checkout
- Set by
- AlgoTrail
- What it is for
- Tells the page you return to after a checkout to check your access again, so what you bought opens at once, and keeps the receipt line it shows you once.
- How long it lasts
- Until you close the tab.
- Where
- Checkout pages.
- Stored as
- The session-storage entries
algotrail.entitlements.checkout-redirectandalgotrail.checkout.confirmation.
Cloudflare Turnstile bot check
- Set by
- Cloudflare, in its own frame
- What it is for
- Tells people from automated sign-ups. It runs in Cloudflare’s own frame and stores what it needs there.
- How long it lasts
- Cloudflare decides how long, and keeps it on its own site, not ours.
- Where
- The sign-up page.
- Stored as
- Cloudflare’s own cookies and local storage, on cloudflare.com, never on our site.
Razorpay Checkout
- Set by
- Razorpay’s checkout script, and the fraud and bot checks its window loads (Sardine, Stripe’s fraud signals and bot check, hCaptcha)
- What it is for
- Takes a payment in Indian rupees that you asked to make, and checks it for fraud. Razorpay’s script keeps a device and session identifier on our site (rzp_ keys), and its window and the fraud and bot checks it loads — Sardine, Stripe’s fraud signals and bot check, and hCaptcha — store what they need on their own sites.
- How long it lasts
- Razorpay’s identifiers on our site stay until you clear your browser’s site data. What its window and the checks it loads keep on their own sites, they decide.
- Where
- Checkout pages, once you continue to payment, and only for a purchase billed in India.
- Stored as
- On our site: the cookie
rzp_unified_session_id, local-storage entries beginningrzp_(such asrzp_device_id) and session-storage entries beginning__rzp_. On their own sites: the cookies, local storage and session storage of razorpay.com, sardine.ai, stripe.network, stripe.com, stripecdn.com and hcaptcha.com.
Paddle checkout
- Set by
- Paddle, in its own window
- What it is for
- Takes a payment outside India that you asked to make: Paddle is the seller of record for it. Paddle.js runs on the checkout page and opens Paddle’s own window, which stores what it needs there.
- How long it lasts
- Paddle decides how long, and keeps it on its own site, not ours.
- Where
- Checkout pages, and only for a purchase billed outside India.
- Stored as
- Paddle’s own cookies, local storage and session storage, on paddle.com.
Private preview access
- Set by
- Vercel
- What it is for
- Proves that a member of our team may open a private preview deployment. The live site never sets it.
- How long it lasts
- Vercel decides how long; it is never set on the live site.
- Where
- Preview deployments only.
- Stored as
- The cookie
_vercel_jwt.
Functional: choices you make
Drafted — awaiting legal review
These remember a choice you made, so the site keeps to it. None is set until you make the choice, and none is used for analytics.
“Not now” on an updated document
- Set by
- AlgoTrail
- What it is for
- Remembers that you chose “Not now” when asked to accept an updated document, so we do not ask again on every page.
- How long it lasts
- Until the update takes effect, at most 7 days.
- Where
- Every page, once you choose “Not now”.
- Stored as
- The cookie
algotrail.reacceptance-deferred.
Theme and sidebar
- Set by
- AlgoTrail
- What it is for
- Remembers the theme you chose (light, dark or your system’s) and whether the sidebar is open.
- How long it lasts
- Until you clear your browser’s site data.
- Where
- Every page, once you change one.
- Stored as
- The local-storage entry
algotrail-ui.
Your preferences on this device
- Set by
- AlgoTrail
- What it is for
- Remembers what you set on this device: reduced motion, the code language for each module and the visualizer’s default speed.
- How long it lasts
- Until you clear your browser’s site data.
- Where
- Every page, once you change one.
- Stored as
- The local-storage entry
algotrail-preferences.
“Keep reading” on saving your progress
- Set by
- AlgoTrail
- What it is for
- Remembers that you chose to keep reading without an account when asked to save your progress, so we do not ask again on this device.
- How long it lasts
- Until you clear your browser’s site data.
- Where
- Lessons, once you choose to keep reading.
- Stored as
- The local-storage entry
algotrail-save-progress-dismissed.
The module map’s two-finger tip
- Set by
- AlgoTrail
- What it is for
- Remembers that you have moved the module map with two fingers, so we stop explaining the gesture on this device.
- How long it lasts
- Until you clear your browser’s site data.
- Where
- The module map on a phone, once you move it with two fingers.
- Stored as
- The local-storage entry
algotrail-roadmap-two-finger-hint.
The modules you have seen finished
- Set by
- AlgoTrail
- What it is for
- Remembers which finished modules this device has already shown you, so the moment plays once and not on every visit.
- How long it lasts
- Until you clear your browser’s site data.
- Where
- A module’s overview, once you have finished the module.
- Stored as
- The local-storage entry
algotrail-modules-mastered-seen.
A plan reminder you have dismissed
- Set by
- AlgoTrail
- What it is for
- Remembers that you dismissed the reminder that your plan renews or ends soon, so it does not come back until the next billing period.
- How long it lasts
- Until you clear your browser’s site data.
- Where
- The dashboard’s banner, in the last 7 days before a plan renews or ends, when you dismiss that reminder.
- Stored as
- The local-storage entry
algotrail:plan-notice:<subscription>:<period end>:dismissed, one for each plan period you dismiss.
Where you placed the boxes on a design canvas
- Set by
- AlgoTrail
- What it is for
- Remembers where you placed each box on a System Design canvas, so your layout is still there when you come back to the problem or revise your design. It holds the boxes’ positions only, never your design, and it never leaves your browser.
- How long it lasts
- Until you clear your browser’s site data.
- Where
- A System Design problem’s canvas, once you place or move a box on it.
- Stored as
- The local-storage entry
algotrail:design-layout:<canvas>, one for each canvas you place boxes on.
Your unsubmitted System Design design and explanation
- Set by
- AlgoTrail
- What it is for
- Keeps the design and the explanation you are writing on a System Design problem, so they are still there if you reload the page or come back before you submit. It stays in your browser and is not sent anywhere until you submit.
- How long it lasts
- Until you clear your browser’s site data.
- Where
- A System Design problem, once you add a component or start writing your explanation.
- Stored as
- The local-storage entry
algotrail:design-draft:<module>/<problem>, one for each problem you work on.
The System Design tips you have dismissed
- Set by
- AlgoTrail
- What it is for
- Remembers that you dismissed the one-time tip on a System Design problem, so it is not shown to you again on this device. There is one for laptops and one for phones.
- How long it lasts
- Until you clear your browser’s site data.
- Where
- A System Design problem, when you press Got it on the tip above the design.
- Stored as
- The local-storage entries
algotrail-design-hint-canvasandalgotrail-design-hint-phone.
Analytics: PostHog, only if you allow it
Drafted — awaiting legal review
We use PostHog, a product analytics service, to understand how people find and use AlgoTrail (where visitors come from, which pages they use, where they get stuck, whether they come back) so we can improve it. PostHog processes this data for us, on our instructions, on its EU Cloud in the European Union.
It runs only if you allow analytics: its lawful basis is your consent (Art. 6(1)(a) UK GDPR), asked before anything loads. Until you do, nothing from PostHog is downloaded to your browser, stored on your device or sent anywhere, and it never runs on our preview sites.
- What it receives: the pages you view, named actions in the product (such as starting a lesson or finishing a quiz), your device and browser, and an approximate location worked out from your IP address, which PostHog is set to discard afterwards. Before you sign in it knows you only by an anonymous ID; once you sign in, it identifies you by our internal ID for your account, never by your name or email address. On some pages it may record a replay of what the page did, with everything you type masked.
- What it never receives: your email address, name, payment details, anything you type into a form, the code you write, or the content of a paid lesson.
- How long it is kept: what PostHog receives is kept no longer than one year. When you delete your account, we also delete what PostHog holds under your account ID.
PostHog product analytics
- Set by
- PostHog, loaded from our own site only after you allow analytics
- What it is for
- Helps us understand how the site is used: an anonymous ID, then your internal account ID once you sign in (never your email or name), and the pages you view. Only after you allow analytics, and only on the live site.
- How long it lasts
- Until you withdraw your consent or clear your browser’s site data. What PostHog receives is kept no longer than one year.
- Where
- Every page, once you allow analytics.
- Stored as
- Local-storage entries beginning
ph_and__ph_opt_in_out_, and session-storage entries beginningph_. We set PostHog to use no cookie; if it ever set its cookie,ph_<project key>_posthog, that cookie is analytics too, and withdrawing your consent removes it.
PostHog also reports errors to us so we can fix faults. Error reports are sent through our own servers, carry no account ID and store nothing on your device, so they are not a stored item and need no cookie consent; our Privacy Policy describes them.
Counted without storing anything: Vercel Web Analytics
Drafted — awaiting legal review
Separately from PostHog, Vercel Web Analytics counts visits in aggregate: how many times each page is viewed, and how many sign-ups and purchases there are. It uses no cookie, stores nothing on your device and gives you no identifier, so it cannot follow you from one visit to the next, and it needs no consent. It is a different service from PostHog, and refusing analytics does not affect it.
Vercel Web Analytics
- Set by
- Vercel, served from our own site
- What it is for
- Counts page views and a few milestones, such as a sign-up or a purchase, without cookies and without any identifier.
- How long it lasts
- Nothing is stored.
- Where
- Every page.
- Stored as
- Nothing: no cookie and no stored entry.
Allowing, refusing and changing your mind
Drafted — awaiting legal review
On your first visit a notice at the foot of the page asks whether we may use analytics. “Refuse analytics” and “Allow analytics” are the same kind of button, side by side, and nothing is chosen for you. You can keep using the whole site whichever you choose, or without answering; until you allow it, analytics stays off.
You can change your answer at any time from “Cookie settings”: the last link at the foot of the site’s pages, at the end of each lesson, and under the sign-in and sign-up forms. It shows what you chose, and withdrawing your consent takes one press, just as giving it does. When you withdraw it, PostHog stops at once and its stored items are removed from your browser.
Your answer is kept only in your browser (the “Your cookie choice” item above), never on our servers, so each browser and device you use asks once. If you clear your browser’s site data, we ask again.
Your browser’s own controls
Drafted — awaiting legal review
Your browser also lets you see, delete and block cookies and stored items for any site. Deleting AlgoTrail’s signs you out and removes your progress on that device if you learn without an account; blocking the strictly necessary ones stops signing in and checkout from working.
The law that applies, and your rights
Drafted — awaiting legal review
Storing or reading anything on your device is governed by regulation 6 of the Privacy and Electronic Communications Regulations 2003: only strictly necessary items are stored without your consent, and functional items only when you make the choice they remember. Personal data collected through analytics is processed on the basis of your consent under the UK GDPR (Art. 6(1)(a)); you can withdraw it at any time from “Cookie settings” as easily as you gave it, without affecting what was processed before.
PostHog keeps this data on its EU Cloud, in the European Union. Your rights over it (to access, correct, erase, restrict, object and take a copy) are set out in our Privacy Policy, and you can use them by writing to connect@algotrail.in. You can also complain to the Information Commissioner’s Office.
Changes to this policy
Drafted — awaiting legal review
Before we use a new cookie or stored item, we add it to this policy in a new version, dated, with what changed shown at the top. If a new item needs your permission, we ask for it before it is set.
Contact
Drafted — awaiting legal review
Questions about this policy go to connect@algotrail.in.
Cookie Policy in other regions
We show you the version for your location, but you can read any of them. Each one is a separate page with its own address, so you can bookmark or send a link to exactly the version you mean.