Privacy policy
Linear Bits LLC is the data controller for personal data processed by LinearBits. This policy says what we collect, why, who processes it for us, and the rights you have over it.
1. What we collect
Account data: your email address and, where you choose those sign-in methods, your phone number or the Google or GitHub account identifier you sign in with.
Learning data: which problems and lessons you open and complete, quiz answers, spaced-repetition review history, notes, bookmarks, the code you write, and the boards and interview sessions you create or join, including the display name you give when you join as a guest.
Billing data: your subscription status, plan, billing cycle, and billing history. Card details are entered directly with Stripe and are never sent to or stored by us.
Support data: what you send us through the feedback or refund form or by email, including a screenshot of the page if you choose to attach one.
AI requests: when you use an AI feature, the problem context and the work you submit with that request.
Technical data: IP address, browser and device type, and request logs, kept to operate and secure the Service.
Analytics data: page views and product events. Analytics and advertising storage are used only if you accept them; section 4 describes the cookieless measurement that can happen before you choose.
2. Why we process it, and on what basis
To provide the Service — syncing your progress across devices, running your code, showing what is due for review, and answering the AI requests you make. Basis: performance of our contract with you.
To take payment, handle refunds, and prevent fraud. Basis: performance of our contract, and our legitimate interest in preventing abuse.
To answer support requests. Basis: performance of our contract, and our legitimate interest in helping you.
To keep the Service secure and diagnose faults, including error reports. Basis: our legitimate interest in a working, secure product.
To understand which lessons work, and whether our advertising leads to accounts and purchases, through analytics and ad measurement. Basis: your consent, which you can withdraw at any time.
To send transactional email — password resets, receipts, and billing notices. Basis: performance of our contract.
3. Who processes data for us
- Stripe — payment processing, subscriptions, invoices, and the customer portal.
- Railway — application hosting, the primary database, and stored files.
- Akamai (Linode) — the isolated sandbox that runs code you submit. It receives the code and input of a run, not your account.
- Cloudflare — DNS, TLS, and edge routing for linearbits.com, and Cloudflare Web Analytics, a page-load measurement that sets no cookies or local storage.
- Resend — transactional email delivery.
- Sentry — error reporting. We strip request bodies, headers, cookies, query strings, and user identifiers before an error is sent.
- PostHog — product analytics and limited session replay, loaded only after you accept analytics.
- Google — Tag Manager, Analytics, and Google Ads conversion measurement, as described in section 4 and our Cookie Policy; and Google sign-in when you choose it.
- GitHub — GitHub sign-in when you choose it.
- Twilio — sends sign-in codes by text message or WhatsApp when you choose phone sign-in.
- OpenAI — processes the problem context and the work you submit when you use an AI feature. Nothing is sent unless you use one.
If you connect your own key for an AI provider (OpenAI, Anthropic, Google Gemini, xAI, Mistral, Groq, or OpenRouter), your AI requests go to that provider under your own account and its terms. We store the key encrypted and use it only for the requests you make.
Our Sub-processors page at /pages/subprocessors lists each provider with its location. Some of these providers operate outside your country. Where personal data is transferred out of the EEA or UK, it is covered by the provider's standard contractual clauses.
4. Cookies and local storage
We set a session cookie so you stay signed in, or keep a guest session for features that need one. It is strictly necessary and is not optional.
We store your progress, preferences, drafts, and your cookie choice in your browser's local storage so the Service works offline. This stays on your device and is synced to your account only when you are signed in.
Analytics and advertising storage stay off until you accept them. Before you choose, Google Tag Manager loads on most pages with every analytics and advertising setting denied, so Google tags can send only the cookieless measurement described below; PostHog is not loaded at all. You can change your choice at any time via "Cookie settings" in the footer. Our Cookie Policy lists each cookie and storage key.
Analytics and limited session replay
If you accept analytics, we use PostHog alongside Google Analytics to understand product use, evaluate limited experiments, and replay a sample of sessions on selected public pages and learning overview pages. PostHog is not loaded and receives no request before you consent. Guests remain anonymous. For a signed-in account, we send only the stable internal profile ID, plan, and account type; we do not send email addresses, names, code, answers, search text, URL parameters or hashes, recommendation identifiers, or payment details.
Replay is sampled at 10% and is allowed only on public navigation, the Learning dashboard, Gallery, Plans, and catalogue or map views. It is disabled on problem editors, lessons and quizzes with input, mobile practice, Dojo, interviews, admin, profile, authentication, billing and checkout, feedback, booking, verification, and experiment pages. Inputs are masked, protected content is blocked, and console logs, network bodies and headers, canvas, and cross-origin iframes are not recorded.
We retain product-analytics events for up to 12 months and session replays for up to 30 days. Project-side IP storage is disabled. You can withdraw consent at any time through Cookie settings; withdrawal stops collection, stops replay, discards queued events, and resets the PostHog browser identity. A privacy or erasure request can be matched to the internal profile ID so associated PostHog data can be deleted without exposing administrative PostHog credentials in the browser.
Advertising measurement
We advertise the service. Google Consent Mode loads on most pages with analytics storage and all advertising consent settings denied. Before you accept, Google may receive cookieless page, consent, and measurement pings for aggregate reporting and modeling. Depending on the tag, these requests can include the page address and referrer, consent state, browser and device information, and the IP address used for the web request. They do not read or write analytics or advertising cookies. Ads data redaction removes ad-click identifiers from denied-consent Google Ads and Floodlight requests and redacts page addresses containing those identifiers for those requests; Google Analytics cookieless pings may still receive the full page address.
If you accept analytics, we allow analytics storage, advertising storage, and use of advertising-related data to measure whether advertisements lead to accounts or purchases. Google tags may then use first-party cookies and identifiers, the Google click identifier, the page address and referrer, browser and device information, and the IP address used for the web request to attribute those events. We configure the account and purchase events not to include your email address, name, code, answers, search text, or payment details, and we do not upload customer lists.
Rejecting or withdrawing consent keeps analytics and advertising storage and advertising-data use denied and replay off, but cookieless Google pings may continue. We do not grant ad personalization, so your use of the service is not turned into an advertising or remarketing audience.
5. How long we keep it
Account and learning data: for as long as your account exists, and deleted when you delete your account.
Guest data: a guest session that never becomes an account is deleted about 90 days after it was last used.
Billing records: seven years, as required by tax and accounting law.
Request and security logs: up to 90 days.
Error reports: up to 90 days.
6. Your rights
You can access, correct, export, or delete your personal data, object to or restrict processing, and withdraw consent for analytics at any time.
Export and deletion are self-service: open your profile and use the data export and account deletion controls. Deleting your account removes your account and learning data; we keep the billing records law requires us to keep. For anything those controls do not cover, write to hello@linearbits.com.
If you are in the EEA or UK you may also complain to your local data protection authority.
7. Children
The Service is not directed at children under 16, and we do not knowingly collect their personal data. If you believe a child has given us personal data, contact us and we will delete it.
8. Changes and contact
We will post any update here, and the date above will change; for material changes we will also notify you in the Service or by email.
Privacy questions and rights requests: hello@linearbits.com. Security vulnerabilities: security@linearbits.com.