Find jobs - Debt Consolidation - Find jobs - Find jobs - Flash Games

PDA

View Full Version : Google Search Engine API


duckman
Mar 17th 2004, 11:55 pm
How do I record the phrases that customers are using to search my site?

Could it possible to provide the code is ASP format?

Very awesome tool, ASP format would go over better with my IT team.

Thanks for you help

Duckman

digitalpoint
Mar 18th 2004, 12:03 am
You could do something like:



$handle = fopen("searchlog.txt", "a");
fwrite($handle, $q . "\r\n");
fclose ($handle);

I didn't test it or anything, so that's off the top of my head (let me know if it works). It should create a file named searchlog.txt and log the queries to it (one query per line).

One thing to watch out for is make sure the web user (httpd maybe?) has access to write to that file. If that user can't do anything in that directory, you could create it manually, then give them write permissions to it.

In regards to an ASP version... sorry, (probably) not going to happen. :)

- Shawn

duckman
Mar 18th 2004, 8:03 pm
Thanks Shawn.

I'll give it try.

Duckman

w0lfenst1en
May 15th 2008, 11:26 pm
for search queries i guess google webmaster show top 20 searched terms for your website does it work :|

SEOSpeakS
May 30th 2008, 12:23 pm
for search queries i guess google webmaster show top 20 searched terms for your website does it work :|

Yeah, that's works fine.
as well as, i would like to check manually also.

casinouk
May 30th 2008, 1:16 pm
Use tools like, geoseo.com, sheerseo.com and seodigger.com and as per that do mannual checking, and than create a report sheet and monitor it daily.

onlineshopping
Jun 2nd 2008, 12:06 pm
You could do something like:



$handle = fopen("searchlog.txt", "a");
fwrite($handle, $q . "\r\n");
fclose ($handle);

I didn't test it or anything, so that's off the top of my head (let me know if it works). It should create a file named searchlog.txt and log the queries to it (one query per line).

One thing to watch out for is make sure the web user (httpd maybe?) has access to write to that file. If that user can't do anything in that directory, you could create it manually, then give them write permissions to it.

In regards to an ASP version... sorry, (probably) not going to happen. :)

- Shawn

But from where the data is going to be fetched?

killer2021
Nov 11th 2008, 5:12 pm
Shawn always has a lot of niffy tricks up his sleeve haha.