This article will guide you through creating and utilizing attributes for effective A/B testing.
Note: Kindly be aware that A/B Testing will be available only for Growth & Enterprise Plans.
Creating User Attributes
- Navigate to the Data page under the Settings section in UserGuiding.
- Click on the +New Attribute button.
- Fill out the form to define your new attribute:
- Attribute Name: Choose a name that clearly describes the attribute. The attribute name should consist of upper and lower case letters, numbers, hyphen (-), and underscore (_)
- Attribute Type: Choose the most suitable attribute type for the test you will run.

- Once you've filled out the necessary information, click Save to create the attribute.
Attribute Types
When setting up AB tests, you have several attribute options, each offering different ways to segment and analyze your user base.
A-B Testing
This option divides your entire user base into two equal parts by assigning each user a value of A or B. You can use this option for simple A-B tests to compare two variations of a feature or experience.
A-B-C Testing
Like the A-B option, this option assigns each user a value of A, B, or C, effectively dividing your user base into three equal parts. This will be useful when you have three variations to test, providing a more granular comparison.
A-B-C-D Testing
With this option, each user is assigned a value of A, B, C, or D, dividing your user base into four equal parts.
Random Number Attribute
This option assigns users a random number within a specified range, allowing for flexible segmentation. You can use this to create custom segments that do not fit the standard A-B patterns.

- Enter a value range, such as 1 to 10.
- This method allows for equal and unequal segment distributions, depending on your needs.
Using Attributes for User Segmentation
Once you create an attribute, UserGuiding automatically creates segments for each value.
For example, if you created attributes called "sample," the segments will be created automatically for you to use while crafting your test.

This automatic segmentation helps divide your entire user base into equal parts quickly and efficiently.
You can use these attributes to create new Segments too.

Important Note: You need to assign each segment to separate materials!
Monitoring Results
Our A/B Testing analytics page is currently being developed. In the meantime, you can create Goals to follow up on your test's progress. Simply navigate to the Goals tab from the left side menu and click Add a New Goal to track the material's performance.
