Skip to content
Blog

E-commerce

AI product recommendations that lift average order value

How to build an AI recommendation engine that actually sells: the techniques, the data you need, and how to avoid personalization that feels invasive.

By Pykero Agency · Engineering teamJul 8, 20265 min read

TL;DR

Recommendation engines work when they combine collaborative filtering, behavioral signals, and semantic embeddings on clean data. The algorithm is rarely the bottleneck; messy event data is.

Abstract product grid with AI highlighting personalized picks in navy and electric blue

AI product recommendations are one of the most reliable revenue levers in e-commerce, and they work best when you combine a few techniques on top of clean data rather than reach for a single magic model. Done well, they lift average order value and help shoppers find things they genuinely want. Done badly, they feel random, or worse, unsettling. The difference is almost always in data quality and approach, not in which vendor you picked.

The techniques worth knowing

There is no single "AI recommendation." Production systems blend several methods:

Collaborative filtering finds patterns across your entire shopper base. "People similar to this user bought these." It requires no understanding of the products themselves, which makes it powerful, but it breaks down for brand-new items and first-time visitors.

Content-based filtering recommends items similar to what a shopper viewed, using product attributes or, increasingly, embeddings that encode a description and image as a vector. It works even when purchase history is thin.

Session-based behavioral signals react to what someone is doing right now: this session's clicks, dwell time, and cart additions. For intent prediction, a five-minute browse often outweighs six months of old purchase history.

The best systems layer all three. Collaborative filtering handles the logged-in repeat buyer. Content-based and session signals handle everyone else.

Start with the data you already have

Recommendations fail on messy data far more often than on weak algorithms. Before evaluating any model or vendor, get your signals into a clean, queryable structure. The three you need are:

  • Purchase history: the strongest signal of real preference
  • Behavioral events: views, add-to-cart, abandons, dwell time
  • Product catalog: categories, attributes, and descriptions, structured consistently

A well-modelled PostgreSQL events schema with foreign keys to your product table is the right starting point. If your catalog has inconsistent category labels or your event stream has duplicate rows, fix those first. An embedding model will not rescue dirty input.

Where semantic AI genuinely helps

Classic collaborative filtering has a cold-start problem: a new product nobody has bought yet, or a first-time visitor with no history. Embeddings solve this cleanly. Convert each product's title, description, and image into a vector at ingest time and store it in a pgvector column. A cosine similarity query then finds semantically similar items on day one, no purchase history required.

The same approach powers "more like this" carousels and natural-language search that understands "waterproof hiking boots under £100" as intent rather than keywords. If you are already using Supabase, pgvector is available out of the box, which keeps the infrastructure simple. For a broader look at how vector search fits into AI features, RAG explained for founders covers the underlying mechanics.

Don't let it feel invasive

Personalization crosses a line quickly. A few principles keep it useful rather than uncomfortable:

  • Recommend without revealing. Show relevant products without surfacing how much you know about someone's history.
  • Stay in the current context. Suggestions should relate to what the shopper is doing in this session, not dredge up something from three months ago.
  • Handle consent properly. Transparent data use and honored opt-outs are not just legal hygiene; they protect conversion rates because trust compounds over time.

Measure the right numbers

Click-through rate is easy to optimise for and easy to game. Tie your recommendations to metrics that matter: average order value, conversion rate, and revenue per session. Run A/B tests, recommendations on versus off, or one strategy versus another, so you know the lift is real rather than assumed.

Always keep a non-personalised fallback, best-sellers or category top picks, for sessions where you have no meaningful signal. An empty recommendation slot is worse than a generic one.

The order of operations is: clean data first, simple measurable baseline second, semantic AI third where it demonstrably helps. If you want to build a recommendation engine that measurably moves revenue rather than just adding a feature, let's talk.

ai product recommendationsecommerce personalization enginecollaborative filtering ecommerceproduct recommendation cold startsemantic product recommendationsaverage order value ai

Frequently asked questions

how do ai product recommendations increase average order value

By surfacing relevant items at the moment of intent rather than random cross-sells. Behavioral signals from the current session predict purchase intent better than most other signals.

what data do I need for a product recommendation engine

Purchase history, browsing and click events, and structured product catalog data. Those three cover most use cases. Get them into a clean schema before adding any model.

how do you solve cold start in product recommendations

Use embeddings. Convert each product's title, description, and image into a vector and run similarity search with pgvector. New items become recommendable on day one without purchase history.

what is the difference between collaborative filtering and content-based recommendations

Collaborative filtering finds patterns across shoppers without understanding products. Content-based compares item attributes or embeddings. Production systems usually blend both.

How Pykero can help

Services related to this article.

Building something like this?

Pykero Agency designs and ships production web, mobile, SaaS, and AI products.

Talk to us

Discussion

Be the first to comment.

Related reading