persosa('attribute', '<Operation>', '<Attribute>' [, '<Value>']);
The operation to perform on the given attribute. One of the following:
Set the attribute to the given value.
Delete the current value of the attribute.
Push the given value onto an array. If
<Attribute> is not an array, it is set to an array and the value pushed onto it.
Same as push, but only pushes the value if it doesn't already exist in the array (case sensitive).
If the given value exists in the array, remove it (case sensitive).
The name of the attribute to perform the operation on.
If applicable, the value to use when performing the operation.
Let's track the age of a visitor as we collect it from the form.
// Set the age value
persosa('attribute', 'set', 'age', ageVal);
// Clear the age value
persosa('attribute', 'delete', 'age');