-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Campaign tracking on Android/iOS #19
Comments
not for now, but it is planed on the web eg.
for campaign inside an app store
no the library does not support that and can't support it using only ActionScript 3.0 see ANE-Google-Analytics - INSTALL_REFERRER / CampaignData does not work that said, it should be possible to provide a small ANE that would bridge with the AS3 library to report and track mobile install referrer see: Note that the App Marketplace should be able to track "new users" and the "marketplace" with the App Installer ID from App Marketplace
for example: var gameinfo:Dictionnary = new Dictionnary();
gameinfo[ Tracker.APP_NAME ] = "My Game";
gameinfo[ Tracker.APP_ID ] = "com.something.mygame";
gameinfo[ Tracker.APP_VERSION ] = "1.0.0";
gameinfo[ Tracker.APP_INSTALLER_ID ] = "Amazon App Store";
tracker.add( gameinfo );
tracker.screenview( "Intro" ); In your AIR AS3 source code, you could simply detect which app store you are distributing the app from switch( foobar )
{
case "AAA":
gameinfo[ Tracker.APP_INSTALLER_ID ] = "Google Play Store";
break;
case "BBB":
gameinfo[ Tracker.APP_INSTALLER_ID ] = "Amazon App Store";
break;
case "CCC":
gameinfo[ Tracker.APP_INSTALLER_ID ] = "Apple App Store";
break;
} with APP_INSTALLER_ID it should show in the App Marketplace report, it will not show the ad campaign referrer though. |
As, zwetan said, "that said, it should be possible to provide a small ANE that would bridge with the AS3 library to report and track mobile install referrer", it's true.. took me about all day to figure this out and find this library instead of the ANE-Google-Analytics one, which does not allow you to set variables like utm_source, etc.. I'm using the ane from MobileAppTracker (https://github.com/MobileAppTracking/air-plugin), as it was one of the only ones I found that was current, and was able to retrieve the: It's pretty hacky, since I'm just initializing this mobile app tracker ane, and not really using it for anything other than getReferrer() Hope this helps someone, somewhere. Ugh. |
off course it's true LOL for Android is "easy" as it is there in term of where to put that functionality |
Hi. First of all - thanks for this library, very helpful. Need to use CampaignGA in my AIR app for iOS/Android. Still no changes in this question? |
sorry still no changes |
Does this library support campaing tracking? I mean does it support obtaining the campaign referral information via a custom referral url when the app is downloaded from GPlay/Itunes?
Thanks
The text was updated successfully, but these errors were encountered: