Today I learned that every click on an Ad in Google, Bing, Facebook etc. has a unique click ID. Does anybody have experience with storing this click ID, and then transfering it to a hidden field of a form to send it when the form is submitted?
I know probably I need javascript to substract the Click ID. This Click ID is added to the URL. For example in case of a Google Ad: https://yoursite.com/landingpage?gclid=AbCdEf12345
Any tips on the easiest way to accomplish this in Foundation 6 and with Foundation 6 forms? Preferably save the ID also when a user visits multiple pages and uses browser tabs and in the end fills in a form and sends it.