What Flaggish collects

Exactly what the SDK sends us, what we keep, and how to switch each part off. Written so your privacy team can read it too.

At a glance

What we receive
  • 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.
What never leaves your app
  • 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

WhatWhenWhyKept
Config requestFrom 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 percentagesOnly the method, URL and a request ID are logged
Server config requestFrom a server with your secret key, at most every 30 seconds while flags are checkedDownload the people in your lists, so your server can check themOnly the method, URL and a request ID are logged
Reach fingerprintOnce per person, per rollout flag, per UTC day, and again if their answer changes (Full Mast only)Count the unique people a rollout reachedAdded to a counter, then discarded
Daily reach totalsRolled up every hourThe 7-day chart on the Rollouts page90 days
IP address and browserPart of every request from a browserNeeded to answer the request at allNot 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. 1 · In your appuser_8f2c…Your user ID, or the anonymous cookie ID. Stays in your app.
  2. 2 · HashedSHA-256(salt : flag : id)One-way: it can’t be turned back into the ID.
  3. 3 · Shortened224828afb8dbdb65Only the first 16 characters are sent.
  4. 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_id cookie 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 localStorage entry (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 userId or 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:

For the whole projectTurn off Count reach on the project’s Rollouts page. Every SDK then sends nothing, and the API ignores anything it receives.Dashboard switch
For an appCovers everything in that process, including getFlag and getFlags. Browser code only sees NEXT_PUBLIC_ variables, so set NEXT_PUBLIC_FLAGGISH_REACH=false to cover both sides.FLAGGISH_REACH=false
For one client or providerPass the option in code: createFlaggish({ reach: false }), or reach={false} on FlaggishProvider or FlaggishServerProvider. It doesn’t affect getFlag or getFlags.reach={false}

Reporting is best effort. It never throws, never logs, and never changes or delays a flag result.

Was this page helpful?

Request early access

Become a beta user, or stay up to date with the project.