Why Track Interactions
Automatic Quality Improvement: User behavior becomes training data for fine-tuning embedding models and ranking algorithms—no manual labeling required. Measure Real Performance: Traditional IR metrics (precision, recall) use test sets. Interactions reveal actual user satisfaction through click-through rates, conversion, and engagement. Personalization at Scale: Build user preference profiles from interaction history to deliver personalized results without managing separate recommendation systems. Identify Blind Spots: Find queries with low engagement, results that users skip despite high rankings, and content gaps causing zero-result queries.What You Get
Training Data Generation
Interactions format into contrastive pairs (query, clicked_doc) for embedding fine-tuning with automatic position bias correction.
Relevance Analytics
CTR by position, documents with high skip rates, queries needing tuning, time-to-first-click—all without custom infrastructure.
Result Deduplication
Exclude previously purchased, viewed, or consumed content automatically by filtering on past interactions.
Popularity Boosting
Rerank results based on recent interaction signals (clicks, conversions) to surface trending content.
Capture Interactions
Record user behavior with a single API call:Signal Types
| Type | Strength | Use Case |
|---|---|---|
click | Moderate positive | User clicked result |
long_view | Strong positive | Sustained engagement (track via duration_ms) |
purchase, add_to_cart | Conversion | E-commerce actions |
positive_feedback / negative_feedback | Explicit | Thumbs up/down votes |
skip, return_to_results | Negative | User ignored or bounced back |
| Custom types | Variable | Define domain-specific signals |
Combine multiple types per event:
["click", "long_view"] when a user clicks and stays engaged.Outcomes & Use Cases
1. Fine-Tune Embedding Models
2. Identify & Fix Ranking Issues
3. Personalize Without Recommendation Infrastructure
4. Boost Trending Content
Configure retrievers to automatically boost recently popular items:Query & Export
Retrieve interactions for analysis or external ML pipelines:Privacy & Compliance
GDPR Deletion: Remove all interactions for a user to honor right-to-deletion requests.user_id before sending if you need consistent tracking without PII.
Best Practices
- Always capture position – essential for correcting position bias in learning-to-rank models
- Store query text in metadata – enables query-document pair export for fine-tuning
- Track dwell time – separates genuine engagement (
long_view) from accidental clicks - Batch when possible – reduce API calls by aggregating interactions and sending in bulk
- Monitor weekly – set up dashboards to track CTR trends and catch relevance regressions early
See the Analytics Overview for dashboards and alerting on interaction-driven metrics like CTR, engagement rates, and query quality.

