Back to Blog

HubSpot Missing Page Views on a Single-Page Site?

PipelineOn Research Team
Blog

Key Takeaways

  • Confirm the first page view comes from the tracking code for the correct HubSpot account.
  • For later client-side routes, set the new path before recording the page view.
  • Verify route requests and contact activity using a test identity and the normal consent flow.

A homeowner lands on your AC replacement page, clicks Financing and returns to the service page. HubSpot records the first view. Your web developer can see the content change without a full page reload. If that’s how the site works, check how the app reports each new route to HubSpot.

Check that the first page sends a view

Start on a service page with the tracking code already installed. Use a test browser and follow the site’s normal consent settings. In Developer Tools, open Network and reload. Check that the script is for the correct HubSpot account and sends the initial page view. If the first page view is missing, start with the installation and domain checks. HubSpot tracking troubleshooting

Send one view when the next route loads

For a single-page app, have your developer add the call where your router confirms the next page. The first view is recorded when HubSpot’s tracking code loads. For a later navigation, put the new path into HubSpot with setPath, then call trackPageView. Keep one owner for that event, especially if a tag manager is also listening for navigation. HubSpot page-view method · HubSpot path method

For an authorized test visit, write down each action and compare it with the next page-view request:

Test actionExpected view
Open /ac-replacement/ in a new browser tabOne initial view for /ac-replacement/
Click the internal Financing linkOne new view for /financing/
Click the internal Rebates linkOne new view for /rebates/
Use Back to return to FinancingOne new view for /financing/

In Network, keep the log across navigations and filter for __ptq.gif as HubSpot documents, and check the URL path on each successful page-view request. Look for two requests on the first load, a later request carrying the previous path, or a pair of requests for one route change. Those patterns tell the developer where to look for a duplicate trigger or a path update happening after the page view.

Check the contact record separately

Once each path is firing, repeat the journey with a test identity your office controls and the normal website flow that associates a browser with a known contact. Confirm which pages appear in the contact’s activity. A contact routed into HubSpot from a CRM integration and a page view sent by HubSpot’s browser tracker are separate events. Track forms and quote requests using the records your office actually receives. How HubSpot identifies a visitor · What HubSpot visitor tracking records

PipelineOn

Enter your work email to get started

Already have an account? Sign in