Hello community,
We are using a landing page to track clicks from an SMS campaign and apply a coupon code. We do not need to have the user fill out a form but we need to write the contents of the URL query string to a form on arrival (in case they do not click thru - we want the unique non PII query string parameter captured.
I have used this :
window.ub.hooks.afterFormSubmit.push
or
window.ub.hooks.beforeFormSubmit.push
To push query string data and form data into a session cookie - but I do NOT know if there is a way to write to a form field before the user pushes a form button.
Any thoughts?