PDA

View Full Version : Exclude your own IP adres


marcel1974
10-01-2006, 01:10 PM
Hey guys,

I have downloaded and installed the addon 'Advanced Stats'. I wonder if it's possible to exclude your own IP adres form the count? Now when I visit my own website this also counts as a visit.

I hope somebody can help me.

Thx,
Marcel van Leeuwen

Connie
10-01-2006, 02:19 PM
Marce,

for sure you can edit that Addon, if you understand Advanced Stats

but how can you be sure about "your IP" ?

1) IPs are distributed randomly when using an ISP provider
2) more than one domain can have the same IPs if they use shared hosting

I would just substract one visit per day in my mind and I am done ;=)

marcel1974
10-01-2006, 03:02 PM
the IP adress of my domain www.amvanleeuwen.nl is 87.249.104.90. I understand the code but I don't now the code to exclude this ip from the count.

Vernon.Trent
10-01-2006, 05:03 PM
the advanced stats counts everything. visits, pings, etc. even a lifeping from blo.gs or technorati or rss readers requests are counted as a visit.
on the other hand your domain server cannot visit itself. it would be a loopback which doesn't make any sense. how should this work? :-))

GeoS
10-02-2006, 07:35 AM
He wants to exclude own home/office IP from counting (if I good understand).

Vernon.Trent
10-02-2006, 07:50 AM
He wants to exclude own home/office IP from counting (if I good understand).

yes, that's what I'm guessing too ;)

casperghst42
10-04-2006, 06:38 PM
The code in book_visitor (functions.php) is probably where you should start looking.

Regards/Casper