In this article, we’ll walk you through the steps to set up A/B testing using Microsoft Clarity and GA4. By using a URL filter of Microsoft Clarity, you can segment data and analyze them for different versions of your webpage. Fortunately, Clarity has custom tags (and GA4 custom dimensions), so you can tag your users and filter them in reports. What Are Microsoft Clarity Custom Tags? For instance, none of the A/B testing tools we tried could provide a user-friendly interface for testing different types of ads without custom coding.