I have a few questions.

I have a script that searches the database for a zip code and displays the matching results of names etc.

Is there a way i can track what zipcodes are being entered in another database? Also, what other information can i get? How do i get the URL, etc.

On a side note.

I use google adwords to get traffic to my sites, is there a way to get the keyword that was used to get to my site?
Maybe put some type of code in the index.html file?

Thanks for all your help.