ios - Google Analytics not tracking events in HTML5 mobile app properly on iPhones -


we using google analytics track events, events don't appear track 100% of time. track, , don't. we're not exceeding quota limits per session (at have 20 events per session). shouldn't issue.

the tracking fails work consistently on our normal website our html5 mobile app version, though it's far less reliable html5 mobile app version.

code:

var share_url = 'http://twitter.com/intent/tweet?text=';          // log in ga _gaq.push( ['_trackevent', 'share twitter', ''] );  // open url in browser open_external( share_url + encodeuricomponent( msg ) );   function open_external( url ) {     window.open( url + '#phonegap=external' ); } 

_gaq.push( ['_trackevent', 'share twitter', ''] ); 

this won't anything.

for _trackevent, third argument (where pass empty string) required. it's 'action' parameter. empty string falsey, fails silently.

pass value there, , it'll work.

is reduced case? shouldn't seeing any events code.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -