Home
Credentials Generator
Generate credentials My generated credentials
QA Analytics
Analytics workspace Tracking integrations Analytics reports User Journey Explorer Conversion funnels Analytics debugger
More
Documentation Pricing Contact Us
LoginCreate free account
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" });