Magento 2 Experts — Hyvä Theme, Tailwind CSS & SEO from a Single Source ›

Magento 2 customer segments: prices and content by buying behavior

Magento 2 Extension Hyvä Ready Magento 2.4.x

SKU: CUSTOMERSEGMENTS1

  • Segments from rules: revenue, order count, country, category purchases
  • Automatic recalculation via cron and after every order
  • Usable as a condition in cart price rules and CMS blocks
  • CSV export of segment members for newsletter systems
Auf Lager
€199.00

Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.

No download, but personal setup

No download, but personal setup. This product is not a downloadable software package for self-installation. With your order, you commission Mironsoft to individually set up this module in your shop. We will get in touch with you within 2 business days — we'll sort out the details and payment together then.

This offer is aimed at business owners and companies running a Magento 2 shop.

Overview

Magento 2 customer segments: target groups automatically instead of by hand

Not every customer is worth the same and not everyone needs the same approach. Someone who spends 1,500 a year deserves a loyalty bonus, a new customer needs orientation, a customer from Austria needs different shipping notes. Magento offers customer groups for this, but they are assigned by hand or at registration and do not follow actual behavior. This page covers Magento 2 customer segments in detail.

With Magento 2 customer segments the module calculates segments from your own shop data: total revenue, order count, country, time since the last order and purchases in specific categories. Segments update themselves via cron and after every order. You use them as a condition in cart price rules, control CMS blocks with them and export members for your newsletter system. You operate it in the Magento admin, the output in the Hyvä frontend needs no extra JavaScript.

6 Features

Magento 2 customer segments instead of manual customer groups: segments that update themselves

Define the rule once, the module assigns customers automatically and removes them again when they no longer match.

Rule-based segments

Conditions from total revenue, order count, country, category purchases and last order.

AND/OR groups

Combine conditions in nested groups, as you know from Magento price rules.

Automatic upkeep

Recalculation via cron and after orders, assignment without manual work.

Prices and promotions

Segments as a condition in cart price rules, e.g. loyalty discount above 1,000 revenue.

Content by segment

Show or hide CMS blocks and widgets for a segment only.

Export

Provide members as CSV for newsletter and CRM systems.

01Segment rules

Customer segmentation in Magento: describe target groups by rule

A segment consists of conditions: for instance total revenue of the last 12 months above 1,000, at least three orders, shipping country Austria or at least one purchase in a given category. Conditions can be grouped with AND/OR. For Magento 2 customer segments the preview shows how many customers currently match.

  • Revenue, order count, country, last order X days ago, category purchases
  • Condition groups with AND/OR
  • Preview with member count before activating
Customers › Segments › Loyal DACH customers
Conditions (all must match)
Revenue last 12 months> 1,000
Total orders>= 3
Shipping countryDE, AT, CH
Marketing › Cart price rule
Condition
Customer belongs to segment "Loyal DACH customers"
Action
5% discount on the cart
Preview result
1,248 customers affected
02Prices and content

Price rule by customer segment and CMS content per target group

Magento 2 customer segments appear as an extra condition in cart price rules, so discounts, free shipping or notices only apply to matching customers. For CMS blocks and widgets you define which segment may see them. Guests belong to no segment and see the default content. With full-page caches, segment-dependent content has to be delivered as private content, which the setup takes care of for you.

  • Segment as a condition in cart price rules
  • Show or hide CMS blocks and widgets per segment
  • Guests always see the default content
03Upkeep and privacy

Maintain Magento 2 customer segments traceably and data-minimally

A cron job recalculates Magento 2 customer segments, and affected customers are re-evaluated right after an order. The admin customer profile shows current segments, the log records entry and exit with a timestamp. The module only uses data from your own shop. Segmentation is processing of personal data, so review your privacy policy and records of processing activities.

  • Recalculation via cron and after orders
  • Log of entry and exit per customer
  • No external data sources, no transfer to third parties
Customer profile · Segments
Maria Example · customer since 2023
Loyal DACH customerssince 2026-03-12
Coffee category buyerssince 2026-11-02
Inactive 180 daysnot matching
Use cases

