Magento 2 Module CustomerSegments

Module Features
- Segment builder: Category → Metric → Operator → Value criteria joined with AND/OR
- Criteria by order frequency, spending, coupon usage, book category, genre, publisher and purchase recency
- Taste and behavior clusters from a Python analytics core imported as ready-made segments
- Daily or one-off gift certificate rules with a control group, cooldown and daily caps
- Certificate delivery through eSputnik events with personalised parameters
- Report: issued → activated → used, revenue and uplift against the control group
- Segment analytics page with interactive Plotly charts