I embed a single HubSpot form – a generic “sign up now!” form – on many external pages on my own (non-COS) website.
I’d like to be able to track the page that users submitted this form on, so that I can build specific lists much like how the List builder lets you do with HubSpot hosted pages, but without having to put separate/unique forms on every page.
I’d be awesome if I could use it with the List builder, as you can do if you use COS pages:
What are best practices for accomplishing this? The hacky workaround that I am considering: adding a hidden field to the form called “page_path” or something, and pushing the
window.location.pathname into that field on page load… Is there a better way?