Code Monkey home page Code Monkey logo

ane-google-analytics's People

Contributors

alebianco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ane-google-analytics's Issues

Transaction shipping cost set twice

Hello alebianco,

I haven't actually used this ane yet, but it looks quite nice and I thank you for releasing it.

However, while looking over the code to see how it works, I noticed that in TrackData.java trackTransaction() method when a Transaction instance is created with Transaction.Builder, the setShippingCostInMicros() method is called twice. For the tax setting, it should be:
builder.setTotalTaxInMicros((long) (tax * 1000000));

Easy enough typo, but something to have look at.

Thank you again,

Devon

Tracking doesn't work in APK built in FlashBuilder 4.6 (AIR 3.8, android)

Hi, Ale!
I'm trying to use your GA ANE in AIR/android FlashBuilder project.
Doing all strictly the same way as you described in guide.
Testing in standalone emulator(BlueStacks) and on real phone(by re-installing released APK).
On GA using Mobile App Data tracking profile, not Universal one for sure.

Analytics.isSupported() shows true, but tracking doesn't work nor in Real-time overview nor on usual dashboard.

ANE is connected to project: http://puu.sh/4Sarx.png
SWC(NativeGATracker-v2.0.4.swc) lays in /libs

Some code key moments (maybe something I'm doing wrong):

import eu.alebianco.air.extensions.analytics.Analytics;
import eu.alebianco.air.extensions.analytics.api.ITracker;
...
var tracker:ITracker = Analytics.getInstance().getTracker(GA_TRACK_ID);
tracker.buildView("Home").track();

Tried: tracker.startNewSession(); , tracker.buildView("Home").create(); etc.
Nothing helps.

Maybe it's unreal to build with FB, dunno. Tell me please what could it be! Thanx!

Error

HI.
I am implementing google analytics in my game. But its behaviour is strange.
In sample application which I created its working. But same code in my game is not dispatching any thing. In debug mode it prints 'Dsipatch running...noting to dispatch...'

Please let me know if I am doing anything wrong.

I am compiling with AIR SDK 3.5 on windows and 3.8 on MAC.

Waiting to hear from you
Thanks

versionNumber as app version

The app version is currently read from versionLabel tag in the app descriptor. It could maybe fallback to versionNumber tag, in case someone's not using the versionLabel tag.

Clarification required on some API usage.

Hey there,

Nice thing you have here, but I'm very confused about how some of the API works. I understand (well.. sort of) something like tracker.buildView("Home").track(); (simply sends a response to the server that the user visited a page and to give it the "Home" label in the analytics page), but others are not so obvious. For example:

tracker.buildEvent("swipe", "screen").withValue(1).track();
tracker.buildTiming("loading", 5000).withName("resources").withLabel("audio.mp3").track();

I understand the concept of what these are supposed to do, what I don't understand is what all the values and function calls actually mean or do. It would be nice if there were ASDocs available detailing exactly what the functions do and what constants are available for use in the API, along with what they mean.

Thanks.

ASDoc Error while re-compiling ActionScript

I am getting the following error while re-compiling the swc using the standard build and script.
the process works fine until, it starts generating the asdoc.

Heres a snipet of the last output.
...
[echo] [test] Finished running Unit Tests

asdoc:
[echo] [asdoc] Generating ASDOC documentation
[java] Adobe ASDoc
[java] Version 4.6.0 build 23201
[java] Copyright (c) 2004-2011 Adobe Systems, Inc. All rights reserved.
[java]
[java] Error: no default arguments are expected
[java]
[java] Use 'asdoc -help' for information about using the command line.

BUILD FAILED
/Users/sumeet/codebase/GIT/ANE-Google-Analytics/source/actionscript/abcore/build/build.xml:72: Java returned: 1

The whole node starting from line 70from the build.xml is as follows:

[asdoc] Generating ASDOC documentation












[asdoc] ASDOC documentation generated successfully

I am trying my hand at updating the GAService JAR to v3 and implement the Campaign and Reffereral tracking.

i have forked your code created a brach from the development stub.
Let me know if you will need more information.

ANE not included in download

I went to download the latest version of the ANE to update my working copy, but it appears that the release folder containing the packaged ANE is no longer included in the ZIP file.

buildSocial doesnt seem to work

Hey mate,

So im trying on both iOS and Android to track
tracker.buildSocial("Facebook", "like").forContent(currentVideo.title).track();

Whilst the other analytics work, i dont seem to get anything for that. Not sure if i am doing it the right way, and i noticed on your example you dont have the forContent part, but having tested for both this and twitter, it doesnt seem to trigger.

Runtime error on iOS

Air 13.0 / iOS 7.1.1
The followig error is raised at runtime with simple code :

if( Analytics.isSupported() )
{
var analytics:Analytics = Analytics.getInstance();
var tracker:ITracker = analytics.getTracker( 'UA-*******-' );
tracker.buildView("Home").track();
}

ArgumentError: Error #3500: The extension context does not have a method with the name getCampaignData.

Data is not tracking with new Google tracker (v2.0 beta 4)

I've just created new Google tracker ID for my new applicatio and do see that ANE stopped working for me. Probably because of new GA SDK - Version: 2.0beta4 (January 2013).
Could you please take a look to it and recompile ANE with new GA SDK.

Thx in advance,
-Ihor

Unable to read a property on method 'trackTiming

Having this error: Unable to read a property on method 'trackTiming'
Flash Builder 4.7 + Air 4.0 - iOS

Any idea!?

if (Analytics.isSupported()) {
                Analytics.getInstance().debug = true;
                var analytics:Analytics = Analytics.getInstance();
                var tracker:ITracker = analytics.getTracker("UA-xxxxxxxxx");
                tracker.buildView("MainScreen").track();
            }

Thanks

iOS no data in GA

Hello,

I compiled your demo with my GA Key on iPad3, everything seems to be ok but have no stats in GA dashboard.

  • i verified my GA key
  • i used web profile (not app profile in GA dashboard)
  • i deactivated debug mode and dry mode

When i click the "Track Page View" nothing appears in the logger panel, is that right ?

Tracked data not showing in Google Analytics

Hi there!

I'm trying to use this extension in my iOS app but don't seem to be able to get the tracker data in GA. I'm using this code:

if (GATracker.isSupported()) {
trace( "Google Analytics is supportd" );
_tracker = GATracker.getInstance();
_tracker.startNewSession("XXXXXX", 20);
_tracker.trackPageView("/init");
}else{
trace( "Google Analytics is NOT supportd" );
}
GATracker.isSupported() returns true, and I get no errors in the FB console.
Later in the application flow, I also perform some more "trackPageView" and "trackEvent" calls.
I checked the xCode's organizer console log as suggested in other issues in this repo, but not sure what to look for.

I'm using the compiled ANE downloaded from the repo's main page (I guess that's the master branch), and the GA profile is a newly created one as "app".

Any ideas what could be wrong?

Thanks a lot for your work and help!

Error on deploy to iOS7

Getting a strange error on deploy-publish

Invalid input.

Id: -pie can only be used when targeting iOS 4.2 or later

Im compiling with the latest AIR(3.9) SDK using the FlashCS6 IDE.

ANE Live Tracking

Hi,

i've setup the Demo in FB4.6 and compiled the application properly on my phone (Android).
After connecting to a test-account, i've send several test "events" and "screen" tracks to this account. It says: "Hit data has been queued for dispatch". I also tried with manual dispatch, but the RealTime tracking in Analytics doenst show any activity.

I also tried your basic setup as discribed on github project page, but also dont get any tracking working.

Did i miss something? Should the "debug" mode display some logging? Don't see any traces there either. Also waited 24h in case livetracking is not supported. Still no events shown in GA.

Best,
Chris

ane missing

Hello, can't find ane from repository did u remove it?

Error creating database

Hey,

this is such a great extension, but I can't make it work, looking in the log, it is complaining that it can't create the google-analytics database:

GAIDataStore openPersistentStoreWithError:] (GAIDataStore.m:89) ERROR: Error opening database with path /Users/user/Library/Application Support/iPhone Simulator/7.0.3/Applications/com.mypp.myapp/Library/googleanalytics-v2.sql: Error Domain=NSCocoaErrorDomain Code=512 "The operation couldn’t be completed. (Cocoa error 512.)" UserInfo=0x7a47c8a0 {reason=Failed to create file; code = 2}

I'm using the ane in flash cc with air 3.9. Do you know what might be the issue? Maybe I'm just missing a setting.

Causes Android app to force-quit

I've got this working beautifully in iOS (iPhone 4s w/ 5.0.1), but on Android (Nexus One w/ 2.3.6) it consistently causes the app to crash after 5-10 seconds. I don't see anything useful in the logcat but I'd be happy to help debug this. I'm building with AIR 3.5.

Improve documentation on usage

Hi,

I've implemented a cross platform solution for GA with the web version & the ANE for mobile. I seem to only be getting web traffic events in the analytics backend.

Where can we view the mobile data? (the only "mobile" data I find is users trying to browse the web version on the mobile device)
Do we need to upgrade the account to "Universal analytics" ?
Is there anything else required for tracking on mobile?

This post feels a bit off topic in regards of your guidelines but can't find information anywhere nor is there another way to bring up such issues.

Thanks,

Cameron

TRACK PAGE VIEW

Hello!
First I want to thank you for this library!

Using your code I wanted to do the following:
  var tracker: iTracker = analytics.getTracker ("UA-XXXX-3"),
tracker.buildView ("/ mypage") track ().;

In a view in google analytics "UA-XXX-2" was created. (with the name "miPage")

As I do so it does not create a new view .... I want to use an already created --> "miPage in UA-XXXX-3 "

 
I want to function as they did to gaForFlash ( How do I do? ) :

https://developers.google.com/analytics/devguides/collection/other/flashTrackingSetupFlash?hl=es

com.google.analytics.AnalyticsTracker import;
com.google.analytics.GATracker import;
var tracker: GATracker AnalyticsTracker = new (this, "UA-111-222", "AS3", true);
playGame.addEventListener (MouseEvent.CLICK, onButtonClick);
onButtonClick function (event: Event): void
{
    THIS ----> tracker.trackPageview ("/ myGame1");
}

Thank you very much for your time!

Packaging problem

Packaging an application on windows with AIR 3.4 using version 1.21 of the extension results in an error:

Error occurred while packaging the application:
ld: library not found for -larclite_iphoneos
Compilation failed while executing : ld64

PackageInspectionFailed while building for debug/iOS, AIR 4.0

Hey, Alessandro!
When I'm trying to debug our app with Flash Builder on iOS device, building fails with "PackageInspectionFailed" error.
I'm using the latest NativeGATracker-v2.0.4.ane built for AIR 4.0.

When I remove NativeGATracker from the app, the debug build is successful and the app is deployed to the device.

Can you help, please?

Thanks for the extension, we are using it in in our YoWindow weather project - http://yowindow.com

Pasha

Doesn't work on IPad3

Hi, thanks for your wonderful project, but when I use it got these message and doesn't work, could you give me some advices ?

Thanks!

Jun 25 11:40:46 David-New-iPad profiled[716] <Notice>: (Note ) profiled: Idled.
Jun 25 11:40:46 David-New-iPad profiled[716] <Notice>: (Note ) profiled: Service stopping.
Jun 25 11:40:49 David-New-iPad TestTell[718] <Warning>: track test
Jun 25 11:40:50 David-New-iPad TestTell[718] <Warning>: dispatch called
Jun 25 11:40:50 David-New-iPad TestTell[718] <Warning>: dispatching 1 hits
Jun 25 11:40:50 David-New-iPad TestTell[718] <Warning>: GET /__utm.gif?utmwv=4.9mi&utmn=966696902&utmt=event&utme=5(test*test*)&utmcs=UTF-8&utmsr=768x1024&utmsc=24-bit&utmul=zh-hans-cn&utmac=UA-39510971-4&utmcc=__utma%3D1.994290900.1372089586.1372130831.1372131602.6%3B&utmht=1372131649745&utmqt=520 HTTP/1.1

    Host: www.google-analytics.com

    User-Agent: GoogleAnalytics/1.5 (iPad; U; CPU iPhone OS 6.1.3 like Mac OS X; zh-hans-cn)



Jun 25 11:41:10 David-New-iPad TestTell[718] <Warning>: dispatch called
Jun 25 11:41:10 David-New-iPad TestTell[718] <Warning>: ...nothing to dispatch
Jun 25 11:41:19 David-New-iPad TestTell[718] <Warning>: track test
Jun 25 11:41:39 David-New-iPad TestTell[718] <Warning>: dispatch called
Jun 25 11:41:39 David-New-iPad TestTell[718] <Warning>: dispatching 1 hits
Jun 25 11:41:39 David-New-iPad TestTell[718] <Warning>: GET /__utm.gif?utmwv=4.9mi&utmn=592936166&utmt=event&utme=5(test*test*)&utmcs=UTF-8&utmsr=768x1024&utmsc=24-bit&utmul=zh-hans-cn&utmac=UA-39510971-4&utmcc=__utma%3D1.994290900.1372089586.1372130831.1372131602.6%3B&utmht=1372131679834&utmqt=20008 HTTP/1.1

    Host: www.google-analytics.com

    User-Agent: GoogleAnalytics/1.5 (iPad; U; CPU iPhone OS 6.1.3 like Mac OS X; zh-hans-cn)

iOS package

Problem only then package ipa for simulator.

Mac OS 10.7.4
XCode 4.5
Air sdk 3.4

development branch
iPhoneSimulator5.0 or iPhoneSimulator5.1
package for simulator - error

ld: warning: -macosx_version_min not specificed, assuming 10.6
ld: warning: could not create compact unwind for __Unwind_Resume: non-standard register 0 being saved in prolog
ld: warning: could not create compact unwind for __Unwind_ForcedUnwind: non-standard register 0 being saved in prolog
ld: warning: could not create compact unwind for __Unwind_RaiseException: non-standard register 0 being saved in prolog
ld: warning: could not create compact unwind for __Unwind_Resume_or_Rethrow: non-standard register 0 being saved in prolog

ipa package - all ok

iPhoneSimulator6.0
package for simulator

[Fatal Error] :1:1: Content is not allowed in prolog.
java.io.IOException: PLIST generation failed due to SAX error:org.xml.sax.SAXParseException: Content is not allowed in prolog.
    at com.adobe.air.Plist.newFromString(Plist.java:351)
    at com.adobe.air.Plist.newFromFile(Plist.java:325)
    at com.adobe.air.ipa.IPAOutputStream.setSDKVersion(IPAOutputStream.java:1067)
    at com.adobe.air.ipa.IPAOutputStream.setPlatformSDKLocation(IPAOutputStream.java:969)
    at com.adobe.air.ipa.IPAPackager.setDeviceSDKDirectory(IPAPackager.java:187)
    at com.adobe.air.ADT.parseInput(ADT.java:920)
    at com.adobe.air.ADT.parsePackage(ADT.java:672)
    at com.adobe.air.ADT.parseArgsAndGo(ADT.java:570)
    at com.adobe.air.ADT.run(ADT.java:419)
    at com.adobe.air.ADT.main(ADT.java:469)
ld: warning: -macosx_version_min not specificed, assuming 10.6
ld: warning: could not create compact unwind for __Unwind_Resume: non-standard register 0 being saved in prolog
ld: warning: could not create compact unwind for __Unwind_ForcedUnwind: non-standard register 0 being saved in prolog
ld: warning: could not create compact unwind for __Unwind_RaiseException: non-standard register 0 being saved in prolog
ld: warning: could not create compact unwind for __Unwind_Resume_or_Rethrow: non-standard register 0 being saved in prolog

ipa package - all ok

Crash on iOS 4.* Devices

It appears the usage of ARC (Automatic Reference Counting) is an issue on iOS 4.* flavour devices.

Example Error:

<Notice>: dyld: lazy symbol binding failed: Symbol not found: _objc_retain

A potential quick fix on this site:
Using ARC in native extensions

Any help greatly appreciated!

Regards:

DigitalJohn

Where is latest release?

There used to be a "release" folder with the ane and swc but can't find either of those now. Please advise and thanks for the extension.

Build process

Hi, and thanks kindly for this project - it's the only GA solution for AIR, so far as I know, and it does the job very well!

I'm trying to build the development branch (need the new 'App' stuff), and after a fashion (the undisclosed requirement to include your abcore github project in the actionscript/ dir) I'm stuck with a build error on the ext_ios target:

exec] xcodebuild: error: Unknown build action '(all'.
[exec] Build settings from command line:
[exec] ARCHS = armv7
[exec] SDKROOT = iphoneos7.0

