Skip to main content

Cookie Policy

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.

Applies to
India — shown to United States
Version
2026-10-16 · draft
In effect from
16 October 2026

Read another region’s version

What changed since version 2026-09-03

The policy now lists every cookie and stored item one by one, with who sets it, what it is for and how long it lasts. Analytics is described as two separate things: Vercel Web Analytics, which stores nothing and counts in aggregate, and PostHog, which runs only if you allow it and recognises a signed-in user by our internal account ID. It explains how to give and withdraw consent from Cookie settings, and gives the notice the DPDP Act requires.

11 sections changed:

  • About this policy
  • How we sort what we store
  • Strictly necessary
  • Functional: choices you make
  • Analytics: PostHog, only if you allow it
  • Counted without storing anything: Vercel Web Analytics
  • Allowing, refusing and changing your mind
  • Your browser’s own controls
  • Notice under the DPDP Act, and complaints
  • Changes to this policy
  • Contact

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. 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.

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-token on 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-token on 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-url on 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_verifier and authjs.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-intent on 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-consent on 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-guest on 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-redirect and algotrail.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 beginning rzp_ (such as rzp_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-canvas and algotrail-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. 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 beginning ph_. 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.

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.

Notice under the DPDP Act, and complaints

Drafted — awaiting legal review

This is our notice under the Digital Personal Data Protection Act 2023 for analytics, given here and linked from the cookie notice before you are asked. The personal data analytics collects, and why, are set out under “Analytics” above. We process it only with your consent, which is a separate choice from accepting our Terms and our Privacy Policy, and which you can withdraw at any time from “Cookie settings” as easily as you gave it. Withdrawing does not affect what was collected before you withdrew.

You can complain to us about anything in this policy. Our grievance officer is Anurag Singh, Founder, at connect@algotrail.in; we acknowledge a complaint within 48 hours and resolve it within one month. If we do not resolve it, you can complain to the Data Protection Board of India.

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.