zwetan / as3-universal-analytics

Google Universal Analytics for AS3
Mozilla Public License 2.0
73 stars 11 forks source link

Google Analytics reporting different number of views than NewGrounds #21

Closed diminuto closed 8 years ago

diminuto commented 8 years ago

Hello, I have followed the simplest implementation of the libraries:

public function sendPageview( page:String, title:String = "" ):void
{       
      var trackingID:String = "UA-XXXXX";
       var config:Configuration = new Configuration(); 
       config.forcePOST = true;
       var tracker:WebTracker = new WebTracker( trackingID, config );
       tracker.pageview( page, title );
}

It seems like the stats are not working everytime: I uploaded my game to Newgrounds last night. According to them 110 people played the game. However, Google Analytics reckons only 48 played. Is there anything I'm missing?

Thanks!

zwetan commented 8 years ago

could be the session management, could be something else

others could be

my advice:

zwetan commented 8 years ago

"as is" I don't see that as a bug

diminuto commented 8 years ago

Thanks a lot for your quick reply zwetan, I will try with your suggested approach

zwetan commented 8 years ago

no prob, and if you found where was the problem please come back and make a little summary so it could maybe help others with a similar problem