Laravel User Behavior Analytics

Замовник: AI | Опубліковано: 17.11.2025
Бюджет: 300 $

My current Laravel backend is running smoothly, but it’s missing visibility into how people actually move through the system. I now need user-behavior tracking added directly into the codebase so I can see exactly which pages are loaded and which buttons are pressed. Scope • Add event hooks for page views and button clicks across existing controllers or middleware. • Decide whether to log these events locally (new analytics table, Eloquent model) or forward them to a third-party service—Google Analytics Measurement Protocol, Mixpanel, or another option that plays nicely with Laravel queues is fine with me as long as it’s well documented in the code. • Keep the solution lightweight; performance and queue health matter. • Include seed data or sample events so I can verify logging works in both development and production environments. • Clear installation and migration instructions in the README so I can re-deploy without surprises. Acceptance I’ll consider the job complete when I can: 1. Trigger a page view and a button click in the app. 2. See those events arrive in the chosen storage/service with accurate metadata (user ID, route, timestamp, IP). 3. Run one sample query or export that shows counts grouped by route for at least a day’s worth of test traffic. Everything runs on PHP 8.2, Laravel 10, MySQL, Redis, and Horizon; please stick to versions compatible with that stack.