Blog
Data in your browser: encrypted, no time limit
· updated November 11, 2026 · 3 min read
Everything you loaded and set up in Adtally stays in your browser. The server has no database: it stores nothing. A live account’s data is encrypted, kept with no time limit and opens only with a connected account.
What is kept
| Data | Where and how long |
|---|---|
| Statistics (cache) | IndexedDB, encrypted, no time limit, up to 16 MiB |
| Campaigns, assignments, tags | IndexedDB, encrypted, no time limit |
| Journal and ad settings snapshots | IndexedDB, encrypted, up to 500 entries and 2,000 ads |
| Analysis segments and report settings | IndexedDB, encrypted, no time limit |
| Channel lists and the ad draft | IndexedDB, encrypted, no time limit |
| Report logo | Page memory only, upload again after a reload |
| Telegram Ads token | Encrypted HttpOnly cookie, 1 hour |
| Theme, menu, check interval | Local storage, plain: no secrets |
Data is kept separately for each account. The demo keeps its fictional data apart and does not encrypt it.
How the encryption works
The server derives the key from its secret and the cabinet’s account number and gives it only to a connected session of that cabinet. The browser keeps the key in memory and never writes it to disk. Data is encrypted with AES-256-GCM.
- Connected: data opens at once; only missing days are requested.
- The session ended (after an hour) or you disconnected: data stays on disk but cannot be read without the key.
- You paste the token again: the server gives the same key, and everything is back.
Encryption protects data while there is no session: a stolen device, a shared computer, a copied browser profile. It does not protect against a malicious script in the page while a session is open.
Statistics are not loaded again
A day loaded 48 hours or more after it ended is treated as final and not requested again. Newer data is checked after 5 minutes by default (1 minute to 1 hour on the Connection page). “Refresh data” checks everything. The 48 hours are our assumption: the API does not say when statistics stop changing.
How to delete
- “Clear statistics” removes the statistics cache only.
- “Delete all data” on the Connection page removes everything the site keeps in this browser, for every account. This cannot be undone.
- Disconnecting does not delete data; it only closes access to it.
Clearing the site’s data in the browser settings also removes everything.
Another browser or device
Data does not sync: another browser, profile or device starts empty. To move conclusions, export the ads table to CSV or a client XLSX. These are reports, not a backup: campaigns or the journal cannot be restored from them.
Storage and access are different
Deleting data does not revoke the token. To revoke access to the ad account, reset the token in Telegram Ads. See the secure connection guide.