stale-energy-37042
09/12/2023, 6:08 PMboundless-egg-79384
09/13/2023, 3:04 AMdry-library-21731
09/13/2023, 7:36 AM"dateUpdated":"2023-09-12T09:56:45.778Z"
instead of the time when I updated changes few hours later. How can I fix this?rhythmic-napkin-63099
09/13/2023, 9:21 AMboundless-egg-79384
09/13/2023, 12:49 PManonymous
09/13/2023, 3:55 PMbetter-soccer-48499
joined #general.acceptable-salesmen-71657
09/13/2023, 9:48 PMbrief-traffic-36675
09/14/2023, 7:52 AMlatest
considered stable enough for prod or should we stick to the most recent git-<sha>
?microscopic-tent-22623
09/14/2023, 7:56 AMcolossal-alligator-31194
09/14/2023, 8:30 AMcountry not equal to 'GB'.
trackingCallback: async (experiment, result) => {
await sendSomeEvent(experiment, result)
},
when I test it manually everything seems right and trackingCallback ( and sendSomeEvent ) is not being called*. But* in larger scale when the code is on production I see events are being called for country GB which is not expected coz I want to exclude that country.
( I'm setting country as an attribute )
growthBook.setAttributes({ country });
I don't understand why this is happening.busy-horse-73824
09/14/2023, 12:14 PMaloof-helicopter-83740
09/14/2023, 12:16 PMuseFeatureIsOn
does that but from what I can see it just calls evalFeature under the hood which per docs calls tracking.
Our use case is that we have specific conditions on when user needs to be enrolled in the experiment so we can't enroll him just to check if feature is on.
For example we have 3 CTAs which change based on the experiment. All of those need to check if feature is on but only one of them should actually trigger enrollment.average-ghost-71945
09/14/2023, 12:58 PMclean-answer-93696
09/14/2023, 1:55 PM// Get JSON from GrowthBook and deserialize it into GBFeaturesResponse struct
res, err := http.Get("<https://cdn.growthbook.io/api/features/><environment_key>")
if err != nil {
fmt.Printf("Error fetching features from GrowthBook: %s \n", err)
os.Exit(1)
}
var featuresResponse GBFeaturesResponse
err = json.NewDecoder(res.Body).Decode(&featuresResponse)
if err != nil {
fmt.Printf("Error decoding JSON: %s \n", err)
os.Exit(1)
}
features := growthbook.ParseFeatureMap(featuresResponse.Features)
white-salesclerk-40048
09/14/2023, 2:35 PMambitious-apartment-58735
09/14/2023, 5:29 PMUnrecognized key(s) in object: '{ name: \"test_experiment\"}'"}%
. I have no problem getting experiment data via API (we’re self-hosted), but following the documentation to update an experiment (https://docs.growthbook.io/api#tag/experiments/operation/updateExperiment) doesn’t work, and neither have a few variations on that (eg sending the data as a json file). This may be more of an API question (I don’t work with them often) than a GB one, but any advice you have would be appreciated. (Googling the unrecognized key error hasn’t helped.) Thanks!careful-grass-28115
09/14/2023, 9:12 PMNot found: Dataset xxx:my_dataset was not found in location US
The query from on the metrics tab has the dataset specified in my datasource connection info instead of "_my_dataset"._
How can I ensure the query for my metric analysis takes the correct Dataset from my datasource connection info?brave-agent-21457
09/15/2023, 4:58 AMMust set an HTTP Client before loading features.
It's because we using managed shared hosting and it dies not have PSR HTTP client
Unfortunately this can not be enable on the managed shared hosting.
What's the other option to use it in the PHP/WordPress ?icy-ability-15057
09/15/2023, 7:56 AMsome-planet-44104
09/15/2023, 8:52 AMcrooked-salesclerk-71686
09/16/2023, 10:57 AM$mod
operator to target specific users in such a way:
{
"userId": {
"$mod": [
3,
0
]
}
}
Thank you 🙂microscopic-tent-22623
09/18/2023, 8:33 AMrapid-exabyte-3349
09/18/2023, 9:15 AMVALUE WHEN ENABLED
means in feature flags?brave-judge-45835
09/18/2023, 11:28 AManonymous
09/18/2023, 6:27 PMincalculable-vase-75518
joined #general.average-tomato-92232
09/18/2023, 8:23 PMthankful-minister-34216
09/18/2023, 10:25 PMboundless-egg-79384
09/19/2023, 8:39 AMboundless-egg-79384
09/19/2023, 8:40 AMflaky-controller-11131
09/19/2023, 9:47 AM