Blueshift
  • Product  
    • PLATFORM
      • SmartHub CDP
      • Omnichannel Orchestration
      • Predictive Intelligence
      • Single Customer View
      • Audience Segmentation
      • 1:1 Personalization
    • SOLUTIONS
      • Email Automation
      • Mobile Marketing
      • Website Personalization
      • Audience Targeting
      • Contextual Chat
    • PLANS AND INTEGRATIONS
      • Integration Partners
      • Support Plans
      • Pricing
  • Customers
  • Resources  
    • Library
    • Blog
    • Videos
    • Documentation
    • Product Updates
    • Blueshift Academy
  • Company  
    • About Blueshift
    • Events
    • News & Awards
    • Careers
  • Contact Us
  • LOGIN
  • Search
  • Menu Menu
  • Product
    • PLATFORM
      • SmartHub CDP
      • Omnichannel Orchestration
      • Predictive Intelligence
      • Single Customer View
      • Audience Segmentation
      • 1:1 Personalization
    • SOLUTIONS
      • Email Automation
      • Mobile Marketing
      • Website Personalization
      • Contextual Chat
      • Retired – Audience Targeting
    • PLANS AND INTEGRATIONS
      • Integration Partners
      • Support Plans
      • Pricing
  • Customers
  • Resources
    • Library
    • Blog
    • Videos
    • Documentation
    • Product Updates
    • Blueshift Academy
  • Company
    • About Blueshift
    • Events
    • News & Awards
    • Careers
  • LOGIN
  • Contact Us

Behind-the-Scenes: Real-time segments with Blueshift

Blueshift in the News
Real-Time Segment

(Here is a behind the scenes look at the segmentation engine that powers Programmatic CRM.)

Real-time segmentation matters: Customers expect messages based on their most recent activity. Customers do not want reminders for products they may have already purchased or messages based on transient past behaviors that are no longer relevant.

However, real-time segmentation is hard: it requires processing large amounts of behavioral data quickly. This requires a technology stack that can:

  • Process event & user attributes immediately, as they occur on your website or mobile apps
  • Track 360-degree customer profiles and deal with data fragmentation challenges
  • Scale underlying data stores to process billions of customer actions and support high write and read throughput.
  • Avoid time consuming steps of data modeling that require human curation and slows down on-boarding

Marketers use Blueshift to reach each customer as a segment-of-one, and deliver highly personalized messages across every marketing channel using Blueshift’s Customer Data Activation Platform capabilities. Unlike legacy systems, Segments in Blueshift are always fresh and updated in real-time, enabling marketers to respond to the perpetually connected customer in a timely manner. Marketers use the intuitive and easy to use segmentation builder to define their own custom segments by mixing and matching filters across numerous dimensions including: event behavioral data, demographic attributes, predictive scores, lifetime aggregates, catalog interactions, CRM attributes, channel engagement metrics among others.

 

Segments support complex filter conditions across numerous dimensions

Segments support complex filter conditions across numerous dimensions

Behind the scenes, Blueshift builds a continually changing graph of users and items in the catalog. The edges in the graph come from user’s behavior (or implied behavior), we call this the “Interaction graph”. The “interaction graph” is further enriched by machine-learning models that add predicted edges and scores to the graph (if you liked item X, you may also like item Y) and also expand user attributes through 3rd party data sources (example: given the firstname “John”, with reasonable confidence we can infer gender is male).

Blueshift interaction graph

Blueshift interaction graph

The segment service can run complex queries against the “interaction graph” like: “Female users that viewed ‘Handbags’ over $500 in last 90 days, with lifetime purchases over $1,000 and not using mobile apps recently and having a high churn probability” and return those users within a few seconds to a couple of minutes.

360-degree user profiles

For every user on your site/mobile app, Blueshift creates a user profile that tracks anonymous user behavior and merges it with their logged-in activities across devices. These rich user profiles combine CRM data, aggregate lifetime statistics, catalog-related activity, predictive attributes, campaign & channel activity and website / mobile app activity. The unified user profiles form the basis for segmentation. A segment query matches these 360 degree user profiles against the segment definition to identify the target set of users.

360-degree user profiles

360-degree user profiles in Blueshift

