Google Analytics implemented at JavaScript not tracking on Android Device -
i working on hybrid model application development. base of operations code in angularjs , built app bootstrap , html5 responsiveness , have xamrin @ middle layer provide me platform dependent bridges appropriate platforms(android , ios).
i have implemented google analytics @ javascript level. have plans of supporting more platforms in future, don't want implement ga @ native level. instead, treat application webpage , add together tracking @ ui level. way, regardless of platform, able track analytics.
however, i've implemented ios , surface.both of them tracking analytics perfectly. not android.
in index.html file, have this.
<script type="text/javascript" src="ga.js"></script> <script> var _gaq = _gaq || []; if(ga_enabled_flag === true){ _gaq.push(['_setaccount', ga_tracking_id]); _gaq.push(['_setdomainname', 'none']); } </script>
which not working on android environment.
any thoughts on helpful.
thanks, madhan
javascript android ios angularjs google-analytics
No comments:
Post a Comment