The GET method takes a value from
<input type="email" name="mail2" style="height: 30px; text-align: center;" x-autocompletetype="email" size="30" required> and passes to the end of the line the desired URL. The bottom line is that the URL contains a request that is replaced by mine.
In the end, instead of the right:
http://www.сайт.com/?utm_source=NT&utm_medium=cpc&utm_content=small&utm_campaign=rass_mail2=мыло I get:
http://www.сайт.com/?mail2=мыло Complicating all this is that you can not use php and js
Code:
<!DOCTYPE html> <html> <head> <title>BELLAKT</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body style="max-width:400px; background: url(img/background.jpg) no-repeat;"> <form action="http://www.сайт.com/?utm_source=NT&utm_medium=cpc&utm_content=small&utm_campaign=rass_" method="get" target="_blank"> <div style="padding-top: 230px; text-align: center;"> <input type="email" name="mail2" style="height: 30px; text-align: center;" x-autocompletetype="email" size="30" required> </div> <div style="padding-top: 8px; text-align: center;"> <input type="submit" value="" style="background: url(img/btn.png)no-repeat center; width: 150px; height: 38px;"> </div> <div style="padding-top: 300px"></div> </form> </body> </html>