Attributes
For any additional parameters or information about the current user, you can use attributes to pass that data to VWO.
These attributes would typically be any additional user info that you'd like to use in VWO for post-segmentation (filtering, slicing and dicing of reports).
For example, you might want to analyze the performance of a test based on the user type to see which user type converted better or worse than the other. For this, you can pass on the "user type" as an attribute to VWO, with the relevant values for each user, ie "free", "paid" or whatever internal parameters you'd like to use for post-segmentation.
Usage
// send attributes data
vwoClient.setAttribute('attribute_name', 'attribute_value', userContext);
Please note that attributes are used only for post-segmentation of the data. For using any similar user parameters as targeting conditions, you must use customVariables within userContext.
Updated 3 days ago