https://www.growthbook.io/
Join Slack
Hi! I'm trying to use the GrowthBook DevTools, but it seems like changing the current value of a fea...
m

Matthias Lohscheidt

about 3 years ago
Hi! I'm trying to use the GrowthBook DevTools, but it seems like changing the current value of a feature flag in the DevTools does not have any effect on my application (also reloading has no effect). This is my provider implementation (running on Next.js v12.1.6):
import { ReactNode, useEffect } from "react";
import { GrowthBook, GrowthBookProvider } from "@growthbook/growthbook-react";
import { useUser } from "src/lib/auth";
import useSWR from "swr";

const growthbook = new GrowthBook();

async function fetcher() {
  const res = await fetch(process.env.NEXT_PUBLIC_GROWTHBOOK_FEATURES_ENDPOINT);
  if (res.status !== 200) {
    return null;
  }
  const result = await res.json();
  return result?.features;
}

export default function MyGrowthBookProvider({
  children,
}: {
  children: ReactNode;
}) {
  const { data: featureFlags } = useSWR("feature-flags", fetcher);
  const user = useUser();

  useEffect(() => {
    growthbook.setFeatures(featureFlags);
  }, [featureFlags]);

  useEffect(() => {
    growthbook.setAttributes({
      id: user.data?.id,
    });
  }, [user.data]);
  return (
    <GrowthBookProvider growthbook={growthbook}>{children}</GrowthBookProvider>
  );
}
<MyGrowthBookProvider />
is used in
_app.tsx
(wrapping
<Component />
) The feature flagging works fine, only the dev tool doesn't have any effect.
m
j
  • 2
  • 5
  • 243
Hi everyone. I’ve been implementing GrowthBook in a Nuxt project (basically following the Vue instru...
t

Tom S

almost 2 years ago
Hi everyone. I’ve been implementing GrowthBook in a Nuxt project (basically following the Vue instructions), using G4A as a data source. I am still working locally but so far so good - I have features set up on GB and these are coming through fine, and also metrics set up that reporting data from G4A via Big Query. I’ve set up an experiment based on a feature, but have not got any data back yet. As far as I can see (in Big Query), no data has come through from G4A yet - specifically the ‘experiment_viewed’ event. I wanted to check if I had understood the tracking callback correctly, am I missing anything here that would stop my experiment tracking correctly? This is the instantiation of GB I have:
growthBook = new GrowthBook({
enableDevMode,
trackingCallback: (experiment, result) => {
// track using GA4
Vue.$gtag.event('experiment_viewed', {
event_category: 'experiment',
experiment_id: experiment.key,
variation_id: result.variationId,
})
},
})
I am still figuring all this out so may well have missed something important. Any help appreciated.
t
g
  • 2
  • 8
  • 242
Cannot read property 'GrowthBook' of undefined For some of the user this error is thrown . My tracin...
m

mohammed uvaiz

over 2 years ago
Cannot read property 'GrowthBook' of undefined For some of the user this error is thrown . My tracing callback function is not triggered at times for some users . Any possible reason why that’s happening @Graham
m
g
  • 2
  • 15
  • 242
Hi all, I am integrating GrowthBook SDK (<java sdk>) with my spring boot web-application. I am curio...
k

Kiart Tantasi

over 1 year ago
Hi all, I am integrating GrowthBook SDK (java sdk) with my spring boot web-application. I am curious if client key is supposed to treated as secret or not. Basically, i am using only in backend-side and no users can access this key but I just want to make sure I treat this key correctly (e.g. save it in secrets manager).
k
g
p
  • 3
  • 5
  • 240
Hey We have recently integrated Growthbook in our app and used Firebase remote config for feature f...
s

Sandeep Tiwari

about 2 years ago
Hey We have recently integrated Growthbook in our app and used Firebase remote config for feature flags earlier. Is there any way to migrate existing features from Firebase to Growth book Admin ? cc @Graham @Jeremy Dorn (GrowthBook)
s
g
  • 2
  • 5
  • 225
I have a question, if the fetch features here fail due to network reasons, the value calculated by u...
x

Xinzhe Zhou

over 2 years ago
I have a question, if the fetch features here fail due to network reasons, the value calculated by useFeature is null, how to deal with this situation, thanks https://docs.growthbook.io/guide/nextjs-and-growthbook
x
g
+2
  • 4
  • 8
  • 219
Hey Growthbook team - is there any plan for a Firefox extension? Or browser support beyond Chrome?
t

Tyler Barber

almost 3 years ago
Hey Growthbook team - is there any plan for a Firefox extension? Or browser support beyond Chrome?
t
j
  • 2
  • 2
  • 217
Hey guys, is there a way to `archive` features. So you have a record of every feature. This would ob...
d

Donnovan

about 3 years ago
Hey guys, is there a way to
archive
features. So you have a record of every feature. This would obviously be a logical delete, and the full delete is to get rid of any unnecessary junk.
d
g
j
  • 3
  • 13
  • 217
Been getting this "Your plan does not allow API calls." error as of late when updating data from Mix...
s

Serge Morel

about 2 years ago
Been getting this "Your plan does not allow API calls." error as of late when updating data from Mixpanel. Anyone else? Their pricing page still shows import APIs to be free, so weird IMO
s
j
  • 2
  • 3
  • 216
What could "Failed to fetch" mean when trying to import config.yml on self hosted GrowthBook instanc...
y

Yuri S

over 2 years ago
What could "Failed to fetch" mean when trying to import config.yml on self hosted GrowthBook instance?
y
g
  • 2
  • 5
  • 211
Previous456Next

GrowthBook Users

Open source platform for stress free deployments, measured impact, and smarter decisions.

Powered by