cordova - Google Analytics on phonegap app -


we planning use google analytics tracking in our phonegap based hybrid app. using single page architecture based on backbone. existing app , planning add tracking code now.

i know there couple of ways implement - 1) use phone gap plugin (https://github.com/danwilson/google-analytics-plugin) 2) use web version of gtm , add tracking code pages of app.

can me understand pros , cons of each , 1 recommended way?

the author of https://github.com/appfeel/analytics-google here.

gtm:

  • p: easy go, no need install
  • p: no new learning if use websites
  • c: no native features

plugin:

in opinion, if know javascript, you'll have no problems going plugin option. if need fast-to-go solution, can go gtm. i'm pretty sure @ point you'll start think switching plugin option.


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -