This message was deleted.
# ask-questions
w
This message was deleted.
h
We only fire the trackingCallback for experiment exposure events; if they're firing everywhere that would probably be an implementation issue.
b
How can I make it fire only by making an experiment fire based on URL from the dashboard?
h
Are you talking about a visual experiment made with the visual editor? Or an AB experiment linked with a feature flag?
b
AB test linked with a feature flag
h
there are a few ways to do this: • If you have configured a
url
-type attribute and made that available to your SDK, then you can write attribute targeting conditions on that URL using regex within the GrowthBook app • Or (probably easier), do a URL check in your codebase so that you only check the feature flag's state if on the correct URL
151 Views