I reckon sdkroot is incorrect - I recently installed the iOS7 / relevant XCode build; is this now creating a conflict with ANE-Google-Analytics build script and my environment?

the ext_ios target injects the parameter -sdk ${sdk}, but I don't see where ${sdk} is set from, unless this: -framework SystemConfiguration from platform-iphone.xml is causing it to use a value set automatically during the latest XCode beta install?

There's no precompiled ANE in the Git repo, so building would appear to be my only option to get involved with the new library - though I'd like full build capabilities if I can manage it!

Android not getting GA reports

Hey mate,
Im working on a project using Air 3.8, for both iOS and Android. Whilst on iOS im getting Google Analytics back, im not getting anything for Android. Im testing on the devices, as well as even pushing an update to Google Play Store, but Android is not giving me back anything..

Same code-base so it should work for both if it works for one, right?
Thanks

Compiling with Air SDK 3.8 fails

First of all, thanks for all your hard work on this extension it's really useful!

It works well, when I use AIR SDK 3.7, however when I try to use Air 3.8 (which I have to for other reasons unfortunately, due to a certain bug in 3.7..) I get this error message :
Packaging failed!
Packaging error message:
Compilation failed while executing : ld64
Packaging output:
ld: -pie can only be used when targeting iOS 4.2 or later

