Hi all, I have set up Google adwords tracking code and am able to see which keywords are converting into leads. That is working fine. When a lead submits the contact form, I would somehow like to send the keyword info that led them there as well. Does anyone know if I could draw the keyword data from a tracking url and then submit it via the a hidden field in the form? The goal is to receive a lead with email, name etc, but also know which keyword led them to us so that we can track which keywords actually turn into sales. Or perhaps is a cookie necessary? I'm new to this type of programming, so first want to know if it's possible, and then also what would be the best way to go about it. Thanks!
You'll have to grab the referring link on the landing page and extract the keywords out of it. Nothing to do with your tracking code or AdWords account. Referring link can be found in the HTTP headers. Store the phrase in a session and then add it to the form if you want.
Or you could set a seperate url for each of your keywords. In each url enter the keyword as variable and store it in a cookie or add to a hidden field of your form.
Both helpful answers. Thanks! The only problem would be that disctinct URLS for each keyword would be a nightmare, since we have so many.