Tell me please. It is necessary for the script to pass an id, which will be written in the form:
what would then substitute this id in the URL address that is formed by the java script
The bottom line is that the site has an affiliate program. To track the movement of the banner, the partner id (affiliate) is transmitted to the url.
the whole script is already ready, but I can’t capture the id at the address (((