This message was deleted.
# ask-questions
w
This message was deleted.
k
Ok look like the answer is in the hash function here. https://github.com/growthbook/growthbook/blob/cd49c295bbb493642065eb3bbf22f7e89c9936ac/packages/sdk-js/src/util.ts#L30 I was able to debug the client side and see it working. Trying to figure out how the seed is derived now but I'm guessing it's in the Growthbook interface and the guid for that test...
s
Hi. It looks like you figured it out mostly, but the hashing is based on the user id and experiment id. In GrowthBook, if you implemented the experiment via a feature flag, you can use the Simulate tab to see how an experiment will be assigned.
k
So the seed ID is the experiment ID - is that just a uuid? Is it derivative as well or or do I need to get that value from the Growthbook UI?
Just wondering if there is a way to log it to GA as well alongside the experiment name - would make it easier to build a lookup table
106 Views