DEV Community

PHP CMS Framework
PHP CMS Framework

Posted on

Build an AI-Driven personalisation engine in Joomla using User Behaviour data

Most Joomla sites serve the same content to every registered user regardless of what they have read before, what they searched for, or how long they spent on specific topics. A user who has read six articles about Joomla security gets the same homepage recommendations as someone who only reads performance tuning content. That is a missed opportunity every single time they log in.

Personalisation is not a new idea but it has historically required either expensive third-party platforms or a data science team to implement properly. What has changed is that OpenAI's embedding and completion APIs make it possible to build a genuinely useful personalisation engine inside your existing Joomla installation without either of those things.

What we are building here is a system that tracks what registered users click on, which articles they read, how long they spend reading, and what they search for. It uses that behaviour data to build an interest profile per user, then uses OpenAI embeddings to find articles that match that profile semantically, not just by category tag. The result is a recommendations module that gets more accurate the more a user engages with the site.

What you need: Joomla 4 or 5, PHP 8.1+, Composer, MySQL, and an OpenAI API key.

For more details - https://www.phpcmsframework.com/2026/04/joomla-ai-personalisation-engine-user-behaviour.html

Top comments (0)