Audience

Use attributes to target an specific audience.

const userId = '676380e0-7793-44d6-9189-eb5868e17a86';
const experimentId = 'experiment-2';
tesfy.getVariationId(experimentId, userId, { countryCode: 've' }); // null
tesfy.getVariationId(experimentId, userId, { countryCode: 'us' }); // '0'