List Info

Thread: Re: Is is possible to keep track of searches?




Re: Is is possible to keep track of searches?
user name
2008-01-21 15:00:22
Hi,

I am using Google Analytics to do mine (you can sort and
filter the
results in there).

In the query submit function, have it pass the query to
analytics
also.

Just look for the following section of your code (mine is
using
cse.prototype.onSubmit so use your equiv.)

Eg.

if (q && q!= "") { // execute search
control
 if (typeof urchinTracker!="undefined"){
 urchinTracker('AJAX-Search/'+q.replace(/<V?[^>]+>/
gi,""));
 }
}

Hope that helps some 

Cheers!
Vision Jinx


On Jan 20, 8:09 am, pranavashok <pranavas...gmail.com> wrote:
> Is there any way to keep in track of the search
queries, popular
> search terms and stuff like that on a website made
using the Google
> AJAX Search API?
>
> Thanks
>
> Pranav Ashokhttp://www.getaudio.us
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Google AJAX API" group.
To post to this group, send email to
Google-AJAX-Search-APIgooglegroups.com
To unsubscribe from this group, send email to
Google-AJAX-Search-API-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API
?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )