I realise that the syntax for getting attributes for a split with traffic type user is where customer_id is the unique identifier of the user.
var treatment = sdk.GetTreatment("CUSTOMER_ID","SPLIT_NAME", attributes);
If my understanding is correct the user could be exposed to a number of splits, with different traffic types. If the code needs to evaluate all possible treatments, is there any best practice for the same? Or should it be best handled at the split definition stage.
Any pointers to this would be helpful.
Please sign in to leave a comment.