Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Yahoo Answers referer not tracked

Reply to Post Add a New Topic
UserPost

3:34 am
December 6, 2008


blahmartinblah

Member

posts 3

Hi there

I'm trying to get Yahoo answers to show in my referer statistics. At first I thought it was because the referer URL answers.yahoo.com was being misinterpreted as referals from the Yahoo search engine, so I added the following line to  NotSearchEnginesKeys:

'yahoo\\.'=>'answers\\.yahoo\\.',

'yahoo\\.'=>'mail\\.yahoo\\.'

I *do* see referals from *.mail.yahoo.com, so I know this is kind of working, but I still don't get referals from answers.yahoo.com in my referals statistics. Can anyone suggest what else could be going wrong? I'm getting quite a bit of traffic from Yahoo answers, and really want to have it seperated from the search engine traffic.

Martin.

4:18 am
December 6, 2008


Jean-Luc

Admin

posts 1125

In my understanding, after you execute

%NotSearchEnginesKeys=(
'altavista\\.'=>'babelfish\\.altavista\\.',
'google\\.'=>'mail\\.google\\.',
'google\\.'=>'translate\\.google\\.',
'msn\\.'=>'hotmail\\.msn\\.',
'tiscali\\.'=>'mail\\.tiscali\\.',
'yahoo\\.'=>'answers\\.yahoo\\.',
'yahoo\\.'=>'mail\\.yahoo\\.',
'yandex\\.'=>'direct\\.yandex\\.'
);

the value of $NotSearchEnginesKeys{'yahoo\\.'}  is 'mail\\.yahoo\\.'  and the value of $NotSearchEnginesKeys{'google\\.}  is 'translate\\.google\\.' .

I believe that the code in the library file is misleading as there can only be one value of the hash for a given key.

5:18 am
December 6, 2008


blahmartinblah

Member

posts 3

Hi

Thanks for looking at this. Do you think it is impossible to have both mail.yahoo.com and answers.yahoo.com appear in my referers?

Would it help to change the way the Yahoo search referals are identified by changing 'yahoo\\.' to 'search\\.yahoo\\.' ? I think this is valid for all versions of the Yahoo search engine. Then the mail.yahoo.com and answers.yahoo.com referals would not be mixed in with them.

Martin.

5:32 am
December 6, 2008


Jean-Luc

Admin

posts 1125

Hi Martin,

I would try with a regular expression like this :


'yahoo\\.'=>'(answers|mail)\\.yahoo\\.',

Please let me know if it produces the expected result.

3:52 am
December 7, 2008


blahmartinblah

Member

posts 3

Perfect! It does work. I didn't think of using regex here. Thanks very much for your help. I'm happy again with awstats!

Martin

Reply to Post

Reply to Topic:
Yahoo Answers referer not tracked

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
2 + 9
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
6 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2709

Membership:

There are 257 Members
There have been 302 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)