2. Create an A/B Test activity
-
In Adobe Target, navigate to the Activities page, then select Create Activity > A/B test.
-
In the Create A/B Test Activity modal, leave the default Web option selected (1), select Form as your experience composer (2), select Default Workspace with No Property Restrictions (3), and click Next (4).
3. Define your A and B
-
In the Experiences step of activity creation, provide a name for your activity (1) and add a second experience, Experience B, by clicking the Add Experience (2) button. Enter the name of the location (3) within your application where you want to execute your feature test with attributes. In the example shown below,
product-results-pageis the location defined for Experience A. (It is also the location defined for Experience B.)
Experience A will contain the JSON that signals your business logic to do the following:
- Initiate the sorting algorithm feature via the
test_sortingfeature flag - Execute the recommended sorting algorithm defined in the
sorting_algorithm _**_attribute - Return 50 products per page as defined by the pagination strategy defined in the
pagination_limit
- Initiate the sorting algorithm feature via the
-
In Experience A, click to change the content from Default Content to the JSON by selecting Create JSON Offer as shown below (1).
-
Define the JSON with
test_sorting,sorting_algorithm, andpagination_limitflags and attributes that will be used to initiate the recommended sorting algorithm with a pagination limit of 50 products.NOTE
When Adobe Target buckets a user to see Experience A, the JSON with the defined attributes in the example will be returned. In your code, you will need to check the value of the feature flagtest_sortingto see whether the sorting feature should be turned on. If so, you will use the recommended value of thesorting_algorithmattribute to show recommended products in the product list view. The limit of products to show for your application will be 50, since that is the value of thepagination_limitattribute.
Experience B will define the JSON that signals your business logic to do the following:
- Initiate the sorting algorithm feature via the test_sorting feature flag
- Execute the
best_sellerssorting algorithm defined in thesorting_algorithm _**_attribute - Return 50 products per page as defined by the pagination strategy defined in the
pagination_limit
NOTE
When Adobe Target buckets a user to see Experience B, the JSON with the defined attributes in the example will be returned. In your code, you will need to check the value of the feature flagtest_sortingto see whether the sorting feature should be turned on. If so, you will use thebest_sellersvalue of thesorting_algorithmattribute to show best selling products in the product list view. The limit of products to show for your application will be 50, since that is the value of thepagination_limitattribute.
4. Add an audience
In the Targeting step, keep the All Visitors audience. This will enable you to understand the impact of your sorting feature, as well as which algorithm and number of items best influence the results.
5. Set traffic allocation
Define the percentage of your visitors against which you want to test your sorting algorithms and pagination strategy. In other words, to what percentage of your users do you want to roll out this test? In this example, to deploy this test to all logged-in users, keep the traffic allocation at 100%.
6. Set traffic distribution to variations
Define the percentage of your visitors that will see the recommended versus the best sellers sorting algorithm, with a limit of 50 products per page. In this example, keep the traffic distribution as a 50/50 split between Experiences A and B.
7. Set up reporting
In the Goals & Settings step, choose Adobe Target as the Reporting Source to view your A/B test results in the Adobe Target UI, or choose Adobe Analytics to view them in the Adobe Analytics UI.
8. Add metrics for tracking KPIs
Choose a Goal Metric to measure the feature test with attributes. In this example, success is based on whether the user purchases a product, depending on the sorting algorithm and pagination strategy they were shown.
9. Implement feature tests with attributes into your application
10. Implement code to track conversion events
11. Activate your feature tests with attributes
Was this content helpful?
Announcements
Get hands-on with agentic AI.
Explore how AI agents work together through real examples and hands-on practice. Join your local User Group to design an agent workflow with your peers and leave with a practical framework you can apply to your own work.
Find an eventAdobe Target Roadmap Webinar - Americas & EMEA
Preview the Adobe Target roadmap and ask the product team your questions live.
Adobe Target Roadmap Webinar - Americas & APAC
Preview the Adobe Target roadmap and ask the product team your questions live.