important-tailor-75460
04/15/2024, 8:19 AM.setAttributes({
id: "any id here",
});
const growthbook = new GrowthBook({
apiHost: "...",
clientKey: "...",
enableDevMode: true,
trackingCallback: (experiment, result) => {
// TODO: Use your real analytics tracking system
console.log("Viewed Experiment", {
experimentId: experiment.key,
variationId: result.key,
});
},
});
now this it makes problems because user can see variation 1 and variation 0 if he refreshes or comes back to the same page, I think this is happening because every time I am generating unique ID and I set that id in GrowthBook, for this reason I get this message in GrowthBookfresh-football-47124
fresh-football-47124