Multiple data stores (no one store to rule them all)
The segmentation engine is powered by several different data stores. A given user action or attribute that hits the event API is replicated across these data stores including: timeseries stores for events, relational database for metadata, in-memory stores for aggregated data & counters, key-value stores for user lookups, as well as a reverse index to search across any event or user attributes quickly. The segmentation engine is tuned for fast retrieval of complex segment definitions compared to a general purpose SQL-style database where joins across tables could take hours to return results. The segmentation engine leverages data across all these data stores to pull the right set of target users that match the segment definition.

Real-time event processing

Website & mobile apps send data to Blueshift’s event APIs via SDKs and tag managers. The events are received by API end-points and written to in-memory queues. The event queues are processed continuously in-order, and updates are made across multiple data stores (as described above). The user profiles and event attributes are updated continuously with respect to the incoming event stream. Campaigns pull the audience data just-in-time for messaging, which result in segments that are continuously updated and always fresh. Marketers do not have to worry about out of date segment definitions and avoid the “list pull hell” with data-warehouse style segmentation.

Dynamic attribute binding

The segmentation engine further simplifies onboarding user or event attributes by removing the need to model (or declare) attribute types ahead of time. The segmentation engine dynamically assesses the type of each new attribute based on sample usage in real-time. For instance, an attribute called “loyalty_points” with a value of “450”, would be interpreted as a number (and show related numeric operators for segmentation), while an attribute like “membership_level” with a value of “gold” would be dynamically interpreted as a string (and show related string comparison operators for segmentation), or an attribute like “redemption_at” with a value like “2016-09-23” will be interpreted as a timestamp (and show relative time operators).

Several Blueshift customers have thousands of CRM & event attributes, and are able to use these attributes without any data modeling or declaring their data upfront, saving them numerous days of implementing data schemas in SQL-based implementations.

The combination of 360-degree user profiles, real-time event processing, multiple specialized data stores and dynamic attribute binding, empowers marketers to create always fresh and continuously updated segments.

October 5, 2016/by Mehul Shah
Tags: segmentation
Share this entry
  • Share on Facebook
  • Share on Twitter
  • Share on WhatsApp
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Reddit
  • Share by Mail
https://blueshift.com/wp-content/uploads/Real-time-segment.jpg 640 1200 Mehul Shah https://blueshift.com/wp-content/uploads/blueshift-primary.svg Mehul Shah2016-10-05 22:38:372019-11-22 10:55:55Behind-the-Scenes: Real-time segments with Blueshift

Recent Articles

  • Using recommendations in online marketplace How to Use Recommendations in Online Marketplace MarketingJanuary 21, 2021 - 6:39 am
  • How to Run a Successful Customer Data Platform RFP: The 50 Essential QuestionsJanuary 20, 2021 - 6:36 am
  • Customer Data Platform experts David Raab and Shamir Duverseau join Blueshift in our exclusive webinar. Webinar Recap: What the CDP?! With the CDP Institute and Smart Panda LabsJanuary 15, 2021 - 5:10 am
  • new retail cx and marketing trends 8 Retail CX and Marketing Trends for the New YearJanuary 13, 2021 - 5:19 am
  • ai recommendations saw an 81% increase in marketing revenue Why You Need AI-Powered Recommendations in Your MarketingJanuary 7, 2021 - 6:07 am
  • hackathon 2020 winners Blueshift’s 2020 Hackathon RecapDecember 18, 2020 - 6:45 am

Headquarters

433 California St, Suite 600,
San Francisco, CA 94104

Global Offices

Charlotte, NC
Pune, India
London, UK

hello@blueshift.com

Company

  • About Blueshift
  • Customers
  • News and Awards
  • Events
  • Careers
  • Contact Us

Platform

  • SmartHub CDP
  • Single Customer View
  • Audience Segmentation
  • Predictive Intelligence
  • 1:1 Personalization
  • Omnichannel Orchestration
  • Integration Partners

Solutions

  • Email Automation
  • Mobile Marketing
  • Website Personalization
  • Audience Targeting
  • Contextual Chat

Resources

  • Documentation
  • Developer Portal
  • Product Updates
  • Case Studies
  • Reports
  • RFP Guide
  • Blueshift Academy

© 2020 COPYRIGHT BLUESHIFT LABS, INC. PRIVACY POLICY   |   TERMS OF SERVICE   |   ANTI-SPAM POLICY

Scroll to top