ddac.uk header image

Who's Online - User Agent Tracking, Bot Detection and Blocking

This OCMOD enhances OpenCart’s built-in "Who's Online" feature by adding robust user agent tracking with bot and crawler detection, including an expandable tooltip for detailed user agent visibility and a new blocking functionality. Store owners can now easily distinguish between real customers and bots, and manage bot access directly from the admin panel. This mod is an indispensable tool for analysing web traffic, understanding SEO impact, and overseeing user activity on your site.

Key Features

How It Works

Upon a visitor or bot accessing your site, the mod logs their user agent string along with IP address, URL, and referrer data into the customer_online table. The "Who's Online" section in the admin panel displays this info, providing real-time visitor insights. Known bots are labelled with custom names, while unknown agents are tagged generically for simplified analysis. With this update, admins can add, edit, block, or unblock bots from within the admin interface.

This mod is built using OpenCart’s OCMOD system, ensuring no direct core file modifications, which means easy installation and compatibility with OpenCart updates.

Benefits

Use Cases

Changelog


Demo: