Test Group Hooks

useIgTestGroups()

Returns a list of Test Groups the user is in.

const useIgTestGroups: () => {
    isReady: boolean;
    testGroups: PluginTestGroupType[]
}

useIgTestGroup()

Returns the Test Group the User is in for the inputted Experiment.

const useIgTestGroup: (experimentId: string) => {
    isReady: boolean;
    testGroup: PluginTestGroupType | null;
}

Last updated