Hello! I'm looking at getting a Pro license but I have some questions about API usage limits and som...
w

Wendi Fan

over 1 year ago
Hello! I'm looking at getting a Pro license but I have some questions about API usage limits and some miscellaneous questions I had from reading the documentation. Would someone be able to help me answer these? Thanks! 1. We’re looking to integrate several GrowthBook SDKs with our website – in particular, for C#, Javascript and React. There’s several separate React instances on our website at the moment, which as I understand it would need to separately call loadFeatures(). a. Would these all count as separate calls to the API, i.e. require 4+ per session? b. Would subsequent requests from the same user (as identified by provided attributes) be cached by your CDN, Fastly? c. If they do get cached, is there any guidance on how often it’s fetched from cache vs as a fresh request? 2. The React documentation describes two parameters, subscribeToChanges and backgroundSync. a. We’re planning to set backgroundSync to false, to disable streaming updates. What is the difference between this and subscribeToChanges? (Are they the same thing, where the name changed at some point?) 3. Visual Editor in React a. For use in React components, we need to call gb.setUrl() so active experiments can update. Does this count as an API request to GrowthBook? 4. The React documentation mentions Remote Evaluation, and that Cloud customers need to host a GrowthBook Proxy for this. a. Can you give an example of when I might want/need to use remote evaluation? How do I work out if this is something I need? 5. There is a onFeatureUsage parameter. I’d like to understand how this works with Percentage Rollout. In particular, the documentation states: "Percentage Rollouts do not fire any tracking calls so there's no way to precisely correlate the rollout to changes in your application's metrics." a. Does this mean that whilst we cannot track metrics in GrowthBook directly when performing percentage rollout, we can still track this ourselves e.g. by using onFeatureUsage to send a tracking event to our GA4 implementation? 6. Flickering a. As I understand it, it’s inevitable that there will be some extent of flicker for client side A/B testing. i. Is there any advantage to using the Visual Editor using the SDK over the GTM tag? ii. Would feature A/B tests be affected by flicker at all?