TraceWatch Website Statistics

Google Web TraceWatch.com

Difference between online visitors counter

Anything About TraceWatch

Difference between online visitors counter

Postby datanasov » Thu Apr 14, 2011 9:35 pm

I use the GetStats Api to get the online visitors in my admin panel in the website. I have 1 main website with 10 sub websites.

When I pass ID for sub website the Api generates an error.
When I pass ID for the main website it shows the online visitors, but it's showing less visitors than the counter in trace watch "latest visitors" panel.
datanasov
Translator
 
Posts: 52
Joined: Sat Oct 17, 2009 11:29 pm

Re: Difference between online visitors counter

Postby arash » Sun Apr 24, 2011 1:54 pm

There is no separate stats for sub websites therefore you get the error message, you should only use the main website id.
About the difference, please send me the exact code you are using to fetch the online visitors, also make sure your latest visitors page does not have any filter/search term.
arash
Site Admin
Site Admin
 
Posts: 385
Joined: Thu Oct 08, 2009 2:09 pm

Re: Difference between online visitors counter

Postby datanasov » Wed Apr 27, 2011 3:36 pm

No filter, I look at it directly when I go to "Latest visitors" page.

Code: Select all
$online = twatchOnlineVisitorsCount(1);


This is the code i use form API - copy from the documentaion.


I check this when I have one Main web site(ID 1) with 16 sub web sites, and also I check this counter when I implement the workround for dynamic domains from http://www.tracewatch.com/discussion/viewtopic.php?f=3&t=562.

Either way the API code returns different number from this in "Latest Visitors" page. Difference with about 10 users.
datanasov
Translator
 
Posts: 52
Joined: Sat Oct 17, 2009 11:29 pm

Re: Difference between online visitors counter

Postby arash » Thu Apr 28, 2011 9:38 am

Ok I overlooked something, twatchOnlineVisitorsCount() gives only the number of NORMAL online visitors. If you uncheck spammer, robot and administrator in latest visitors page the number of online visitors should match the api result. does it?
arash
Site Admin
Site Admin
 
Posts: 385
Joined: Thu Oct 08, 2009 2:09 pm

Re: Difference between online visitors counter

Postby datanasov » Thu Apr 28, 2011 10:58 am

Ok, maybe is that. I'll check it when we fix the "slow queries" problem, becase it's about for the same website.

However is there a way to get all of the visitors(including robots) ?
datanasov
Translator
 
Posts: 52
Joined: Sat Oct 17, 2009 11:29 pm


Return to General Talk

cron