helpful-carpenter-3315
02/03/2025, 9:56 AMimproved_search_feature: true
).
But to determine the variation groups, this approach relies on the actual feature flag values, so the user would be divided into variation group by the `true`/`false` feature value. Therefore I'm not able to run proper A/A tests as feature flag values are same for all users aka I have no data on the user variation group on the GA4 event.
So I'm now thinking of a solution where I trigger a experiment_assigned
event from BE (in trackingCallback()
) whenever user (feature) flags are requested and user is included into the experiment. It does not mean that experiment is actually being "conducted" for the user as flags are just part of user object and user might not travel through the flow where experiment is defined. So in GrowthBook I would have experiment_assigned
events for purely user experiment assignment purposes. The actual experiment event is based on already existing GA4 events (search, item bought etc)
My question:
Is this solution overall viable for GrowthBook experiment analysis: to send feature flags as part of user object from API -> FE and having the experiment user assignment event decoupled from the actual experiment in FE? Or should I take another approach on this topic?
Asking because I did not find a good material from the docs how to actually construct and link the experiment events together. Appreciate for any help or thoughts on this!fresh-football-47124
helpful-carpenter-3315
02/04/2025, 1:56 PM