brainy-hospital-14940
09/19/2024, 6:37 AMtrackingCallback
, and here is the code:
trackingCallback: (experiment, result) => {
trackEvent('experiment_viewed', {
experimentId: experiment.key,
variationId: result.key
});
}
My question is: do I need to include the userId
in this event? If not, how would GrowthBook know which user is exposed to which experiment and variation?
Additionally, for other custom events, should I also send the experimentId
, variationId
, and userId
with those events?fresh-football-47124
fresh-football-47124
fresh-football-47124