Event streams overview
Event streams are the foundation of real-time customer data collection in Bloomreach Data hub. They act as a forwarding system that captures customer behavior—including customer IDs, attributes, and events—and routes this data to your connected Bloomreach products for processing and activation.
What are event streams?
Event streams are Data hub's pipelines that connect your data sources to Bloomreach products. Each event stream receives customer data from your website or app and forwards it to your connected destinations (your Discovery accounts and Engagement projects).
Event streams work like data routers. Customer data flows from your sources into Data hub through an Event stream, which then sends that data to your chosen Bloomreach destinations. Unlike batch imports for historical data, Event streams handle live traffic as it happens, keeping your customer data current across all platforms.
Important
Each Event stream is a pass-through system with no data storage. Events sent without a connected destination are discarded immediately. This design ensures real-time processing and secure data flow from your sources to your Bloomreach destinations.
How event streams work
When a customer interacts with your configured channels, the event stream captures that interaction and forwards it to all connected destinations.
The data flow follows this sequence:
-
Events trigger when customers interact with your website or application.
-
Events flow from your tracking implementation (API or Web SDK) to the event stream.
-
Events get validated and forwarded to connected destinations:
-
Bloomreach Engagement stores customer profiles and events for analysis.
-
Bloomreach Discovery uses the data to optimize search and recommendations.
-
This unified approach means you implement tracking once while feeding data to all Bloomreach platforms. Each platform then processes the same events according to its specific requirements. Engagement builds comprehensive customer profiles while Discovery optimizes product discovery experiences.
Tracking methods
You have multiple options for implementing event tracking based on your platform:
Bloomreach Web SDK (recommended for websites): Client-side JavaScript tracking captures events directly from user browsers on websites and mobile web applications. Add the Data hub Web SDK snippet to your website's HTML to automatically capture and send customer interactions. This method works best for standard website implementations.
API tracking (recommended for server-side): Server-side integration provides maximum reliability and control. Your backend systems send events directly to the Data hub endpoint using HTTP POST requests with proper authentication. Use this method when accuracy and completeness are critical, or when using a data source where we don't offer specific SDKs.
Note
Web SDK tracking can be blocked by ad blockers and affected by browser restrictions, making it less reliable than server-side tracking for capturing all events. Choose your tracking method based on your technical requirements and platform constraints.
Common implementation patterns
Your Event stream architecture depends on your business structure:
Single brand in one locale: Create one Event stream and connect it to your Engagement project and Discovery account. This straightforward approach works well when you operate a single website serving a single market and don't need to separate data for compliance, reporting, or organizational reasons. All customer data flows through this single pipeline to both platforms.
Multiple locales with separated data: Create one Event stream per locale, naming each to include the locale identifier (like "eventstream-us" or "eventstream-fr"). Connect each locale-specific Event stream to its corresponding Engagement project while connecting all Event streams to your single Discovery account. This pattern gives you:
-
Locale-specific customer profiles in separate Engagement projects.
-
Unified product discovery across all locales in Discovery.
-
Granular control over data processing and compliance per region.
The following illustration shows the data flow in an event stream setup for multiple channels with different locales:
Set up event streams
The setup process begins when Bloomreach creates your Data hub workspace along with your Engagement project or Discovery account. After logging in to Data hub, you'll create event streams—typically one per channel or locale. For example, you might create separate event streams for your website, mobile app, and each regional site if you need to keep data separated.
For detailed steps to create and implement tracking with event streams, refer to the step-by-step 'How to set up event streams' guide.
Implementation requirements
Before configuring event tracking, prepare the following for your implementation requirements:
-
Authentication setup: API tracking requires valid credentials passed through authorization headers.
-
Destination limits: Each Event stream can connect to only one destination of each type (one Engagement project and one Discovery account maximum).
-
Item ID mapping: Product identifiers in your events must match the IDs in your Data hub catalog imports. Mismatched IDs will prevent Discovery from matching events to products, breaking recommendations and search analytics.
-
Event schema validation: Each event type (view, click, add to cart) must follow the defined schema with all required fields.
Note
Use historical imports for bulk data migration instead of streaming historical data through Event streams.
Impact on usage metrics
When you connect Event streams to Bloomreach Engagement, all forwarded data affects your contract allowances:
-
Monthly unique visitors (MUVs): Each unique customer identifier increases your MUV count.
-
Monthly processed events (MPE): Every event forwarded counts toward your processing limit.
-
Maximum event storage (MES): Stored events consume your retention allowance.
To optimize these metrics, implement selective event tracking, and see Efficient Engagement usage for detailed optimization strategies.
Limitations
Event streams operate within specific constraints:
-
Real-time only: Designed for organic traffic, not bulk historical data uploads.
-
No data storage: Events without destinations are immediately discarded.
-
Single destination per type: Each Event stream connects to a maximum of one Engagement project and one Discovery account.
Next steps
After understanding Event streams concepts:
-
Set up your first Event stream with step-by-step instructions.
-
Review the SDK integration guide for your specific setup.
-
Configure web tracking to capture customer behavior.
-
Implement required event schemas for your use case.
Updated 1 day ago
