Unique visitors - How does Piwik count this?


(doutrax) #1

How does Piwik count unique visitors?
Is 1 unique visitor = 1 unique IP-address?


(Matthieu Aubry) #2

just added this faq; http://piwik.org/faq/general/#faq_43


(doutrax) #3

I’m sorry for my stupidness - … so 1 unique visitor is 1 unique IP-address?


(kpham.p) #4

To me … Yes, and you would see pageview count which is how many page a unique visitor viewed.


(andyc) #5

No. Piwki uses cookies. If the browser doesn’t accept Cookies, it falls back to IP Address/Browser/OS.

IP addresses are not reliable - users from AOL for example will dynamically change IP address during a visit.


#6

Sorry to dredge up an old message, but it’s exactly what we want to know.

we have imported some apache logs and looking at the year
(http://webstats/piwik/index.php?module=CoreHome&action=index&date=2012-05-03&period=year&idSite=1#module=VisitsSummary&action=index&date=2012-05-03&period=year&idSite=1&idDashboard=1)
we see that we have more visitors than visits.

4568 visits, 5673 unique visitors

we don’t plan to use the javascript tracking info, so the algorythm or our knowledge needs to be addressed.

we have added “enable_processing_unique_visitors_year_and_range = 1”, was there something to do after this ? eg reimport the logs ?

v1.7.2-rc8

P


(Matthieu Aubry) #7

Have you used the “Log Analytics” script to import logs? try deleting all table piwik_archive_* and run archive.php again ?


#8

re: drop tables. ok, will do

yes we are using /www/piwik/misc/log-analytics/import_logs.py --recorders=8 --enable-http-errors --enable-http-redirects --enable-static --login=admin --password=xxxyyxyxyx --enable-reverse-dns --idsite=1 -d file.log

p


#9

what error checking does the import process have ?
have found corrupted entries.


211.30.214.ebc0d149740db9f/fcoa_print_2010.css HTTP/1.1" 304 - "http://www.familycourt.gov.au/wps/wcm/connect/FCOA/home/"  "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.3; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"

logs are from the telco


#10

after cleaning the files, will reimporting the files, clear the previous data or is there something i should do to clear the previous data ?


(Matthieu Aubry) #11

See How to - Analytics Platform - Matomo