I imagine this is due to a minimum iOS sdk compatibility , and -pie seems to be some sort of argument you're using?

I was wondering if this is something you could quickly remove or put in some condition (i.e. use "-pie" only if target minimum sdk is lower then 4.2 etc) ?

I'm on Windows PC, so can't really compile the sourcecode myself, (not that I have know how :) but I'd appreciate if you find a bit of time to have a look at this issue..

Many Thanks

Slavomir

iOS runtime error

On iOS it throws an error:

Unable to find named traits: eu.alebianco.core::Enum

x86 support

since lastest air version support android x86 would be great to add it to extension.xml

iOS ipa compile error

Hi Alebianco,

Great work on the new version! However I'm running into a little problem when I try to compile my ipa (using the commandline).
This is the error:
"Installation Error: PackageInspectionFailed."

..and here is the appropriate part of the logging:
installd[3647] : 0x2ff56000 handle_install: Install of "/var/mobile/Media/PublicStaging/Cubles-dev.ipa" requested by mobile_installation_proxy
installd[3647] : 0x2ff56000 peruse_package: App info dict loaded from "/var/tmp/install_staging.Y0G6U5/foo_extracted/Payload/CublesLite.app" did not have bundle identifier
installd[3647] : 0x2ff56000 stage_package: Could not peruse package at /var/tmp/install_staging.Y0G6U5/foo_extracted
mobile_installation_proxy[3662] : 0x3bb0bb88 MobileInstallationInstall: failed with -1
mobile_installation_proxy[3662] : handle_install: Installation failed
installd[3647] : 0x2ff56000 MobileInstallationInstall_Server: Could not stage the package
installd[3647] : 0x2ff56000 cleanup_pack_state: Could not nuke /var/tmp/install_staging.Y0G6U5
installd[3647] : 0x2ff56000 handle_install: API failed

