Heap Analytics (Javascript) Tracking Events on Form Submit

Hey guys,

I’ve recently been using Heap Analytics to make UI/UX observations on my Webflow sites, and I’m looking to use the “Identify” function to add visitor email addresses when they fill out a Webflow form.

It seems like this can be done by adding a hidden embed in the form and referencing the “email” form field in the code, but I’m unsure in this case. (Please note, the required tracking code has already been installed.)

I’d greatly appreciate any feedback on this topic. Thanks in advance!