Audience

Use attributes to target an specific audience by using JsonLogic.

let userId = "676380e0-7793-44d6-9189-eb5868e17a86"
let experimentId = "experiment-2"
tesfy.getVariationId(experimentId: experimentId, userId: userId, attributes: "{ \"countryCode\": \"ve\" }") // nil
tesfy.getVariationId(experimentId: experimentId, userId: userId, attributes: "{ \"countryCode\": \"us\" }") // "0"