What WhyUsersLeave is
WhyUsersLeave is a UX analytics service that reports to your coding agent instead of to a dashboard. You add one script tag to your site. It records what real visitors do, turns that into a ranked list of what is broken, and hands the list to Claude Code, Cursor, Windsurf, or any other MCP client so the agent can fix the code and then check its own work.
What the script records
The tracker captures page views, clicks, scroll depth, form field interactions, and JavaScript errors, then stitches them into sessions. From those sessions it flags dead clicks on elements that look clickable but do nothing, rage clicks, pages with a high bounce rate, forms with the exact field people quit on, JavaScript errors hitting real users, pages almost nobody scrolls down, and visitors falling back to Ctrl+F because they cannot find something.
How your coding agent uses it
Install the MCP server and your agent gets tools instead of charts. get_recommendations returns the prioritized action plan. get_ux_issues returns each issue with its CSS selector and severity. get_journey_insights shows the paths people take and where they drop off. ask_question answers things like why visitors leave your pricing page, grounded in your own session data. generate_report writes the long version.
Proving the fix worked
After the agent edits your code and you deploy, verify_fixes re-runs the analysis on sessions recorded since the change and reports every issue as fixed, unchanged, or worse. Give it your revenue numbers with set_site_context and the impact estimates come back in dollars. Free covers one site. Pro is $29 a month for unlimited sites.