Real-time Segmentation operates against streaming data as the data arrives into Treasure Data in real-time. The advantage of Real-time Segmentation is that it can be used to create segments from even the most recent actions taken by someone on your website, including visitors coming to your website for the first time.
Real-time Segmentation Architecture
Real-time Segmentation provides the ability to personalize the content, ads, and pages, while your customers are visiting your website. For example, an e-Commerce company would like to show "Today's Special Camera Offer" banner ads in the page, if visitors have navigated to the Camera category multiple times while they're exploring the products.
Realtime segmentation is based on Segmentation Primitives that can be limited for realtime and compared to Batch-based records.
Types of Segments
You can create two types of segments from your master segment:
- Real-time Segments
- Batch Segments
Real-time Segments operates against streaming data as the data arrives into Treasure Data in real-time to help you provide for the following use-cases:
- If visitors do some meaningful actions in the website, you can specifically target these users "instantly" through other means
- Show personalized content, banner, and ads in the website for higher engagements and conversions
- Conversion Optimization
- Show a chat modal dialog to help customers complete any open transactions that they may have started
- Customer Support
- Show help messages if customers are going back and forth with same pages
- Use Scoring
- Scoring users in real time, and show special offers to valuable visitors and customers
Ingestion Delay (EventCollector Buffering)
15 minutes - 1 hour
Batch segmentation occurs against master segments built from data across a variety of different sources, and unified using Treasure Workflow and the master segment creation features. As such, these master segments can be more deeply enriched and customized to handle your marketing team’s most complex use cases.
Batch Segments can then be used for exporting to (activating) marketing tools and advertising networks, such as email campaign platforms and social networks. In addition, you can use Batch Segments to enable real-time personalization for people visiting your website, using the Profiles API.
Real-time Segmentation Design Phase
During design you need to consider plans for how to define the following:
Rule compiler understands segmentation rule given by users, and generates workflows and streaming queries.
Streaming processor stores the compiled rules, and evaluates them every time when it receives a log.
Workflow runs the batch processing part.