I use Google Analytics
on my site but it has an anomalous behavior:
- When I open 2 to infinite pages of my site in a single browser it is computed as a single active user.
- When I open 2 to infinite pages of my site in 2 browsers are computed as 2 active users.
- When I close the pages, the number of active users in the site is not updated.
- When I leave the flaps open without any update or redirection the number of online users is updated to 0.
I'm using an asynchronous and optimized google analytics code (I put it in an external .js file (which contains other javascript functions, but there is no Interference between variables)):
var _gaq = [['_setAccount', 'UA-63633330-1'], ['_trackPageview']];
(function(d, t){
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.src = 'http://www.google-analytics.com/ga.js';
s.parentNode.insertBefore(g, s);
}(document, 'script'));
What is the reason for this anomalous behavior or is this the right behavior?
Link to the site that made the optimized version of Google Analytics available: link