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.

