Forum Moderators: DixonJones

Message Too Old, No Replies

Making a counter/tracker...

adding search engine referrals

         

hostlead

11:59 am on Jul 22, 2003 (gmt 0)

10+ Year Member



Hello,
what features would you like to see?
and how do I add search engine referrals to the statistics? I'd like to see what term the user searched for and on which page he found the link he clicked.

HostLead

gilmour

7:17 pm on Jul 28, 2003 (gmt 0)

10+ Year Member



Referrals and keywords can both be grabbed from the $HTTP_REFERER (in PHP anyway,...all languages will have a similar feature) variable because the keywords are usually passed in the URL during a search.

It's just a matter of slicing the domain to get your referral engine and slicing off the keyword info from the query string.