-
19 Oct 2010 10:32 PM #1
Google Analytics Use in Sencha Touch?
Google Analytics Use in Sencha Touch?
Hi,
Was wondering if anyone has tried to integrate Google Analytics tracking into a Sencha Touch Application? I would like to track things like application signups, etc.
Thanks,
Steve
-
19 Oct 2010 10:51 PM #2
You might want to elaborate, why can't you just include GA like you would on any other page?
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
20 Oct 2010 11:00 AM #3
Hi Evan,
Basically would like to incorporate event tracking into each of the different forms and related events, etc (eg: record an event when someone submits signup form). We already include basic tracking into the page which loads the app... but want to do it on a more incremental and fine grained basis (so we can understand exactly how folks are using the app) . Would be nice to have this done as a part of the toolkit( ideally) ... There are some toolkits/opensource projects for doing this for native iphone apps.
Steve
-
21 Oct 2010 9:20 AM #4
Did a bit more research on this... turns out its fairly straightforward to incorporate google analytics via java script API calls to their service. Would be useful if that was done automatically as it requires mirroring API calls (and other events) to record events with google.
For example:
Ext.Ajax.request({
url: CONFIG.api_host + "/api/consumer/signup/",
method: 'POST',
params: params,
success: function(msg) {
Ext.getBody().unmask();
Ext.getCmp('app').initializeAfterLogin();
_gaq.push(['_trackPageview', '/api/consumer/signup/']);
-
23 Nov 2012 3:48 AM #5
No news about this topic ? Someone have all ready integrate GA in it's app ?
Carlos
-
27 Nov 2012 7:27 AM #6
If you use phonegap there are plugins for this:
Android: https://github.com/phonegap/phonegap-plugins/tree/master/Android/Analytics/2.0
iOS:https://github.com/phonegap/phonegap-plugins/tree/master/iOS/GoogleAnalytics
-
27 Nov 2012 7:42 AM #7
Tks for the reponse. I'm in WebApps context for the moment but it's always usefull to kown that a plugin exist.
Similar Threads
-
Is Sencha working on native wrappers to package Sencha Touch apps for app stores?
By olin in forum Sencha Touch 1.x: DiscussionReplies: 10Last Post: 20 Jan 2012, 10:10 AM -
Google Analytics to track Ajax request made by ExtJS App.
By msarath in forum Community DiscussionReplies: 4Last Post: 21 Jul 2011, 1:32 PM -
Google Analytics Widget for ExtJS (starting)
By surgi in forum Community DiscussionReplies: 6Last Post: 22 Jul 2009, 4:20 AM -
Ext.fc.analytics - Power up your google analytics
By francodacosta in forum Ext 2.x: User Extensions and PluginsReplies: 0Last Post: 21 Apr 2009, 6:05 AM


Reply With Quote