Google Analytics - async tracking with two accounts
        Posted  
        
            by MatW
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by MatW
        
        
        
        Published on 2010-04-16T09:20:35Z
        Indexed on 
            2010/04/16
            9:23 UTC
        
        
        Read the original article
        Hit count: 371
        
google-analytics
|stats
I'm currently testing GAs new async code snippet using two different tracking codes on the same page;
_gaq.push(
    ['_setAccount', 'UA-XXXXXXXX-1'],
    ['_trackPageview'],
    ['b._setAccount', 'UA-XXXXXXXX-2'],
    ['b._trackPageview'] 
);
Although both codes work, I've noticed that they present inconsistent results. Now, we aren't talking huge differences here, only 1 or 2 visits / day every now and then. However, this site is tiny and 1 or 2 visits equates to a 15% difference in figures. Now, the final site has much more traffic, but my concerns are;
- will this inconsistancy scale with traffic?
- assuming not, is a slight variation in recorded stats an accepted norm?
© Stack Overflow or respective owner