How shops use Magento 2 customer segments

Three typical everyday scenarios.

Loyalty discount for repeat customers

Segment Repeat customers: at least three orders and more than 1,000 in revenue over twelve months. A cart price rule automatically grants this segment five percent.

Reactivating inactive customers

Segment Inactive: last order more than 180 days ago. You export the members as CSV and address them specifically in your newsletter system.

Country-specific content and notices

Segment Austria: shipping country AT. A CMS block with matching shipping information appears only for these customers and is hidden for everyone else.

Comparison

Customer groups versus Magento 2 customer segments

AspectCustomer groups (Magento default)Customer Segments
AssignmentBy hand or at registrationAutomatically by rules from order data
FreshnessOnly on manual changeCron and re-evaluation after an order
ConditionsNoneRevenue, order count, country, category purchases, inactivity
Use in price rulesYes, but staticSegment as a condition, dynamic
TraceabilityNo historyLog with entry and exit
Process

Setting up Magento 2 customer segments in five steps

  1. 1

    Clarify goals

    We discuss which target groups matter for prices, content and newsletters.

  2. 2

    Installation

    Mironsoft installs the module and sets up the cron for recalculation.

  3. 3

    Create segments

    Together we build the first segments and check the member count in the preview.

  4. 4

    Connect

    Segments are linked with cart price rules, CMS blocks and the export.

  5. 5

    Privacy check

    You receive a list of processed data fields for your privacy policy and records of processing.

Differentiation

Differentiation from related Mironsoft modules

The module determines who belongs to which target group. Individual prices for single customers remain the job of Custom Price, access to protected CMS pages belongs to CMS Page Restriction, admin permissions to Advanced Permissions. All three can use segments as a condition.

Because Magento 2 customer segments are based on order data, they complement recommendation modules like Who Bought This Also Bought: first the segment arises, then you steer its content.

04How the purchase works

No download — personal setup instead

Customer Segments is not listed here as a ready-made download file for self-installation. The purchase is a service commission: we get in touch with you after the purchase, install the module in your shop and define your first segments, recalculation intervals and the connection to price rules and CMS blocks together with you.

Important to know

Your purchase does not include a download link. We will get in touch with you within 2 business days — we'll sort out the details and payment together then. This offer is aimed at business owners and companies running a Magento 2 shop.

FAQ

Frequently asked questions

Everything you need to know about how it works, setup and how the purchase works.

How are Magento 2 customer segments different from customer groups?
Customer groups are assigned by hand or at registration. Segments are calculated from rules and update continuously without changing the customer group.
Which conditions are possible?
Total revenue in a period, order count, country, time since last order, purchases in specific categories and the customer group.
How current are Magento 2 customer segments?
Via cron in a configurable interval and additionally after each new order of the affected customer.
Is segmentation privacy compliant?
The module only uses shop data and shares nothing with third parties. The legal assessment, such as informing users in the privacy policy, is yours as the controller.
Does it work with page cache and Hyvä?
Yes. Segment-dependent content is delivered so that the page cache for guests stays intact, implemented in Hyvä style with Alpine.js and no extra library.
How can I segment customers automatically in Magento 2?
With a segment module: you define conditions such as revenue or order count, the module assigns matching customers and keeps the assignment up to date.
How do I give repeat customers a discount in Magento 2?
Create a segment for repeat customers and use it as a condition in a cart price rule.
Do guests see Magento 2 customer segments?
No, visitors who are not logged in belong to no segment and see the default content.
Can I take segments into my newsletter system?
Yes, members can be exported as CSV. The transfer is up to you, the module itself passes no data to third parties.
Can I download and install the module myself?
No. This is not a download product. After the purchase we install and configure the module for you personally in your shop.
Write Your Own Review
You're reviewing: Magento 2 customer segments – Mironsoft
loader
Loading...

You submitted your review for moderation.

This form is protected by reCAPTCHA - the Google Privacy Policy and Terms of Service apply.

Magento 2 customer segments – Mironsoft

Magento 2 customer segments – Mironsoft

€199.00