Top Purchase Category in Bloomreach Aggregates
Bloomreach Marketing calculates top purchase category by revenue through customer-level aggregates that sum the purchase > total_price attribute grouped by category event properties. This approach identifies which product categories generate the highest revenue per customer profile, enabling segmentation and campaign targeting based on spending patterns.

The process requires three configuration steps: selecting the sum function on purchase total price, grouping results by product category attributes, and applying event filters to exclude canceled or refunded orders. Bloomreach Search offers a separate category analytics module for store-wide revenue ranking based on catalog performance rather than customer purchase history.
How mature is your CRM setup?
Find out in minutes with a free CRM maturity check.
Calculating Top Category Revenue via Bloomreach Marketing Aggregates
Customer-level aggregates in Bloomreach Marketing sum revenue across purchase events and organize results by category attributes to show which product categories drive the most customer spending. The aggregate evaluates the sum > purchase > total_price formula, meaning it adds the total_price value from each purchase event and groups those sums by the category attribute specified in your event schema.
This calculation happens at the profile level, so the aggregate reflects each customer’s total spending per category across all their purchase events. The result can then be used in Scenarios for targeting or broken down in Reports to compare category performance across customer segments, campaigns, or time periods.
Choosing Between Customer Aggregates and Reports for Revenue
Aggregates and Reports serve different analytical needs in Bloomreach Marketing. An aggregate is a stored calculation on the customer profile that continuously updates as new purchase events arrive, making it efficient for real-time segmentation in Scenarios or for filtering audiences.
A Report is a one-time or scheduled analysis that breaks down the same metric across dimensions like time, channel, or customer segment, used for business intelligence and trend analysis.
Use an aggregate when you need to identify and target customers based on their top category spend in an active campaign. Use a Report when you need to analyze which categories performed best across your entire customer base during a specific period, or to compare performance across different customer groups.
Summing Total Price and Grouping by Product Category Attributes
To configure the sum function on purchase total_price, you navigate to your Data Manager or Metrics section and create a new aggregate. Select the purchase event type, then choose the sum function and specify total_price as the value to aggregate. Next, add a grouping dimension by selecting the category attribute from your purchase event schema, such as category, item_category, or product_category depending on how your events are structured.
The category attribute must exist on the purchase event itself or be accessible through the event’s properties. If products are tracked in a nested purchase_list array on a single purchase event rather than as separate purchase_item child events, you may need to use item-level event properties or custom expressions to break down revenue by individual product category. Consult your event schema documentation to confirm whether category data is stored at the purchase level or within line-item arrays.
Configuring Event Filters to Exclude Canceled Orders
Event filters refine aggregates by applying conditions to the same event being summed, such as purchase_status = success to include only completed transactions. This prevents canceled or refunded orders from inflating your revenue totals. In Bloomreach Marketing, you add the filter when creating the aggregate or metric, specifying the attribute name and the value it must match.
A filter on purchase_status = success ensures the aggregate only sums purchase events where the transaction completed. You can also apply additional filters on total_price thresholds or other purchase attributes if your business logic requires excluding certain transaction types.
Without these filters, your category revenue aggregate will include all purchase events regardless of fulfillment status, producing inaccurate revenue rankings. Voxwise has found that misaligned event filters are a common source of discrepancies between reported and actual revenue when implementing Bloomreach Marketing for ecommerce clients.
Comparing Bloomreach Marketing and Search Category Revenue Analytics
Bloomreach Marketing aggregates calculate revenue based on customer purchase history stored in individual profiles, making them ideal for segmentation and personalization. Bloomreach Search Category Analytics measures top category performance using add-to-cart assisted revenue and revenue per visit metrics derived from catalog-level search interactions, making it suitable for understanding store-wide performance and merchandising decisions.
The two systems use different data sources and attribution models, which is why total revenue figures may differ between them. Bloomreach Marketing sums actual purchase totals from completed transactions on customer profiles, while Bloomreach Search analyzes assisted revenue based on search interactions and catalog engagement.
Choose Bloomreach Marketing aggregates to target customers by their purchase behavior; choose Bloomreach Search Category Analytics to optimize product discovery and catalog performance.
How mature is your CRM setup?
Find out in minutes with a free CRM maturity check.
Filtering Top Purchase Category Aggregates for UK Ecommerce Markets
To restrict category revenue calculations to specific geographic regions such as the GB market, add a filter on a geography attribute in your purchase event schema, such as country = GB or region = UK. This filter is applied when creating the aggregate, ensuring only purchases from customers in that market are included in the revenue sum.
Similarly, if your ecommerce operation tracks multiple currencies, filter by currency = GBP to isolate revenue figures for the UK market specifically. These filters can be combined with the purchase_status = success filter so that your category revenue aggregate reflects only completed purchases from the target region. Verify that your event schema includes these geography and currency attributes before configuring the aggregate.
Comparison Table
| Analytics Module | Primary Data Function | Data Scope | Best Use Case |
|---|---|---|---|
| Bloomreach Marketing Profile Aggregates | Sum of purchase total_price grouped by category | Customer-level purchase history | Real-time customer segmentation and targeting by category spend |
| Bloomreach Marketing Analytics Reports | Breakdown of revenue metric across customer segments, time periods, or channels | Campaign and cohort-level performance | Business intelligence and trend analysis across customer groups |
| Bloomreach Search Category Analytics | Add-to-cart assisted revenue and revenue per visit metrics | Catalog and search interaction data | Store-wide category performance and merchandising optimization |
FAQ
An aggregate is a stored calculation on customer profiles that continuously updates as new events arrive, used for real-time targeting in Scenarios. A metric is a calculation applied in Reports to analyze data across time periods or customer segments, typically generated on demand rather than stored on the profile. Both can use the same sum function on purchase total_price, but aggregates live on profiles while metrics exist within reports.
Standard customer aggregates summing purchase > total_price cannot break down revenue by individual product category when products are tracked inside a nested purchase_list array on a single purchase event rather than as discrete purchase_item child events. You would need to use item-level event properties or custom expressions to isolate category-level revenue from line-item arrays.
Bloomreach Search Category Analytics measures revenue using add-to-cart assisted revenue and revenue per visit metrics based on search interactions and catalog engagement, while Bloomreach Marketing aggregates sum actual purchase totals from completed transactions on customer profiles. The two systems use different data sources and attribution models, producing different revenue figures for the same product categories.
Customer purchase aggregates update when new purchase events are ingested into the customer profile, reflecting real-time or near-real-time transaction data depending on your event pipeline configuration. The frequency depends on how quickly purchase events are sent to Bloomreach and processed by the system, which varies based on your integration setup.
Ready to Audit Your Revenue Aggregates
Review your customer aggregate structure and revenue reporting setup by auditing your event mapping with our team.
Voxwise has guided enterprises through Bloomreach Marketing implementations to ensure category revenue calculations reflect business requirements and exclude invalid transactions accurately.