Hello,
I have a single page application i added page view tracking to.
I can see the tracker sending updates, however i don’t see the data in the page view report of hubspot (Not even the first page that should be tracked on initiliazation anyway).
This is how i send the page views:
example to a path name format : “Self Service Signup”
I see 3 network requests on the first page :
1. https://forms.hubspot.com/collected-forms/v1/config/json?portalId=my_key&utk=cookie_id
2. https://api.hubapi.com/hs-script-loader-public/v1/config/json?portalId=my_key
3. https://track.hubspot.com/__ptq.gif (with rest of params)
and each time i switch the page i see another call to
https://track.hubspot.com/__ptq.gif
The report i am looking at :
(I am searching for the pathname i sent)
What am i missing here?
Thank you
Hi, @ankol24.
First, I’d recommend checking whether you’re testing on a filtered IP address. Even if your IP is not listed in your account, your tests may still be filtered by a HubSpot blocklist.
To minimize the probability of being filtered, I recommend testing:
- On a smart phone with WiFi disabled (using cellular data).
- Using Opera with the built-in VPN enabled.
Hi,
I tried both mobile and opera browser with the vpn option but i don’t see the views.
I viewed the Advanced Tracking tab in the settings
The domain that i added the code to is listed in the “Additional site domains” with type “External”
Exclude Traffic - doesn’t have my ip
and this are the setting i have there
i don’t have the domain listed in the analytics views tab, can that affect it?
Hi, @ankol24.
Apologies for the delayed response.
I see your account’s HubSpot tracking code on your www pages but not your blog and app subdomains. Are you triggering it some other way?
The setPath and trackPageView functions will not work without the base tracking code also present and firing on the page.
Hi,
I am actually loading the script dynamically in react.
This is my root component and the component that loads it :
(isHubspotEnabled just checks our enviroment variable)
Althought this is what i see in the page source with that id:
<script type=“text/javascript” id=“hs-script-loader” src=“”></script>
(no src for some reason)
i do see the window._hsq is loaded and the network request coming out with the correct application id

should i ask for permission to post the specific link we are not getting data from?
Ah, thanks for sharing, @ankol24.
When you say “the specific link we are not getting data from,” are you referring to the “Self Service Signup” page you mention in your first post, or the page which doesn’t show any src value?
Feel free to share the link here or direct message me if you feel more comfortable.
Also, I’m curious… If you create a contact in your HubSpot account after logging these page views (e.g. through a form submission on your site), do page views show up on the resulting contact record? It’s possible the views are being logged somewhere but we’re looking in the wrong place in Website Analytics. If you create a contact after your actions and cookie tracking is enabled, I would expect page views to also populate that record.
Thanks for your continued patience!
I sent you the link to the our application in a direct message since i am not sure i’m allowed to post it on a public forum at the time.
The “Self Service Signup” page and the page without src are the same page actually
We do create a contact, but we create it with an api call on our server side using
https://api.hubapi.com/contacts/v1/contact/createOrUpdate/email/
I am guessing this way it can’t register views as well?
Now we added the tracking code to the client side as well because we wanted to track page views in addition to the contact creation that happened with the api.
I agree it might show in another place but i didn’t find one that shows the pathname i am sending, do you have ideas about where to look?
Also the our first signup page is the page that the user enter an email, so on this page we don’t know the identity of the user and a contact creation is not called yet,
so if we he doesn’t continue the signup process and just visited the first page , shouldn’t at least this count as a anonymous view?
Thank you for the help
Hi, @ankol24.
Apologies for the delayed response. Thank you for that clarifying information. I believe I understand the issue now.
The website analytics tool only displays page views for HubSpot-hosted blog posts, landing pages, and website pages (e.g. your results subdomain).
If you are looking for page views logged from your externally-hosted SPA, they will show up in the traffic analytics tool in the Pages chart. When searching for your app’s subdomain, I see a number of page view metrics.
I’ll send you a link via direct message as well.
This was the problem, i see the data i am sending in this other report
Thank you very much for your help!