Rrun split testing experiments on your designs by randomly showing different variants to users based on custom weight distributions instead of testing full pages
Make it with Workshop
Build your own component with AI
A component that helps you run split testing experiments on your designs by randomly showing different variants to users based on custom weight distributions (e.g., show variant A 70% of the time and variant B 30%). It tracks user interactions through Google Analytics to help measure the performance of each variant.
This component a part of the 400+ components, layouts, templates, UI Kits and code overrides from SegmentUI PRO. Click here to see the full library
Copy and paste the A/B Test component code into your project
Add your variants by connecting components as variants in the property panel - each variant should be a complete design you want to test
Configure the settings in the right properties panel:
Adjust weights for each variant (each number in the weights array corresponds to its matching variant - e.g., [70,30] means first variant shows 70% of the time)
Choose tracking mode (all clicks or link clicks only)
(optional) Enter your Google Analytics ID
Publish & Preview your project to see the random variant selection in action and check Google Analytics for tracking data
To verify tracking is working, go to Google Analytics > Reports > Realtime Overview
Check "Event count by Event name" to see your variant interactions in real-time
Enable debug mode if needed for testing and check your console.
The component requires:
Multiple design variants to test between
Google Analytics ID for tracking
Weight distribution for variants (how often each appears)
Track mode selection (all clicks or just link clicks) via Google Analytics (optional)
When you purchase this component, you'll receive:
The Component Itself - Full access to the component all future updates
Remix File with Component Setup - A complete Remix file with the component pre-configured and ready to integrate into your project.
Setup Instructions - Clear, step-by-step instructions to help you implement the component quickly and correctly.
Dedicated Support - Direct access to our team for assistance if you encounter any issues during setup or implementation.
For any queries and help setting up the component, contact hello@segmentui.com
If a component does not function as advertised and the issue cannot be resolved, you are eligible for a full refund under our quality guarantee. Refunds will not be provided for any other reasons, including change of mind, accidental purchase, lack of use, or expectations of features not explicitly advertised.