To learn more basics about attributes, including how to set them up, read this article.
To pass an attribute value through a query parameter, simply include the following query parameter in your URL:
For example, to set a visitor's first name where the property defined in Persosa is "first_name"
Passing an attribute in the query parameter is the same as calling
persosa('attribute', 'set', ...) in code. There's currently no way to manage attribute arrays through query parameters.
These are simple, just pass the text you'd like to set as shown in the previous example.
True/False (or "boolean") attributes can be set by using their text equivalents. To set the property to True, pass "true". To set the property to False, pass "false". Some examples:
mysite.com?persosa_attr_customer=true // Set to true
mysite.com?persosa_attr_customer=false // Set to false