I am a graphic designer and I have a one field form (user fills only e-mail ID and clicks on Submit button). On submitting the form, a PDF needs to be downloaded. Also, the URL should change like this:

In the last part after the = sign (utm_medium=) email ID of the user should appear.

I hope my query is simple to understand and any help will be greatly appreciated! Please help me with the entire code or with steps as to where to add the javascript/ php and what to add.

Thanks in advance.