Docs › QA Analytics
Single-page app (SPA) tracking
React Router, Vue Router, Angular Router, Next.js and any app using the History API are tracked automatically. On every pushState, replaceState or back/forward navigation the tracker sends page_exit for the old page, spa_route_change and a new page_view. Back and forward buttons produce browser_back / browser_forward.
Hash routers (#/route) are supported. For frameworks that update the title late, call:
QARandom.page({ name: "Order details" });