late-spring-83291
09/25/2023, 8:23 AMwhite-fireman-22476
09/25/2023, 8:38 AMonFeatureUsage
. For example in React: https://docs.growthbook.io/lib/react#feature-usage-callback. You can you then send a tracking event to your data warehouse to analyze it.late-spring-83291
09/25/2023, 8:59 AMno data yet
but I don't see that in this case. Is it designed not to load any data at all?white-fireman-22476
09/25/2023, 9:45 AMlate-spring-83291
09/25/2023, 9:48 AMwhite-fireman-22476
09/25/2023, 9:49 AMlate-spring-83291
09/25/2023, 9:49 AMwhite-fireman-22476
09/25/2023, 9:49 AMlate-spring-83291
09/25/2023, 9:50 AMwhite-fireman-22476
09/25/2023, 9:51 AMonFeatureUsage
. But trackingCallback
will not be called because it is not assigning an experiment. Does that answer your question?late-spring-83291
09/25/2023, 9:53 AMwhite-fireman-22476
09/25/2023, 9:54 AMlate-spring-83291
09/25/2023, 9:54 AMwhite-fireman-22476
09/25/2023, 9:56 AMlate-spring-83291
09/25/2023, 10:21 AMdef __init__(
self,
enabled: bool = True,
attributes: dict = {},
url: str = "",
features: dict = {},
qa_mode: bool = False,
on_experiment_viewed=None,
api_host: str = "",
client_key: str = "",
decryption_key: str = "",
cache_ttl: int = 60,
forced_variations: dict = {},
# Deprecated args
trackingCallback=None,
qaMode: bool = False,
user: dict = {},
groups: dict = {},
overrides: dict = {},
forcedVariations: dict = {},
)
This is how i was setting up my tracking
self.gb = GrowthBook(
attributes=self.attributes,
features=features,
trackingCallback=self.on_experiment_viewed if not do_not_track else None,
)
white-fireman-22476
09/25/2023, 10:33 AM