Cookie Policy
Last updated: April 2026This Cookie Policy explains what cookies KB Labs uses, why we use them, and how you can control them.
What are cookies?
Cookies are small text files stored on your device by your browser when you visit a website. They help websites remember your preferences and session state between page loads.
What we use
We use browser cookies and localStorage entries across three categories:
- Essential — required for the platform to work. Cannot be disabled. These include session authentication and CSRF protection.
- Functional — remember your preferences (theme, sidebar state). Disabling these means your preferences reset on each visit.
- Analytics — anonymous usage data to help us improve the product. No personal data is included. Requires your consent on kblabs.ru (via the cookie banner). On docs.kblabs.ru only anonymous page views and explicit feedback are collected without a consent gate.
Cookie & localStorage details
Specific entries in use:
- kb_session (Essential cookie, Session) — Authenticates your session after login. Required for the platform to function.
- kb_csrf (Essential cookie, Session) — CSRF protection token. Prevents cross-site request forgery attacks.
- kb_prefs (Functional cookie, 1 year) — Stores UI preferences such as sidebar state and theme selection.
- cookie-consent (Essential localStorage, Persistent) — Stores your cookie consent choice ("accepted" or "declined"). Set when you interact with the consent banner.
- kb_analytics (Analytics localStorage, Persistent) — Anonymous device credentials (random ID, clientId, clientSecret) used to authenticate telemetry events sent to the KB Labs Gateway. Only written after you accept analytics cookies. Not linked to your identity.
- kb_docs_analytics (Analytics localStorage, Persistent) — Same as kb_analytics but scoped to docs.kblabs.ru. Written on first visit to the docs site. Contains only an anonymous device ID.
Third-party cookies
We do not use third-party advertising cookies or social media tracking pixels. Our analytics is self-hosted and does not share data with external analytics providers.
How to control cookies
You can control cookies in two ways:
- Browser settings — all modern browsers allow you to block or delete cookies. Note that blocking essential cookies will prevent you from logging in.
- Account settings — opt out of analytics cookies in your account preferences.
For browser-specific instructions, refer to your browser's help documentation.
Changes
We'll update this page if we add new cookies. Material changes will be notified via email.
Contact
Questions? Email privacy@kblabs.ru.