Display top-five referral urls

SpaceshipSpaceship
Watch

romow

VIP Member
Impact
11
Hi,
I would like to display top-five referral URLs on the main page of my site dynamically,
so that I can automatically provide reciprocal links for those sites that bring us the most traffic.

Can anyone help me create a code snippet that does this?
Any help will be greatly appreciated.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
do you want to get them directly from log file or a database can be used?
btw, you may have problems with referral spammers
 
0
•••
hi,
I myself wrote a simple snippet doing this.. I store the referral stats in mysql and display the top five (in terms of unique ip addresses that each site brings to us). I filter out SE referrals, and those referrals from my own sites and my own forum signatures. Also, I periodically flush the database so as to prevent any cheating...

rehash said:
do you want to get them directly from log file or a database can be used?
btw, you may have problems with referral spammers
 
0
•••
rehash said:
...btw, you may have problems with referral spammers
I agree with rehash. It is too easy for referral fraudsters to manipulate the results in your list. I would not recommend that kind of a solution.
 
0
•••
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy — Live Options
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back