eager-dream-66020
09/22/2021, 10:24 AMwitty-portugal-73695
09/29/2021, 7:43 PMfaint-airplane-8152
10/05/2021, 12:55 AMwonderful-xylophone-6904
01/07/2022, 7:14 PMbig-wire-74760
01/13/2022, 3:20 AMmost-jackal-23578
01/19/2022, 3:02 PM/exeriments
endpoint to get all experiment configuration needed in one request. Would it be possible to add an /experiments
endpoint that could be accessed with the api key one can generate in the UI?hundreds-belgium-41942
01/25/2022, 3:01 AMhundreds-belgium-41942
01/27/2022, 3:40 AMicy-terabyte-95368
02/14/2022, 2:34 AM// Create a GrowthBook context
const growthbook = new GrowthBook();
// Load feature definitions (from API, database, etc.)
fetch("<https://s3.amazonaws.com/myBucket/features.json>")
.then((res) => res.json())
.then((parsed) => {
growthbook.setFeatures(parsed);
});
My questions are:
1. How does Growthbook know which feature to assign without knowing who the user is at this point?
2. If the user then creates an account and we use use growthbook.setAttributes()
to update the id, will whatever anonymous tracking token that was used previously be merged into the new ID we give it when the user signups?
3. Our app also allows people to create multiple accounts and switch between them. If this happens do we have to refresh the data? I'm assuming setAttribute
won't work here as we want to switch to an existing user id not update the existing user with a new ID.
Any guidance or direction on how to think about and manage this would be much appreciated.icy-terabyte-95368
02/22/2022, 6:03 AMcareful-planet-92513
02/23/2022, 8:52 PMDATETIME
instead of TIMESTAMP
here?
we're currently needing to cast all of our timestamp columns to datetimes (not a huge deal, just a lot of boilerplate)
https://github.com/growthbook/growthbook/blob/fba1913c12c41eb7e2b7f061f1e7f9184441ab98/packages/back-end/src/integrations/BigQuery.ts#L33-L35damp-angle-95696
02/24/2022, 7:39 AM<https://cdn.growthbook.io/api/features/key_dev_xxxxxx>
, the result I got is
{
"status": 200,
"features": {
"should-show-product-title": {
"defaultValue": true
}
}
}
However, when I do useFeature('should-show-product-title').on
, the result is false instead. So, what might be the root cause of these different results?damp-angle-95696
02/24/2022, 7:40 AMgrowthbook.setAttributes
still required programmatically?helpful-hydrogen-62495
03/08/2022, 1:19 AMnarrow-psychiatrist-15437
03/09/2022, 12:40 PMblue-button
and red-button
rather than 0
and 1
would make it simpler to distinguish between the different variantshelpful-hydrogen-62495
03/15/2022, 7:59 PMhelpful-hydrogen-62495
03/22/2022, 10:08 PMhelpful-hydrogen-62495
03/24/2022, 5:01 PMhelpful-hydrogen-62495
03/24/2022, 5:09 PMhelpful-hydrogen-62495
03/24/2022, 6:04 PMrhythmic-psychiatrist-74694
03/29/2022, 12:59 PMexport const useSetGrowthbookAttributes = (
attributes: Record<string, string | number | boolean>
) => {
const gb = useGrowthBook();
useEffect(() => {
gb?.setAttributes(attributes);
}, []);
};
But would love to hear other ideas!wooden-caravan-25690
04/07/2022, 8:26 PMhelpful-carpenter-3208
04/11/2022, 4:26 AMhelpful-hydrogen-62495
04/12/2022, 6:02 PMhallowed-accountant-29995
04/17/2022, 5:56 PMnarrow-psychiatrist-15437
04/20/2022, 1:44 PM<https://cdn.growthbook.io/api/features/[key]>
)?
Is it safe to assume that defaultValue
is always set to null
for a disabled feature?red-oyster-1284
04/26/2022, 8:48 PMError
Timed out waiting for GrowthBook SDK instance
is there any doc how to use chrome devtool for growthbook?red-oyster-1284
04/26/2022, 10:52 PMhelpful-hydrogen-62495
04/27/2022, 4:04 PMhelpful-hydrogen-62495
05/09/2022, 3:19 PM