better-bird-41546
07/12/2023, 2:30 PMhelpful-application-7107
07/12/2023, 2:45 PMexposure
should be the point at which your app is aware of a user's experiment assignment
, and we should fire an exposure event
any time you look up a user's assignment
. Firing this exposure event
is what trackingCallback
should do. But at the end of the day, a user being assigned
to a variant is the same as them being exposed
to a variant, so we could probably be more consistent in the documentation.
In our SDKs, any time you look up an assignment using, for example, isOn
or getFeatureValue
, we should fire a trackingCallback
before returning the result so that looking up a user's assignment
always coincides with us firing an exposure event
.better-bird-41546
07/12/2023, 4:00 PM