# About Real Time Segments

Real-time segments are created using streaming behaviors and historical data (by referencing attributes). Real-time segmentation enables deeper customer insights and activations in real-time. This type of segment provides opportunities for companies to be more responsive to their customers no matter where they are in the customer journey, specifically real-time web personalization using the TD JS SDK and Profiles API.

## Architecture

Real-time segmentation allows you to personalize the content, ads, and pages your customers see while they visit your website. For example, an e-commerce company would like to show "Today's Special Camera Offer" banner ads on the page if visitors have navigated to the Camera category multiple times while exploring the products.

* Real-time segmentation is based on Segmentation Primitives that can be limited for real-time and compared to Batch-based records.
* Real-time Segmentation uses the Profiles API to return user segments using JavaScript SDK.
* Real-time segmentation is limited to using data from websites with [JavaScript SDK](/products/customer-data-platform/integration-hub/streaming/td-javascript-sdk/quickstart) installed. In addition, the segmentation logic that can be defined is also limited.


## Use Cases

Realtime Segments operates against streaming data as the data arrives into Treasure Data in real-time to help you provide for the following use-cases:

### Re-marketing

If visitors do some meaningful actions on the website, you can specifically target these users **instantly** through other means

### Personalization

Show personalized content, banners, and ads on the website for higher engagement 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 the same pages

### Use Scoring

Scoring users in real-time, and show special offers to valuable visitors and customers

## See Also

* [About Parent Segments that Support Group Hierarchy](/products/customer-data-platform/data-workbench/parent-segments/about-parent-segments-that-support-hierarchical-grouping)
* [Creating Parent Segments](/products/customer-data-platform/data-workbench/parent-segments/creating-parent-segments)