How to get automatically the url from which the form was submitted by the client in to notification mail to self

how to get automatically the url from which the form was submitted by the client in to notification mail to self

am pasting the button for enquiry form on different pages on my website and once the form is filled by the client, it will send notification mail to me, but how to get included in the notification the url from which the form was requested alongwith the rest of the information?

@Sami_Sood, essentially you’re wanting to know what the lead source is. One way that doesn’ involve coding or scripts would be to clone the form as many times as the different locations. You can then add a hidden field for the Lead Source and identify where on your site the form is - you will need to create a specific lead source in Marketing > Lead Generation > Create Lead Source and then select that when you configure the hidden Lead Source field on each form. The will then be searchable.

But for the notification, I would add the name of the lead source in the Notification subject line in the web form settings area.

This is a common need when you have the same form embedded across multiple pages and want to know which specific page generated each lead.

Most form builders don’t capture the form submission page automatically, so you’ll need to add a hidden field to your form that captures the current page URL when the form is submitted. The exact process depends on which form builder you’re using.

If you’re using a form builder that supports dynamic default values (like Gravity Forms, WPForms, etc.), you can usually add a hidden field with a default value that pulls the current page URL using something like JavaScript or a server-side variable.

For form builders that don’t have this built-in capability, tools like Attributer can handle this automatically. When someone submits your form, it captures the URL of the page where the form was filled and writes it into a hidden field. This data then flows through to your notification emails via whatever integration your form builder already provides. As a bonus, you also get the landing page URL where the visitor first arrived, plus any UTM parameters and other attribution information.

Hope this helps