curved-accountant-6477
10/26/2023, 5:05 AMtrackingCallback: (experiment, result) => {
analytics.track("Experiment Viewed", {
experimentId: experiment.key,
variationId: result.key,
// Add properties to the .track call to represent that the user got the experiment properly via the remote rules, and not a timeout or something else
})
AnalyticsService.track('Experiment Shown', {
name,
variant,
remote_config_available: experimentValue.getSource() === 'remote',
remote_config_value: experimentValue.asString(),
predicate_failed: predicateFailed,
});