Captured Searched Terms with PHP?
Posted: Fri Sep 14, 2007 1:55 pm
Hello,
I have a client that would like me to write a PHP application that will capture the terms that were searched for from the referrer (ie google) and then send that information to administration when they submit a contact form. Enabling them to automatically know which search term has resulted in the form submission.
I know log analyzers such as awstats etc is able to track what search terms brought traffic to the site. My question is:
How can I capture this information with PHP?
Any help is greatly appreciated!
I have a client that would like me to write a PHP application that will capture the terms that were searched for from the referrer (ie google) and then send that information to administration when they submit a contact form. Enabling them to automatically know which search term has resulted in the form submission.
I know log analyzers such as awstats etc is able to track what search terms brought traffic to the site. My question is:
How can I capture this information with PHP?
Any help is greatly appreciated!