Anchor to customerSegmentMembersCountcustomer
querycustomer Segment Members Count
Requires access scope.
Returns the total number of customers who match the criteria defined in a customer segment. This count provides real-time visibility into segment size for targeting and analysis purposes.
For example, check the size of a "High-Value Customers" segment before launching a VIP program.
The count reflects current segment membership based on the segment's filter criteria, updating as customer data changes and new customers meet or no longer meet the segment conditions.
Anchor to Arguments
Arguments
- Anchor to queryquery•String
The query that's used to filter the members. The query is composed of a combination of conditions on facts about customers such as
with this syntax.
- Anchor to queryIdquery•ID
Id The ID of the segment members query.
- Anchor to segmentIdsegment•ID
Id The ID of the segment.
Was this section helpful?
Anchor to Possible returnsPossible returns
- Anchor to CountCount•Count
Details for count of elements.
Was this section helpful?