Here is the key to what you're trying to do: http://www.epikone.com/blog/2006/09/12/measuring-internal-site-search-with-google-analytics/
Essentially, you have to be able to pass the query to the destination page in the query string. Unfortunately, since the AJAX API's TOU prohibit you from altering the result url, you can't do this. So you have to come at it from a different angle. That's where the database comes in. Basically, you need to capture the search query - and quite possibly the results, depending on what you're trying to do - and use them to construct a request that will be sent to the server, processed, and plugged into the database for analysis later. Unfortunately, this means that you can't use Google Analytics' more advanced functionality; you either have to build it yourself or skip it altogether. Sorry. Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com [EMAIL PROTECTED] Unless otherwise noted, any price quotes contained within this communication are given in US dollars. If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Oct 17, 2008, at 11:13 AM, tambre wrote: > > Hello, > > I'm using the Google AJAX search api on a website of mine and I > followed the instructions of how to set up site search tracking. > Sadly, when I did that I'm returning numbers for my search queries. > > I have no idea why this is happening and I am unable to find an > answer. The ones I am finding are showing how to set up Analytics Site > Search results using CSE and the other answers are that the AJAX > search api doesn't support keyword tracking in analytics or that I > need to code in something to send the query strings back to like a > database... > > Thanks, > tambre > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