I can compile the swf without any problems but when I add "eu.alebianco.air.extensions.analytics.NativeGATracker" to the descriptor xml this error keeps appearing.

I'm compiling with AIR 3.7 but I also tried other versions, all with the same result.

Hope this makes any sens to you and hope you can fix this.

Thanks, Arno

INSTALL_REFERRER / CampaignData does not work

Hola!

I tried the latest build 2.0.7 ane and there is some good news and bad.

This is my basic setup apart from correctly adding the ane & swc in Flash CS6

The manifest has this for android:

<service android:name="com.google.analytics.tracking.android.CampaignTrackingService"/>
<receiver android:exported="true" android:name="com.google.analytics.tracking.android.CampaignTrackingReceiver">
    <intent-filter>
       <action android:name="com.android.vending.INSTALL_REFERRER" />
    </intent-filter>
</receiver>

The command used to broadcast the INSTALL_REFERRER is:

$ adb shell am broadcast -a com.android.vending.INSTALL_REFERRER -n air.test.third/.com.google.analytics.tracking.android.CampaignTrackingReceiver --es "referrer" "utm_source=testSource&utm_medium=testMedium&utm_term=testTerm&utm_content=testContent&utm_campaign=testCampaign"

The output

Here is the good news

I send a view request to testScreen and it is recorded in GA and i can see it in real time section.

