如何整合谷歌分析在钛iphone应用程序
问题描述:
如何整合谷歌分析在钛iphone应用程序。 我试图使用下面的链接谷歌分析。如何整合谷歌分析在钛iphone应用程序
https://github.com/rogchap/Titanium-Google-Analytics/blob/master/Resources/app.js
但它不是为我工作。我无法找到问题。
注意:我正在使用Alloy。
请建议。
答
看起来像根据下面的问题,如果您在谷歌分析中将您的应用设置为移动版,您将不得不等待更新。看来,我们需要设置我们的钛APSS起来作为网站在GA现在:
https://github.com/rogchap/Titanium-Google-Analytics/issues/11
没有安装所需的模块?请提供您的应用程序的一些示例代码... – 2013-03-04 14:34:19
我尝试从https://github.com/rogchap/Titanium-Google-Analytics/blob/master/Resources/app.js链接。我知道这个链接没有遵循合金。但我尝试不使用合金(钛iPhone发展)。但我没有从这个链接 – 2013-03-04 16:05:50
耶,但是'var gaModule = require('Ti.Google.Analytics')'得到任何积极的结果;'暗示你下载并安装了Google Analytics模块。是你做的吗? – 2013-03-04 16:10:40