Hi All,
We’ve got a Hubspot “Contact Us” form, and this form can be used to report product issues, e.g. bugs on our website.
Is it possible (and legal?) to auto-collect browser session data of the person completing the form?
e.g. the sort of information that is captured and revealed here: https://www.whatsmybrowser.org/
This information, if auto-stored with the submission data, might help us to debug an issue more efficiently.
Thanks,
Ross
Hi @RGerring,
What you’re referring to is the user agent string, “a technical bit of information that your web browser sends every time you load any website; we have decoded it to figure out what browser, operating system and device you are using”. It can be read using JavaScript, see here: User-Agent detection, history and checklist - Mozilla Hacks - the Web developer blog
Using the HubSpot forms API, you could integrate the information from the article above with the approach shared here: How can I collect current page URL in form?
Hope this helps!
p.s. Would be AMAZING if Hubspot offered this up as a something we could check a box to auto-include in forms, e.g. like the GDPR options, etc.