here is the log cat of success:

    I/GAV2(25722): Thread[GAThread,5,main]: connecting to Analytics service
    D/GAV2(25722): Thread[main,5,main]: service connected, binder: android.os.BinderProxy@42432ae0
    D/GAV2(25722): Thread[main,5,main]: bound to service
    I/GAV2(25722): Thread[GAThread,5,main]: connect: bindService returned true for Intent { act=com.google.android.gms.analytics.service.START cmp=com.google.android.gms/.analytics.service.AnalyticsService (has extras) }
    I/GAV2(25722): Thread[main,5,main]: Connected to service
    *I/GAV2(25722): Thread[GAThread,5,main]: No campaign data found.*
    I/GAV2(25722): Thread[GAThread,5,main]: putHit called
    I/GAV2(25722): Thread[GAThread,5,main]: Sending hit to service
    I/GAV2(25722): Thread[GAThread,5,main]: putHit called
    I/GAV2(25722): Thread[GAThread,5,main]: Sending hit to service

However, the broadcasted INSTALL_REFERRER is never received (as highlighted in the log above)

Interestingly, it also throws this warning and info:

    W/GAV2: Thread[main,5,main]: Need to call initialize() and be in fallback mode to start dispatch.
    I/GAV2: Thread[main,5,main]: ExceptionReporter created, original handler is com.android.internal.os.RuntimeInit$UncaughtHandler

