1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Google Search Engine API

Discussion in 'Products & Tools' started by duckman, Mar 17, 2004.

  1. #1
    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
     
    duckman, Mar 17, 2004 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    You could do something like:


    
      $handle = fopen("searchlog.txt", "a");
     fwrite($handle, $q . "\r\n");
     fclose ($handle);
    
    PHP:
    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
     
    digitalpoint, Mar 18, 2004 IP
  3. duckman

    duckman Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks Shawn.

    I'll give it try.

    Duckman
     
    duckman, Mar 18, 2004 IP
  4. w0lfenst1en

    w0lfenst1en Well-Known Member

    Messages:
    128
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #4
    for search queries i guess google webmaster show top 20 searched terms for your website does it work :|
     
    w0lfenst1en, May 15, 2008 IP
  5. SEOSpeakS

    SEOSpeakS Banned

    Messages:
    111
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yeah, that's works fine.
    as well as, i would like to check manually also.
     
    SEOSpeakS, May 30, 2008 IP
  6. casinouk

    casinouk Peon

    Messages:
    279
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    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.
     
    casinouk, May 30, 2008 IP
    DarkBrothers likes this.
  7. onlineshopping

    onlineshopping Banned

    Messages:
    160
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    But from where the data is going to be fetched?
     
    onlineshopping, Jun 2, 2008 IP
  8. killer2021

    killer2021 Peon

    Messages:
    872
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Shawn always has a lot of niffy tricks up his sleeve haha.
     
    killer2021, Nov 11, 2008 IP