https://www.growthbook.io/ logo
#announcements
Title
# announcements
h

handsome-library-89124

06/06/2022, 12:24 PM
<!here> Does Growthbook store data in DB related to assigned variation flag value to given user? like userId=123
Copy code
inExperiment: true,
  variationId: 1,
  value: 'TEST_VAL_2',
  hashAttribute: 'id',
  hashValue: '333'
Does these information store in DB?
f

future-teacher-7046

06/06/2022, 1:31 PM
GrowthBook does not store that information. The SDKs have a trackingCallback you can define that lets you store that information yourself in your own database. Then, GrowthBook can query your database to analyze results
This approach means that you own 100% of your data at all times and you don't have to worry about data compliance issues like GDPR.
h

handsome-library-89124

06/06/2022, 1:50 PM
I actually want to search user and then override the flag value for specific user. is there any solution for this issue?
f

future-teacher-7046

06/06/2022, 1:52 PM
You can add a rule to a feature that forces a value to a specific user
h

handsome-library-89124

06/06/2022, 1:54 PM
Yes that is what I did now, but thinking about user list feature. BTW Where SDK store flag value for specific user? is it cache somewhere? if yes for how much time?
f

future-teacher-7046

06/06/2022, 2:52 PM
Instead of "is equal to" you can do "is in the list" and put a comma separated list of user ids. The SDKs just store the user attributes in memory. It's not persisted anywhere. So everytime you instantiate a new GrowthBook instance you need to pass the attributes in again.
1
13 Views