creamy-breakfast-20482
07/22/2025, 1:16 PMlate-ambulance-66508
07/27/2025, 10:21 AMlate-ambulance-66508
07/28/2025, 8:42 AMlittle-balloon-64875
07/31/2025, 8:14 PM<https://mydomain.com/?source=affiliates&aff_id=12345&tracking_id=xyz123&ref=12345>
⢠<https://mydomain.com/?source=affiliates&aff_id=abcdefg&tracking_id=abc789&ref=abcdefg>
Regex patterns I've tried that aren't working, both on url and `query`:
1. aff_id=(12345|abcdefg)
2. [?&]aff_id=(12345|abcdefg)(&|$)
3. \?.*aff_id=(12345|abcdefg)
Feels like it's far too difficult to target experiments on specific URLs, is this something on the roadmap or maybe I'm missing with experiments?cold-london-76468
08/01/2025, 3:54 PMexperiment_started event is being triggered on random pages across our site, not just on the intended experiment page(s).
⢠The experiment is configured to run only for registered users, but it is also being triggered for leads (unregistered users).
Questions:
⢠Is it possible for GrowthBook to trigger the experiment_started event on pages outside of the specified targeting rules, or for users who do not meet the targeting criteria (e.g., leads)?
⢠Or does this indicate a misconfiguration on our end, and such behavior should not be possible if GrowthBook is set up correctly?
We want to make sure we are not missing anything in our setup. Any guidance or clarification would be greatly appreciated!
Thank you!cold-london-76468
08/05/2025, 4:11 PMtrackingCallback
method should be call, because it's no clear from documentationadamant-journalist-86489
08/20/2025, 11:47 AMwide-animal-47146
08/20/2025, 8:39 PMhundreds-stone-43870
08/26/2025, 3:43 PMhallowed-rainbow-76677
08/26/2025, 6:02 PMlittle-balloon-64875
08/27/2025, 12:02 PMconst gb = new GrowthBook({
apiHost: [redacted],
clientKey: [redacted],
decryptionKey: [redacted],
trackingCallback: onExperimentViewed,
});hundreds-student-36571
08/29/2025, 4:25 PMexport const gbInstance = new GrowthBook({
apiHost: import.meta.env.VUE_APP_GROWTHBOOK_API_HOST,
clientKey: import.meta.env.VUE_APP_GROWTHBOOK_CLIENT_KEY,
enableDevMode: !isProduction(),
plugins: [autoAttributesPlugin()],
trackingCallback: (experiment, result) => {
$analytics.track({
event_type: 'Experiment Viewed',
event_properties: {
experimentId: experiment.key,
variationId: result.key
}
});
console.log(`key-${experiment.key} result-${result.key}`);
}
});
const initializeGrowthBook = async () => {
try {
if ($analytics) {
gbInstance.updateAttributes({
id: $analytics.amplitude.getUserId(),
deviceId: $analytics.amplitude.getDeviceId()
});
}
await gbInstance.init({ streaming: true });
gbFlags.initialize(gbInstance);
return gbInstance;
} catch (e) {
return null;
}
};
Iâm implementing it like this, and in the plugins I specify autoAttributesPlugin(). That generates attributes for targeting (one of them is id).
When setting up an experiment in the admin panel, you can assign it based on anonymous_id or user_id. How is this id connected with user_id or anonymous_id? Or do I need to explicitly set user_id and anonymous_id when initializing?
If so, how should this be connected with Amplitude, since it has both user_id and device_id? (edited)hundreds-student-36571
09/01/2025, 6:15 AMnarrow-horse-42795
09/04/2025, 7:58 AMcrooked-market-21946
09/11/2025, 10:47 AMgreen-yacht-27275
09/15/2025, 2:09 AMbillowy-motherboard-18512
09/29/2025, 9:51 AMuser_id within each SG) so the split auto-balances across all SGs, instead of 100 separate experiments?
Thank you!refined-musician-86340
10/03/2025, 8:58 PMprehistoric-horse-37258
10/11/2025, 2:54 PMlemon-book-46596
10/15/2025, 8:14 AMvictorious-knife-68405
10/15/2025, 8:35 AMtracking callbacks the GrowthBook-Swift SDK provides.
We have set up a new project with 3 feature flags and only one experiment with 2 variations. The problem we're seeing is that the variation names (that are set in GrowthBook Web admin GUI) are not being sent to the SDK as seen in the network response and making it rather hard to track the experiment (see $.features['tempad-locations-search'].rules[*].meta[*] objects missing `name`:
https://private-user-images.githubusercontent.com/1733327/500902721-28f50209-5a17-4fc6-9a13-a64a9[âŚ]QifQ.tr7ayPWTywtOlAUXGCJ1KUDqpcfRIEmW4IFWgJ90yQk
Full description here - https://github.com/growthbook/growthbook-swift/issues/132victorious-van-20692
10/15/2025, 12:49 PMmicroscopic-gigabyte-19983
10/16/2025, 2:46 PMadorable-bear-66287
10/22/2025, 12:05 PMplain-cat-20969
10/28/2025, 12:53 AMbusy-megabyte-43386
10/28/2025, 12:32 PMhundreds-stone-43870
11/07/2025, 3:05 PMcreamy-minister-96874
11/17/2025, 11:57 AMmany-dusk-66209
11/22/2025, 2:23 PMfresh-lizard-81136
11/27/2025, 11:40 AMstart_sizing_tool) as the activation metric.
2. Segment: creating a segment that includes only users who have triggered start_sizing_tool.
Both these approaches use the same GA4 event
In theory these should produce similar experiment populations, but in practice theyâre very different - the activation metric looks accurate when I compare to GA4 over the same period of the test but the segment cuts my experiment population by more than half.
Why does activation vs. segment produce such different populations, and which is the correct approach for an experiment where only sizing-tool users should be evaluated?