martech cookbookSearch recipes & patternsSign up
Recipe·Updated 23 September 2026

Personalized product recommendations

Surface the items the customer is most likely to want next, with explicit handling of the cold-start visitor, the privacy-restricted slice, and the rule that prevents the recommendations from collapsing to whatever everyone clicks

01Problem

Most recommendations are either generic ("our best sellers"), trivially personalized (recently viewed by the same visitor), or quietly broken (a model that collapses to the same five items for everyone because those items have the highest click probability across the audience and the model never escapes them). The first kind misses the point of personalization; the second is a one-trick variant; the third is the failure mode the team usually does not notice until the conversion rate plateaus and the items being recommended look the same across customer segments that should look different.

A working recommendation surface combines three ingredients. The affinity model that predicts what the customer is most likely to want next based on their behavior, purchase history, and the broader catalog dynamics. The visitor state that gives the recommendations a moment-specific anchor (a customer with a winter coat in their cart should see boots, not summer sandals). The fallback discipline that handles the cold-start visitor (no history) and the consent-restricted slice (no permitted data to personalize on) without serving them generic best-sellers that defeat the personalization premise. The recipe is medium-high readiness because the model is real work, the serving path needs low-latency joins to visitor state, and the cold-start and consent-restricted handling are where most teams quietly cheat.

This recipe builds the recommendations as a model plus a deterministic fallback plus a diversity rule that stops the collapse to the headline items.

02Outcome

A measurable lift in recommendation-attributed revenue, with diversity and freshness signals that confirm the model is not collapsing to a small set of high-CTR items. The metric is recommendation-attributed revenue per visitor, against a baseline of generic best-sellers or pure recently-viewed. The lift concentrates where the affinity model has enough signal to act on (returning customers with purchase history; engaged sessions with clear intent) and is modest for cold-start visitors who get the fallback treatment. The honest framing is that recommendations are a long-tail revenue surface; the headline lift hides as much as it shows if the team does not also measure catalog coverage (the share of catalog items appearing in recommendations) and per-segment performance (is the lift evenly distributed or concentrated in one segment?).

The second outcome is the operational discipline of evaluating the recommendations on diversity and freshness alongside the headline lift, so the model's failure mode (collapsing to a fixed set, recommending recently-viewed back to the customer) is caught at evaluation rather than at the quarterly conversion-rate review.

03Ingredients
  • Product affinity model
  • Visitor state
  • Purchase history
  • Customer identifier
  • Consent state flag
04Equipment

A serving path that reads the visitor state, applies the model, applies the diversity rule, and returns the recommendations within the latency the surface can tolerate (under 100ms for most surfaces; under 300ms for the homepage where the budget is looser). Composable stacks suit this because the model and the visitor state live in the warehouse and the activation layer reads both; packaged stacks may have vendor-driven recommendations that the team cannot inspect, and the question is whether the vendor's diversity rule and cold-start handling are auditable. The capability that decides whether the recipe holds is the diversity rule: a model serving recommendations purely by predicted CTR collapses to a small set of items that earn the highest click rate across the audience, and the long-tail catalog becomes invisible. The diversity rule sits between the model score and the served set, sampling from the score distribution rather than picking the top-N raw.

05Staff
  • Marketing ops
    CriticalThe surfaces the recommendations live on, the placement strategy, the editorial guardrails
  • Data science
    CriticalThe affinity model, the diversity and freshness rules, the offline evaluation
  • Data engineering
    CriticalThe serving path, the latency, the consent-aware data joins
  • Product
    SupportingThe visitor state captured at each surface, the in-product placement

Marketing ops owns the surfaces the recommendations live on, the placement strategy, and the editorial guardrails (some categories may want explicit promotion overrides; some products may be excluded from recommendations entirely). Data science owns the affinity model, the diversity and freshness rules, and the offline evaluation that catches model regressions before they ship. Data engineering owns the serving path, the latency, and the consent-aware data joins that decide which signals are usable per customer. Product owns the visitor state captured at each surface and the in-product placement, because the recommendation block competing with the content the visitor came for is a product trade-off rather than a marketing one. The recipe takes months because the model takes time to train and the diversity rule takes time to tune against actual catalog dynamics. A team that ships a first-cut model without the diversity rule produces a recommendation surface that looks personalized on the surface and collapses to ten items within a quarter.

06Technique

Work in this order. Score, serve with a fallback, anchor to the page, and design the fallback to its own bar.

  1. Calibrate the affinity score on held-out data, so a score band means an actual conversion likelihood.
  2. Add a diversity rule to serving: sampling with temperature, category quotas or an exploration percentage. Top-N alone collapses to five to ten items for everyone, and the model trains itself further toward that collapse.
  3. Remove recently viewed and clicked items from the set, or a click pushes the same item back to the top and the visitor sees a loop.
  4. Anchor to the page: complementary items on the product detail page, cross-sells on the cart, history-based picks on the homepage.
  5. Serve a deterministic rule for cold-start visitors: category best-sellers, recently viewed but not purchased, complementary to cart.
  6. Design the consent-restricted experience as its own surface: category-relevant best-sellers, new arrivals, editorial picks, not the same five items everyone sees.

Inferred attribute generation covers steps 1 to 3, visitor state personalization step 4, real-time decisioning with deterministic fallback step 5, and fallback content strategy step 6.

07Gotcha
Failure 01

The first failure is the model that collapses to its highest-CTR items. A serving rule that picks the top-N from the model's score distribution produces recommendations that across the audience are five to ten items, with the long-tail catalog never surfacing and the personalization reducing to "everyone sees the popular things." The diversity rule (sampling with temperature, category quotas, exploration percentage) is the structural fix; without it the model trains itself toward collapse over time as the high-CTR items continue to win.

Failure 02

The second is the recently-viewed loop. A visitor sees a recommendation, clicks through, returns, and now sees the same item as a recommendation again because the recently-viewed signal pushed it back to the top. The recommendation surface treats recent interaction as positive signal, the model amplifies it, and the visitor experiences a loop. The deduplication of recently-viewed-and-clicked from the recommendation set is the rule that breaks the loop.

Failure 03

The third is the consent-restricted visitor getting generic content. A customer who declined personalization consent receiving the same five best-sellers everyone else also sees defeats the personalization premise on the slice the cookbook should be most careful about. The fallback content strategy treats the consent-restricted case as its own design surface (category-relevant best-sellers, new arrivals, editorial picks), not as the degraded version of the model output.

Did this recipe match your situation?Anonymous response. Sign up to leave a longer note tied to your account.

Related recipes