Streaming live at 10am (PST)

How to track from which page a form was submitted

I have turned our contact form into a symbol which is then displayed on various pages across our website, but I’ve run into a problem where I don’t have any visibility over which page they were on when the form was submitted.

So for example, I will get an enquiry that says “Can you tell me more about this?” and I have no idea what they are referring to because there is no contextual data included in the enquiry.

I’ve looked to include tracking tags, but as this is being implemented as a symbol these are all going to be identical anyway.

The only option I can see is to implement a new contact form on every page and include the name of the page that it has been implemented as part of the form, but there are dozens of pages with contact forms, and these all feed into our CRM via Zapier so its a lot to manage.

There are solutions in the forum that demonstrate how to use JavaScript variables to populate hidden fields that get submitted with the form.

Here is an example.

Worked like a charm, thank you!