Not able to track page views from my site on contact timeline in Hubspot
Hello there,
I am using forms API of Hubspot to submit forms data from my site to Hubspot and currently testing it in development environment. Contact is getting created properly in Hubspot but there are no page views shown on contact’s timeline though I am passing hubspotutk cookie in hutk parameter inside hs_context json blob while submitting forms data to Hubspot forms API. Page urls for pages viewed by that contact are shown on “Page Performance” page (with tag as External) but not on contacts timeline.
Is it something to do with development account? or am I missing something? I have also checked IP filtering section in “Report Settings” but my IP isn’t added in textarea give to add IP’s to exclude traffic from, it is only listed at top below title “Your IP address is:” .
Not able to track page views from my site on contact timeline in Hubspot
Yes @pmanca , yes it worked after JSON encoding hs_context parameter . Thank you
@Brendan_Gilbert , try JSON encoding your hs_context parameter which you pass along with form parameters. As I am using ruby I added json encoded hs_context parameter to my form parameters before submitting them to Hubspot as shown in following example. After this it started tracking page views on contact based on passed hutk value which is hubspotutk cookie value from user’s browser cookies -
Not able to track page views from my site on contact timeline in Hubspot
@TusharTitame and @pmanca I am having similar issues. Passing data through the form api and contact is properly created but no page tracking. Did you discover a fix or perhaps have a tip? Thanks in advance!
Just FYI - I am able to see property named hs_context_utk_ in updated properties list on contact created by form submission but no page views are shown. Also please note that my site name starts with subdomain for each user. So suppose in Hubspot my site is set as mysite.com but when user visits it after signup it is like usersubdomain.mysite.com/page_1 , usersubdomain.mysite.com/page_2 etc
Also, my site is totally independent. Does pages needs to be part of Hubspot to get their views tracked on contact profile ? Not sure if something like that is an issue so thought to mention.