How To Configure Customer Segments In Magento 2

brown and white open signage on green grasses

Magento is an open-source e-commerce platform that is widely used by businesses all over the world. It provides a comprehensive solution for online businesses to manage their store, customer data, and orders. One of the key features of Magento is its ability to segment customers based on different criteria. By configuring customer segments, you can create personalized experiences for your customers, increase customer loyalty and retention, and ultimately drive more sales. In this article, we will discuss how to configure customer segments in Magento 2.

Speed Up Your Magento Store by 300%

Step 1: Access Customer Segments

The first step to configure customer segments in Magento 2 is to access the customer segment interface. To do this, log in to your Magento 2 backend and navigate to Customers > Customer Segments.

Step 2: Create a New Customer Segment

Once you are in the customer segments interface, click the "Add New Segment" button to create a new customer segment. You will be redirected to a form where you can define the criteria for your customer segment.

Step 3: Define Segment Criteria

In the customer segments form, you can define the criteria for your customer segment. There are several criteria that you can choose from, including customer attributes, shopping cart attributes, and order attributes. Here are some examples of the criteria you can use to segment your customers:

Customer Attributes

  • Customer group
  • Gender
  • Age
  • Country
  • Newsletter subscription

Shopping Cart Attributes

  • Cart subtotal
  • Cart items count
  • Products in cart

Order Attributes

  • Order total
  • Products purchased
  • Order date

You can define multiple criteria for your customer segment to create a more targeted and personalized experience for your customers.

Step 4: Preview and Save Customer Segment

After defining the criteria for your customer segment, you can preview the segment to see how many customers match the criteria. If you are satisfied with the results, you can save the customer segment.

Step 5: Use Customer Segments in Marketing Campaigns

Once you have created your customer segments, you can use them in your marketing campaigns to create personalized messaging for your customers. For example, you can create a targeted email campaign for customers who have abandoned their shopping carts, offering them a discount or free shipping to encourage them to complete their purchase.

Best Practices for Customer Segmentation in Magento 2

Here are some best practices to keep in mind when configuring customer segments in Magento 2:

  • Define your customer segments based on real data and insights. Use customer data to identify common characteristics and behaviors that can be used to segment your customers.
  • Continuously monitor and update your customer segments to ensure they are still relevant and accurate.
  • Use customer segments to create personalized experiences for your customers. Tailor your messaging, promotions, and content to the needs and interests of each customer segment.
  • Use A/B testing to determine the effectiveness of your customer segmentation strategy. Test different messages and promotions on different segments to identify the most effective approach.


Customer segmentation is a powerful tool for online businesses to create personalized experiences for their customers and drive more sales. With Magento 2, it is easy to configure customer segments based on a variety of criteria, allowing you to effectively target and engage your customers. By following best practices and continually monitoring and updating your customer segments, you can create a more effective and efficient marketing strategy for your e-commerce business.

Scroll to Top