How to capture affiliate ID from URL and include it in form submission, even if user go to different pages.