Mautic Community Forums

Track mautic form source

I use same mautic form to collect leads for different services

the form is the same only the page they are placed on is different

Is there a way to get the information about the url the form was filled from.

one way i can think of is by adding tags to forms

is there a way to manually add a tag to the raw html of the form so that when the lead fills out the form that tag is also reported as contact information in mautic?

any help would be appreciated guys!

I use same mautic form to collect leads for different services
the form is the same only the page they are placed on is different
Is there a way to get the information about the url the form was filled from.
one way i can think of is by adding tags to forms
is there a way to manually add a tag to the raw html of the form so that when the lead fills out the form that tag is also reported as contact information in mautic?
any help would be appreciated guys!

There’s a great tutorial here that should help you.

If you want the URL of the page to be captured, follow the tutorial. If you want the page title instead, simply replace document.referrer in the script with document.title.