Cookie Policy
Last updated: 30 October 2026
1. What cookies and local storage are
Cookies are small text files your browser stores for a website. Apps can also keep data in your browser’s local storage, IndexedDB and service worker cache. Under the ePrivacy Directive and the GDPR we must tell you what we use, and ask for your consent for anything that isn’t strictly necessary.
2. Strictly necessary (always active)
- session — keeps you signed in. HttpOnly and SameSite=Lax. 3 days, or 30 days if you choose “Remember me”; renewed while you are active.
- cookie_consent — remembers which categories you accepted. 1 year.
- admin_session — only for our administrators, while they look at an account to help its owner; it takes them back to their own account. Removed when they finish.
3. Functional
- lang — remembers your language (Catalan, Spanish or English). 1 year.
- mai_src — if you arrive through a link with ?ref= (for example ?ref=linkedin), the name of that link and nothing else, so that if you sign up we know which post brought you. HttpOnly. 30 days; only the first link counts. Not shared with anyone.
4. Analytics (only with your consent)
- _ga, _ga_* — Google Analytics 4: how the app is used (pages, navigation), with IP anonymisation. Up to 2 years. Google’s Consent Mode starts as “denied” and only changes if you accept.
5. Advertising (only with your consent)
- _gcl_au and Google AdSense cookies — show ads on the free plan. Up to 90 days or as set by Google. They never receive health, training or food data.
6. Stored on your device by the app
These are not sent to third parties. They make the app faster and let it work without coverage:
- Service worker cache — a copy of the app’s pages and files so they open offline. Cleared when you sign out.
- IndexedDB “mai-offline” — saves made without coverage (a workout, a check-in, a meal), waiting to be sent. Emptied as soon as they reach our servers.
- Local storage — small conveniences: a session you have started logging and not saved yet (so closing the page loses nothing; kept up to two weeks, deleted when you save it or start over), today’s coach conversation, the weigh-in reminder you skipped, the install banner, the health-consent notice and the survey cards you closed, the day the app was last opened (so it counts the day once), and the pages to prepare for offline use.
- Session storage — temporary values for the current tab: an update you dismissed, a message to start the coach with, and, before you sign up, a mark that the home page or the sign-up form was already counted as a visit in this tab (we only keep a count per day and link, nothing about you).
7. How to manage them
You can change your choice at any time with the button at the end of this page, or delete cookies and site data in your browser settings. Deleting the session cookie signs you out; deleting site data also removes saves still waiting to be sent.
8. Contact
Questions about cookies: jose@josesentis.com.