At a glance
- Your client key and environment, to send back the right flags.
- For rollouts on Full Mast: a one-way fingerprint per person, per flag, per day, and whether the flag was on or off for them.
- Lists you create in the dashboard: the user IDs and emails you type in are stored with your project, and only sent to your servers that hold the secret key.
- Like any website, your visitors’ IP address and browser arrive with requests from the browser. They’re not logged by Flaggish’s API.
- Your users’ IDs, emails or names. The SDK never sends user IDs, anonymous IDs or emails, including the emails you use for groups.
- Page URLs, events or anything about what people do.
- Which user got which flag. Flags are decided inside your app, and reach sends only a fingerprint.
Everything the SDK sends
| What | When | Why | Kept |
|---|---|---|---|
| Config request | From your server at most every 30 seconds while flags are checked (a server with a secret key fetches the server config below instead, and falls back to this one); from a browser once per page load (not at all under FlaggishServerProvider) | Download your flags and rollout percentages | Only the method, URL and a request ID are logged |
| Server config request | From a server with your secret key, at most every 30 seconds while flags are checked | Download the people in your lists, so your server can check them | Only the method, URL and a request ID are logged |
| Reach fingerprint | Once per person, per rollout flag, per UTC day, and again if their answer changes (Full Mast only) | Count the unique people a rollout reached | Added to a counter, then discarded |
| Daily reach totals | Rolled up every hour | The 7-day chart on the Rollouts page | 90 days |
| IP address and browser | Part of every request from a browser | Needed to answer the request at all | Not logged by Flaggish’s API; held in memory for up to a minute for rate limiting |
Server-side checks (FlaggishServerProvider, getFlag, getFlags and Node’s createFlaggish) call the API from your server, so for those the API sees your server’s address, not your visitors’.
How the fingerprint works
For each rollout, at most once per person per UTC day (and once more if their answer changes, for example after you widen the rollout), the SDK sends a short one-way fingerprint and whether the flag was on or off. We add the fingerprint to a counter, keep the daily total, and throw the fingerprint away.
- 1 · In your appuser_8f2c…Your user ID, or the anonymous cookie ID. Stays in your app.
- 2 · HashedSHA-256(salt : flag : id)One-way: it can’t be turned back into the ID.
- 3 · Shortened224828afb8dbdb65Only the first 16 characters are sent.
- 4 · Counted+1 todayAdded to a counter, then thrown away.
The ID is the same one used to decide the rollout: your userId if you pass one, otherwise the anonymous flaggish_id. With no ID, nothing is sent. The salt is a random value per project, and including the flag means a fingerprint can’t be linked across flags.
Pseudonymous, not anonymous. The salt ships in your public SDK config, so it stops generic lookup tables but not someone who targets one project. Flaggish knows the salt too, so under GDPR, treat reach as pseudonymous data. Anyone who can see your client key could send fake reach, so counts are indicative, not audited.
What we store
The counters are HyperLogLog registers in Redis: fingerprints can’t be read back out of them. Daily totals go to Postgres and are kept for 90 days. Fingerprints are never written to Postgres, to logs or to log storage.
In your visitors’ browsers
- A
flaggish_idcookie with a random anonymous ID, for one year (SameSite=Lax). It decides rollouts for visitors who aren’t signed in. - On Full Mast projects with reach on, a
localStorageentry (flaggish_reach_<date>) that remembers which fingerprints were already sent today, so repeat page loads send nothing.
Groups
Groups add one more thing the SDK downloads, and nothing the SDK sends.
- The public config says which groups a flag targets. For a company-domain group it includes the domains, which a browser needs to check an email. For a list it includes only the group’s ID, never who is in it.
- List members are sent only to a server that presents your secret key, in a request from your server (the API sees your server’s address). They are never sent to a browser: a browser only learns the IDs of the groups the current person is in, from your own server.
- Emails and user IDs you pass for groups are checked inside your app, and the SDK never sends them to Flaggish. They don’t change the reach fingerprint, which still uses
userIdor the anonymous ID. - The user IDs and emails you type into a list in the dashboard are stored with your project, and only sent to your servers that hold the secret key. Logs record group names and counts, never members.
Known limitation
Someone who browses anonymously and then signs in has two IDs that day, so they’re counted twice.
Switch it off
Reach only runs on Full Mast projects (the paid plan), and it’s on by default there. Any one of these stops it:
Reporting is best effort. It never throws, never logs, and never changes or delays a flag result.