Last updated 26 November 2026. By Paul Badarau.
A fictional puzzle game runs at example.com with routes such as #/levels and #/levels/3. Its Pages report has one row, /, with about one pageview per visit.
- Switch the router to history mode, so routes become paths such as /levels/3. Many routers offer both modes. Your server then has to return the app for every path, or a reload on /levels/3 gives a 404.
- Or keep the hash routes and mark the steps you care about with named event goals, for example
level_complete. Add the goal first, then callpostdeploy.track("level_complete")when it happens. A Project holds up to 40 goals, archived ones included, and a visit records at most 20 goal events. - Move the pages people reach from outside, such as a landing page or a pricing page, out of the app and onto real paths. Their sources and entry pages then show per page.
With hash routes, every report in PostDeploy Analytics except the page and entry page breakdowns still works, including sources and visible visit duration. Dropping the fragment also keeps whatever an app puts after the # out of the reports.
Because moving between hash routes sends no pageview, nearly every visit has exactly one pageview. A bounce is a visit with exactly one pageview and no goal completion, so a hash-routed app with no goals shows almost every visit as a bounce, even when people play for an hour. Add at least one named event goal, or read visit duration instead of the bounce rate.
The product page for this is Analytics.