What You'll See in the Dashboard
Open the Intelligence tab to find the Content Affinity, Form Friction, and Next Best Action cards. Content Affinity shows a ranked list of topics and formats each visitor gravitates toward. Form Friction highlights which form fields are causing drop-offs with a per-field friction score. Next Best Action recommends the single most effective thing to show this visitor right now.
Business Actions: Use Content Affinity to power your recommendation engine — serve articles, products, or videos that match each visitor's taste. Route high Form Friction scores to your UX team to fix painful fields. Pipe Next Best Action into your personalization layer to dynamically swap CTAs, banners, and offers in real time.
Model 14: Content Affinity
The content affinity model maps each visitor's preferences across content categories, topics, and formats. Unlike segment-based personalization (which groups users into broad buckets), affinity scoring creates a unique preference profile for each visitor, enabling truly individualized content recommendations.
The 7 Affinity Signals
| Signal | Weight | Description |
|---|---|---|
| Dwell time by category | 0.25 | Time spent on pages within each content category (normalized) |
| Scroll depth by category | 0.20 | Average scroll depth on category pages (deeper = stronger affinity) |
| Click-through patterns | 0.15 | Which category links are clicked from mixed-content pages |
| Return visit focus | 0.12 | Categories visited across multiple sessions (persistent interest) |
| Search query categorization | 0.10 | Topic of on-site search queries |
| Interaction depth | 0.10 | Clicks, hovers, and expansions within category content |
| Share/save actions | 0.08 | Content bookmarked, shared, or saved for later |
The 6 Affinity Types
| Affinity Type | Detection Pattern | Example | Personalization Response |
|---|---|---|---|
| Topic affinity | Deep engagement with specific subject areas | High engagement with "machine learning" articles | Surface related ML content in recommendations |
| Format affinity | Preference for specific content types | User reads long-form but skips videos | Prioritize articles over video content |
| Depth affinity | Preference for technical depth level | Always reads advanced sections, skips beginner | Show expert-level content first |
| Recency affinity | Preference for newest vs. evergreen content | Only clicks content from last 30 days | Highlight "New" badge on recent content |
| Category breadth | Narrow specialist vs. wide generalist | User only reads pricing/comparison content | Show pricing-adjacent recommendations |
| Social affinity | Engagement with community/social content | Reads reviews, comments, case studies | Lead with social proof elements |
Real-Time Personalization Rules
Content affinity scores drive real-time personalization rules that modify what the user sees:
Model 15: Form Friction
The form friction model detects difficulty users experience while completing forms. Unlike aggregate form analytics (completion rate, drop-off rate), ClickStream identifies friction at the individual field level in real time, enabling dynamic form optimization.
The 8 Friction Signals
| Signal | Weight | Detection Method |
|---|---|---|
| Field completion time | 0.20 | Time to complete field vs. expected time for field type |
| Correction rate | 0.18 | Backspace/delete events as percentage of total keystrokes |
| Field re-entry | 0.15 | Returning to a previously completed field to modify it |
| Validation error rate | 0.14 | Client-side or server-side validation failures per field |
| Field skip-and-return | 0.10 | Skipping a field then coming back to it later |
| Inter-field hesitation | 0.08 | Long pauses between completing one field and starting next |
| Copy-paste usage | 0.08 | Pasting content into fields (suggests external lookup needed) |
| Focus/blur cycling | 0.07 | Clicking in/out of a field multiple times without input |
The 5 Friction Types
| Friction Type | Pattern | Typical Cause | Fix |
|---|---|---|---|
| Confusion friction | Long hesitation + field skip-and-return | Unclear label or help text | Better labels, inline examples, tooltips |
| Validation friction | Multiple validation errors on same field | Unclear format requirements | Real-time format hints, flexible validation |
| Recall friction | Long completion time + copy-paste | User does not have info readily available | Auto-fill, lookup tools, "save and continue later" |
| Trust friction | Hesitation on sensitive fields (SSN, card number) | Lack of security indicators | Security badges, encryption notices, trust seals |
| Effort friction | High correction rate + slow typing | Difficult input method (small mobile keyboard, complex format) | Input masks, dropdowns instead of free text, larger touch targets |
Aggregate Field-Level Analysis
ClickStream aggregates field-level friction data across all visitors to identify systemic form problems:
| Field | Avg. Time (s) | Correction Rate | Validation Errors | Abandonment Rate | Friction Type |
|---|---|---|---|---|---|
| 4.2 | 8% | 12% | 3% | Validation | |
| Phone | 6.8 | 15% | 22% | 8% | Effort + Validation |
| Address Line 2 | 12.1 | 5% | 2% | 15% | Confusion |
| Company Name | 3.1 | 4% | 1% | 2% | None |
| Card Number | 8.5 | 18% | 9% | 12% | Trust + Effort |
| Promo Code | 15.3 | 22% | 35% | 6% | Recall + Validation |
Model 16: Next Action Prediction
The next action prediction model estimates the most likely action a user will take next, along with a confidence score. This powers preloading, dynamic CTAs, and proactive personalization -- showing users what they need before they ask for it.
The 7 Prediction Signals
| Signal | Weight | Description |
|---|---|---|
| Current page context | 0.25 | What page type the user is on (product, cart, blog, etc.) |
| Navigation history sequence | 0.22 | The last 3–5 pages visited (sequential pattern) |
| Intent score and stage | 0.15 | High intent + decision stage = checkout likely next |
| Time on current page | 0.12 | Short dwell = about to navigate; long dwell = reading/deciding |
| Scroll position | 0.10 | Bottom of page = likely to navigate; mid-page = still engaging |
| Mouse position trajectory | 0.08 | Cursor heading toward specific links or buttons |
| Historical pattern match | 0.08 | What did similar visitors do at this point in their journey? |
The 10 Action Categories
| Action | Description | Preloading Strategy |
|---|---|---|
| navigate_product | Will click to a product page | Preload top product page candidates |
| navigate_category | Will browse a category | Preload category listing |
| add_to_cart | Will add current product to cart | Prepare cart animation, preload cart page |
| begin_checkout | Will start checkout process | Preload checkout form, warm payment processor |
| search | Will use site search | Preload search index, show search suggestions |
| read_content | Will continue reading/scrolling | Preload next content section, lazy-load images |
| compare | Will navigate to comparison view | Preload comparison data for viewed products |
| seek_help | Will look for help/support | Show help widget proactively |
| exit | Will leave the site | Trigger abandonment intervention if appropriate |
| idle | Will become inactive | Queue re-engagement nudge |
Sequential Pattern Mining
ClickStream uses sequential pattern mining to identify common navigation sequences and predict the next step. The algorithm maintains a frequency table of action sequences (n-grams of length 3–5) and uses them to estimate transition probabilities:
Preloading and Dynamic CTAs
When the next action prediction has high confidence (>0.7), ClickStream can trigger two optimization strategies:
- Preloading: Begin fetching the predicted next page or resource before the user clicks, reducing perceived load time by 200–500ms.
- Dynamic CTAs: Adjust the call-to-action on the current page to match the predicted next action. If the user is likely to search, show a prominent search bar; if they are likely to checkout, show a "Complete Purchase" button.
The Personalization Trinity in Practice
Content affinity, form friction, and next action prediction form a personalization trinity that, when combined, enables deeply individualized experiences. Here are three scenarios showing how they work together:
Scenario 1: The Technical Evaluator
Signals: High depth affinity (technical content), intent score 55 (evaluating), emotional state "focused"
- Content affinity surfaces technical whitepapers and API documentation instead of marketing fluff
- Next action prediction anticipates they will visit the pricing page next and preloads it
- Form friction data ensures the signup form uses a minimal "just email" approach (technical users hate long forms)
Scenario 2: The Returning Shopper
Signals: High topic affinity (outdoor gear), purchase timing 72 (imminent), visit frequency accelerating
- Content affinity prioritizes previously-browsed product categories in recommendations
- Next action prediction detects "add_to_cart" is imminent and ensures the cart widget is visible
- Form friction analysis from previous sessions pre-fills known fields and skips optional ones
Scenario 3: The Confused First-Timer
Signals: No established affinity yet, confusion score 65, emotional state "hesitant"
- Content affinity bootstraps from referral source (Google search query = topic signal) and shows beginner-friendly content
- Next action prediction detects "seek_help" is likely and proactively shows a guided tour
- Form friction reduces the form to absolute essentials (name + email only) to minimize drop-off
The personalization trinity completes the behavioral model series. Together, all 26 models create a comprehensive, real-time understanding of every visitor that enables truly intelligent, empathetic digital experiences -- all computed at the edge, with complete data sovereignty.
What's Next
We have covered 16 models so far across Parts 1–7. The series continues with ten more models:
- Part 8: Session Momentum, Click Entropy, and Attention Score
- Part 9: Conversion Probability, Hover Intent, and Scroll Depth Intelligence
- Part 10: Price Sensitivity, Loyalty, Micro-Conversion Score, and Bot Detection
Every model runs at the edge in under 50ms, every score is incrementally updated with O(1) compute cost, and no raw behavioral data ever leaves the edge node. This is the future of behavioral analytics: real-time, private, and intelligent.