You can use the 'as3 mode' to avoid any javascript calls. Follow the instructions here: https://developers.google.com/analytics/devguides/collection/other/flashTrackingSetupFlex#anAnalyticsExample2
When you are tracking an event, you simply call: trackEvent <http://gaforflash.googlecode.com/svn/documentation/com/google/analytics/components/FlexTracker.html#trackEvent%28%29>(category:String, action:String, label:String = null, value:Number):Boolean You can use the label and value parameters to send anything you want to track. Hope that helps. Thanks, Om On Tue, Aug 19, 2014 at 8:06 AM, Vishal <[email protected]> wrote: > Hi Om > It worked but is there any mechanism to provide the app version to the > analytics service > > On 19 Aug 2014 14:06, "ER.Vishal Barnwal" <[email protected]> > wrote: > > > > Hi Om, > > > > Thanks for the reply. > > > > I tries using analytics.swc obtained from > > https://code.google.com/p/gaforflash/downloads/detail?name=gaforflash-1.0.1.319.zip&can=2&q= > . > > > > Apart from this, the swc uses external interface internally which is used > for communication with JS and swf embed in html wrapper and currently I do > not wish to use any external html loader to load html pages. > > > > Any help will be appreciated. > > > > -Regards > > Vishal Kumar > > > > > > On Tue, Aug 19, 2014 at 12:53 PM, OmPrakash Muppirala [via Apache Flex > Users] <[email protected]> wrote: > >> > >> Gaforflash has worked fine for me. You may need to get the source code > and > >> fix a couple of minor issues. > >> > >> http://code.google.com/p/gaforflash/ > >> > >> Thanks, > >> Om > >> On Aug 18, 2014 11:17 PM, "Vishal" <[hidden email]> wrote: > >> > >> > Hi All Flex Gurus, > >> > > >> > Is there any third party library by the help of which I can integrate > >> > GoogleAnalytics into my flex air application meant for the desktop > >> > platform. > >> > > >> > Any help will be much appreciated. > >> > > >> > Thanks in advance. > >> > > >> > -Regards > >> > Vishal Kumar > >> > > >> > > >> > > >> > -- > >> > View this message in context: > >> > > > http://apache-flex-users.2333346.n4.nabble.com/Integrate-GoogleAnalytics-to-flex-air-application-on-Desktop-platform-tp7669.html > >> > Sent from the Apache Flex Users mailing list archive at Nabble.com. > >> > > >> > >> > >> ________________________________ > >> If you reply to this email, your message will be added to the discussion > below: > >> > > http://apache-flex-users.2333346.n4.nabble.com/Integrate-GoogleAnalytics-to-flex-air-application-on-Desktop-platform-tp7669p7670.html > >> To unsubscribe from Integrate GoogleAnalytics to flex air application on > Desktop platform, click here. > >> NAML > > > > > > > > > -- > View this message in context: > http://apache-flex-users.2333346.n4.nabble.com/Integrate-GoogleAnalytics-to-flex-air-application-on-Desktop-platform-tp7669p7673.html > Sent from the Apache Flex Users mailing list archive at Nabble.com. >
