query log - best bets

Post Reply
hqweb0
Posts: 45
Joined: Thu Jun 01, 2006 3:08 am

query log - best bets

Post by hqweb0 »

We haver query logging enabled but although its logging query words and terms its not logging best bet clicks. We know the best bets are being used (as we ourselves are using them). Do we need to change something in the search script?
thanks.
Niamh
p.s. our nightly walk type is refresh
User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

query log - best bets

Post by John »

What is the URL you are seeing for the best bet results, e.g. if you right click and copy shortcut and paste it?
John Turnbull
Thunderstone Software
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

query log - best bets

Post by mark »

It would appear that there's the possibility of some clickovers of any type to not get logged. It all depends on how quickly the browser follows the redirect compared to how quickly the clickover is logged.

There's a fix for the search script in the pipeline for release. You can fix your search script by adding
<vxcp connreset 39>
after the <init> line in the "redir" function so you end up with:
<a name=redir public>
<init>
<vxcp connreset 39>
<doredir u=$u>
hqweb0
Posts: 45
Joined: Thu Jun 01, 2006 3:08 am

query log - best bets

Post by hqweb0 »

Hi,
We've added the above to the script and now the query log for best bet clicks is 1 which could not be correct as we have done multiple best bet clicks ourselves.
any other ideas?

many thanks.
Niamh
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

query log - best bets

Post by mark »

Double check that query logging is on.
That the url you're clicking on has "redir" before the actual page's url.
That you've clicked on best bets since the last "new" walk which will clear the log.

Check your vortex.log to make sure you're not getting any errors when clicking best bets.
hqweb0
Posts: 45
Joined: Thu Jun 01, 2006 3:08 am

query log - best bets

Post by hqweb0 »

Hhi,

query logging is on. there is a redir before the page's url. best bets have been clicked (and the walk is refresh). vortex logs show no errors for best bet (at least no errors that can be identified).

The following is from search script :

<a name=redir public>
<init>
<vxcp connreset 39>
<doredir u=$u>
<if $SSc_querylog eq Y><!-- log redirect to querylog table -->
<$indexcount=>
<qinfo what="u" query=$query>
<if $REMOTE_HOST eq ""><$REMOTE_HOST=$REMOTE_ADDR></if>
<sql novars "insert into querylog values(counter,$REMOTE_HOST,$qinfo,$u)"></sql>
</if>
</a>

Strange we still see only one best bet click in the query logging of best bets.

Niamh
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

query log - best bets

Post by mark »

To eliminate the possiblity of disconnect issues try moving
<doredir u=$u>
to between
</if>
and
</a>
so that the logging occurs before the user is redirected.
legedza.henry
Posts: 142
Joined: Wed Jul 24, 2002 11:52 pm

query log - best bets

Post by legedza.henry »

I am having the same problem. I have best bets set, query logging is on, but whenever I click on a best bets link nothing is written into the query log or the Best Bets Click report.

I have made the changes as specifed above into the search script, reran the profile walk and still nothing.

Any suggestions? I am running Webinator 5.1.46.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

query log - best bets

Post by mark »

So, you have query logging on and the queries are getting logged? Are regular clickovers getting logged? Do the best bet urls have "redir.html" in them?

Maybe try the latest scripts from the Webinator support page.

Rerunning the walk will have no affect on query logging issues except to clear the query log if it's a new walk.
Post Reply