I would like to know, if there is a way to gain data from the Local Storage of the Browser and write it into a hidden field?
Some background info:
We are getting Affiliate Traffic with URL Parameters (eg: domain.com/?partnerid=123)
At the moment, we are writing the values of our parameters in hidden fields to track the leads.
Problem starts, when users are clicking to other URLs on our domain, returning to the form and filling it out. In that moment we lost the URL Parameters and so we are not able to track this leads.
Now we have managed to write the parameters into the local storage of the browser. So we need a solution to write them into the hidden fields, if that´s even possible.
Thanks and best regards