Moral of the story, i am unable to broadcast the INSTALL_REFERRER or unable to listen and capture it successfully.

Would you know why? I am ripping my hair off :(

No GA datas with 1.23 and PackageInspectionFailed with 2.0.4

Hello,

I'm trying to use this extension in my iOS app but don't seem to be able to get the tracker data in GA with "app" profile.. I use the 1.23 version.

I'm trying with 2.0.4 version but I can't install the application... I compile ( air 3.7 & iOS 6.1 ) in app-debug and if I try to install I have this error.
04 - ios-install-ipa:
[exec] Installation Error: PackageInspectionFailed.

Any ideas what could be wrong?

Thanks a lot for your work and help!

Fault exception, only occurs on iOS

I am currently logging events using the following line:
m_googleTracker.buildEvent(category, action).withLabel(label).track();

Everything works correctly on Android, but whenever I call this line on iOS, I get the following error:
[Fault] exception, information=ArgumentError: Unable to read a property on method 'trackTiming'.

To my knowledge, it shouldn't even be calling trackTiming since I'm using the buildEvent function, not buildTiming. Is something broken in the iOS code?

Some events are not getting tracked

Hi,
I tried an example that you provided.

Here is my code-

// Track an event
tracker.buildEvent("click", "button").withLabel("play").withValue(10).track();
tracker.buildEvent("click", "button").withLabel("stop").track();
tracker.buildEvent("swipe", "screen").withValue(1).track();
tracker.buildEvent("app", "quit").track();

tracker.buildSocial("Facebook", "like").track();

Now I can see events on google but only 1st 2 events are appearing on dashboard.
I observed that only events with label are getting tracked.
 tracker.buildSocial events are not getting tracked at all.

What to do???
Am I doing something wrong????

Please let me know

[Feature Request] Add currency code to TransactionBuilder

It would be great to have support for multiple currencies when tracking mobile in-app-purchases. It seems like Google has added this feature to their own SDKs for both Android and iOS so it should be possible to wrap around it.

Android Enum Error

Running the Demo App. I get the following error on Android:

Exception fault: VerifyError: Error #1014: Class eu.alebianco.core::Enum could not be found.
    at runtime::ContentPlayer/loadInitialContent()
    at runtime::ContentPlayer/playRawContent()
    at runtime::ContentPlayer/playContent()
    at runtime::AppRunner/run()
    at AppEntryCommon/run()
    at global/runtime::AndroidMobileDeviceAppEntry()

getReferrer getCampaignData function returns null

While testing the Campaign Tracking branch, i realised that the getReferrer and getCampaignData returns null even though the log cat shows Google Analytics receiving the referral info via adb.
Any idea how i can get the same referral information in actionscript?
I could not get the ANE Google Analytics Demo to work - there were no build.xml to build the project and i was clueless on building it.
Let me know if you need specific information, my implementation was as follows:

import eu.alebianco.air.extensions.analytics.Analytics;
import flash.events.Event;
import flash.text.TextField;
import eu.alebianco.air.extensions.analytics.api.ITracker;
import flash.events.MouseEvent;

var referrer:String;
var campData:String;
var dText:TextField;
var tracker:ITracker;

stage.addEventListener(MouseEvent.CLICK, appLoaded);

if (Analytics.isSupported())
{
        tracker = Analytics.getInstance().getTracker("UA-38007869-10");
        dText.appendText("tracker added: "+tracker);
}
else
{
        dText.appendText("NOT SUPPORTED");
}

function appLoaded(e:MouseEvent)
{
        try
        {
                trace("ehh "+tracker);
                referrer = tracker.getReferrer();
                campData = tracker.getCampaignData();
                dText.appendText("referrer: "+referrer+"\n");
                dText.appendText("campData: "+campData+"\n");
        }
        catch (e)
        {
                throw new Error("some jhol");
        }

}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.