Getting value from browser when executing workflow

Hey @FMay HubSpot doesn’t “connect” to a visitors browser, meaning there’s no way to retroactively have a system go back to the browser and grab more data. When a form is submit by a contact the form simply sends a cookie with the tracking information to HubSpot and it processes the analytics tracking. Data outside this isn’t captured, it would need to be sent to HubSpot or another storage system at some point in order to be captured.

One thing you could do is add a hidden field to your HubSpot form to store the amplitude ID for the contact in.

You would then however need a script to grab the amplitude ID and pass it to that hidden form field, this would require some custom JS development. There’s some guides on passing values to fields via JS. There’s another post about how to set a value with custom JS available here.

However you’ll need something to actually capture the value itself from amplitude.

There’s also a pre-built Amplitude HubSpot integration which might be useful to you! HubSpot Marketplace

The only other option would be to create a script that automatically stores the amplitude information somewhere you always have access to, you’ll then need to call that data through a webhook or custom code within your workflow.