Browser storage and cookies
Last updated: November 20, 2026
In short:
- Without an account, Margnexa saves your scenario in your browser’s local storage (
localStorage) so you don’t lose your work. You can delete it with “Delete my data”. - With an account, Margnexa uses a session cookie to keep you signed in, which ends when you close the browser unless you choose to stay signed in for 30 days, and saves a working copy of your data in the tab storage (
sessionStorage), which is deleted when you close the tab or sign out. - If you choose a language in the selector, Margnexa remembers it in this browser so as not to suggest another one (section 1).
- The sign-up and password recovery forms store nothing in your browser.
- Only if you accept it in the cookie notice, Margnexa uses the Meta pixel (advertising cookies) to measure the visits and purchases that come from its ads on Facebook and Instagram (section 6). Without your permission it is not loaded, and you can withdraw it in “Cookie preferences”.
- For visit statistics it uses Cloudflare Web Analytics, which, according to Cloudflare, does not use cookies or
localStorage(section 4).
1. Without an account: local storage
What we store and why
Margnexa automatically saves your latest scenario in your browser’s local storage while you work, so you can get it back when you return. The calculations are redone when you open the application: the results are not saved.
| Key | Content | Purpose | How long it lasts |
|---|---|---|---|
margnexa.scenario | Your scenario: price, discount, shipping, costs, VAT, channels, fees, target margin and the names you give channels and costs, with the date it was last saved | Getting it back when you return | Does not expire: until you delete it with “Delete my data”, reset it or clear the site’s data |
margnexa.scenario.backup | Only if some saved data could not be read and you choose to start over: a copy of that data, as is | Recovery | Until you delete it with “Delete my data” or clear the site’s data |
margnexa.scenario.probe | A test value that is written and deleted instantly | Checking whether the browser allows saving | Deleted immediately |
If you used earlier versions of Margnexa (or when it was called MarginPilot), there may be other local keys starting with margnexa. or marginpilot. (local products, months or store and their copies). Margnexa uses them only to offer to move them to your account and deletes them with “Delete my data”.
We do not send this data to any server: it stays on your device, the owner cannot see it and it is not synced. It is not used for analytics, advertising or profiling.
How to delete it
- “Delete my data” (in the page footer) deletes from this browser everything Margnexa stores without an account. It asks you to confirm first, because it cannot be undone. It does not delete data from other sites, your account or the session cookie.
- “Reset example” replaces your scenario with the example.
- Clearing the site’s data in your browser settings removes everything Margnexa stores in it.
- In a private window, the browser deletes it when you close the window.
Local storage is not a backup: it can be lost if you clear your browser data, if the browser removes it or if you change devices.
Chosen language (with or without an account)
| Key | Content | Purpose | How long it lasts |
|---|---|---|---|
margnexa.idioma | Only the language you chose: es or en | Remembering your choice so as not to suggest another language. Each page’s language is decided by its address | Until you choose another one, delete it with “Delete my data” or clear the site’s data |
It is only saved if you choose a language in the selector or dismiss the suggestion to change language. It is not sent to any server.
Chosen currency (without an account)
| Key | Content | Purpose | How long it lasts |
|---|---|---|---|
margnexa.store | A random identifier for your store in this browser, its creation date and, if it isn’t the euro, the currency you chose | Showing the calculator’s amounts in that currency. Amounts are never converted | Until you choose another one, delete it with “Delete my data” or clear the site’s data |
It is only saved if you change the currency in the calculator. It is not sent to any server.
2. With an account
Session cookies
When you sign in, the “Keep me signed in for 30 days” box appears unchecked. You decide:
| Cookie | Purpose | How long it lasts |
|---|---|---|
__Secure-better-auth.session_token | Keeping you signed in to your account after you sign in | If you leave the box unchecked: until you close the browser and, at most, 24 hours (it is not renewed). If you check it: 30 days, renewed with use. In both cases it is deleted when you sign out, change or reset your password and delete your account |
__Secure-better-auth.dont_remember | Only if you don’t check the box: remembering that the session should not be kept | Until you close the browser |
Both are first-party cookies of margnexa.com, are not accessible from JavaScript, are sent only over a secure connection and are set only when you sign in. They do not contain your data: the first is a random session identifier, which the server checks on every request, and the second only a signed value.
Working copy in the tab (sessionStorage)
While you use the account tools, Margnexa saves in the tab storage, under keys starting with margnexa.cuenta., a copy of your data for the active store and the changes waiting to be synced. This lets the application respond instantly and means you don’t lose changes if the connection fails.
It is deleted when you close the tab, when you sign out and when you delete your account, and it is never mixed with another account’s data or with data saved without an account.
Workspace loading notice
| Key | Content | Purpose | How long it lasts |
|---|---|---|---|
margnexa.entrada | Only the value 1 (no account data), in localStorage | Showing the workspace loading notice before your workspace finishes loading | Until you sign out or your account no longer has a workspace |
Deletion and policy change notices (with or without an account)
| Key | Content | Purpose | How long |
|---|---|---|---|
margnexa-deletion-status | Only a random code, with no account data | Checking the status of your account deletion if it is in progress | Until the deletion is completed and you check it, or until you clear your browser data |
margnexa-privacy-update-dismissed | Only the date of the policy change notice you dismissed | Not showing you that notice again | Until you clear your browser data |
They are stored in localStorage. The status code is only sent to Margnexa to check that status; the notice date never leaves your browser.
3. Sign-up and password recovery
The sign-up and password recovery forms store nothing in your browser and do not use third-party bot detection services. Like the rest of the pages, they include the Cloudflare Web Analytics statistics script (section 4). To prevent abuse (automated sign-ups and mass sending of emails), our server limits the number of requests and emails (per email address, per connection and in total per day) and requires you to confirm your email before using the account. If a limit is reached, you will have to try again later.
Until October 24, 2026, these forms offered, if you chose it, a verification with Cloudflare Turnstile, which stored the item cf.turnstile.u in the local storage of challenges.cloudflare.com. It is no longer used. If you chose it then, that item may remain in your browser until you clear that site’s data; Margnexa does not read it.
4. Cloudflare: security cookies and visit statistics
Margnexa is hosted on Cloudflare. According to Cloudflare, its security cookies (for example, __cf_bm or cf_clearance) are strictly necessary and are set only when specific bot protection or rate limiting features are active. They are not used for advertising or analytics.
Margnexa’s visit and performance statistics are obtained with Cloudflare Web Analytics, which is independent of those cookies. Cloudflare adds a small script to each page (from static.cloudflareinsights.com) that measures how the page loads and sends the measurements through the site’s own domain. According to Cloudflare’s documentation, Web Analytics does not set cookies or use localStorage or other storage in your browser, and does not identify people by “fingerprinting”. What data it measures is explained in the Privacy policy (section 2.8).
5. What does not need your consent
The law allows information to be stored on or read from your device without asking for consent when it is strictly necessary to provide a service you have expressly requested (Article 22.2 of the LSSI-CE). We consider that everything stored in your browser as described on this page falls within that exception:
- storage without an account only keeps the data you enter in the tool, never leaves your device and you can delete it whenever you want;
- the session cookies and the tab working copy serve only to use the account you have created and signed in to. By default, the session ends when you close the browser; it is kept for 30 days only if you expressly ask for it by checking the box when signing in, and you can revoke this by signing out;
- the chosen language only serves to show you Margnexa in the language you have asked for, and the chosen currency to show you amounts in the currency you have asked for;
- the status code of a deletion in progress and the date of the notice you dismissed only serve to inform you of what you asked for or not to repeat a notice;
- Cloudflare’s security cookies are used to protect the service and your account.
Cloudflare Web Analytics statistics do not store cookies or other data in your browser (section 4).
The ad measurement in section 6 is not necessary for the service: that is why it only runs if you accept it.
6. Meta advertising cookies (only with your consent)
When you open Margnexa we show you a notice with “Accept” and “Reject”. Until you choose, and if you reject, nothing from Meta is loaded. If you accept, Margnexa loads the Meta pixel (from connect.facebook.net) to measure the visits and purchases that come from our ads. What data Meta receives and on what basis is explained in the Privacy policy (section 2.10).
| Name | Who | Purpose | Duration |
|---|---|---|---|
_fbp (cookie) | Meta | Telling this browser’s visits apart to measure the ads | Up to 90 days; deleted when you withdraw consent |
_fbc (cookie) | Meta | Storing the ad you came from (only if you came from one) | Up to 90 days; deleted when you withdraw consent |
margnexa.consent (local) | Margnexa | Remembering your choice (accept or reject), its date and notice version | Until you change it or delete this site’s data |
margnexa.meta.* (local) | Margnexa | Not counting the same event twice (for example, the same purchase) | Until you delete this site’s data (or the tab’s) |
Meta may also use its own cookies on the facebook.com domain if you are signed in there; they are governed by its cookie policy.
Changing or withdrawing your choice: in the page footer, “Cookie preferences” shows the notice again. If you choose “Reject”, Margnexa stops sending data to Meta and deletes the _fbp and _fbc cookies. Withdrawing does not affect what was sent before.
For any questions about storage or cookies, write to info@margnexa.com.