i builded a Android App. For tracking i use flurry.
Now i want to build campaigns for partners. So i made own
campaigns in flurry with own channels. I get url's for the partner
like this: http://ad.apps.fm/{LONG STRING}
In the USER ACQUISITION Section from Flurry i see the clicks but i never
see the installs.
So i looked into the Flurry_3.2.2.jar and found the class com.flurry.android.InstallReceiver.
So i thought maybe i have to use that. For the campaignInstall i have my own
broadcast receiver. So do i have to do this in the onReceive Method of my receiver?
new InstallReceiver().onReceive(context,intent);
I found nothing in the documentation.
Thanks,
Marc
It seems this add.apps.fm urls doesn't work (at least on PC) — for android particularly.
Related
I don't really know if im in the correct forum, but please if not, point me in the right direction.
I have a little problem: I have setted up a campaing for downloads of the App from a client (A corporation) this campaing is setted on the objective of the first_open(Android) on firebase. I've talked with my associated account executive and he tells me we should also have another campaing with a first_open (iOS) objective.
Here is where the problem starts. The google executive tells me we should have an event called first_open (iOS) which should be a separated event from first_open (Android), but I can't find this. It's not listed as an event on firebase nor google analytics web + app, I've tryed creating this event on my own but can't seem to get it working.
If I go into firebase conversions or events, I can only see one first_open event, that I can use a filter on, and see Android/iOS independently, but I can't seem to export it in separate to Google Ads conversions. There are some events called something like this, but they show 0 conversions.
If I can use the filter on firebase to see iOS first opens, how come I cant seem to see this conversions in Ads??
Also, how come I can extract this "Conversion events" from firebase, through google ads, but I'm not able to see them on firebase nor analytics?
Thank you!
I had a similar issue. In my Firebase settings, my iOS App was missing the app id and team id. After filling in that data, I was able to setup a iOS conversations in Google Ads.
We had exactly the same issue. I have done 2 things that solve the problem.
Supplied the missing App ID in Firebase
Setup adSupport.framework in the app
To add to Mark Currie's answer -
As soon as I entered App Id and Team Id in Firebase, iOS conversions started showing in Google Ads.
For finding team id, as of today, you have to look at Apple Developer Account => Identifiers => App ID prefix
There is Google Analytics, Firebase and loads of other analytic services which can capture the user events on mobile hardware and send it to an online dashboard. But AFAIK, none of these services log the events against each user i.e. although i will have a overview of user usage pattern of my app but when it comes to a particular user, I won't know for sure the events and clicks generated by him.
I understand this might be a bit of too much information for the services to handle and also might involve some rolling over some privacy fences.
But If i really feel compelled to record the events for a period of say 30 days, is there a suggested way to do it?
Is there any service in the wild that provides this ?
You can use intercom service to achieve event tracking against the users'. But intercom is not a free service you need to pay for it to use it. You can try out the trail version and can verify how events are logged.
Background
Google allows to perform app-invites and also track how well they improve your app installations:
https://www.youtube.com/watch?v=UfdCNYXMC9M
The problem
I made a simple app invite, and it seems people do use it, using this code:
public static Intent getAppInviteIntent(Context context) {
return new AppInviteInvitation.IntentBuilder(title,appName).setCustomImage(imageUri).setMessage(message).setCallToActionText(download).build();
}
startActivityForResult(getAppInviteIntent(this), GOOGLE_APP_INVITES_REQUEST_CODE);
This works, but in the Analytics webpage, I can't find a way to show the statistics of the app-invite, and that's even though they say it's automatic (here). Sadly, even what I've found seem quite old and they use deprecated functions.
What I've tried
I thought that maybe it's not quite automatic (because the tutorial has some extra code for the receiver part too, here), and that we might need to add some code, as this docs say :
When the user accepts an invitation and installs the app, getInvitation(GoogleApiClient, Activity, boolean) will update the invitation state to installed and return the invitation data in an intent accessed from AppInviteInvitationResult using getInvitationIntent()
Looking at Google's sample (here), I've noticed they created 2 activities. One is the main activity, which does have a call to "getInvitation" , and another is called "DeepLinkActivity" , and handles deep links (which is probably for extra data, like coupons).
I've also found some stackOverflow questions about the tracking (like here), but all I see is that people didn't succeed tracking yet.
The questions
What is the minimal code needed in order to track the invitations and how well they work, as shown on the video? What should be configured in Analytics page itself? I don't use deep linking currently, so I don't want to use it.
It seems that Google moved the app-invites feature to "firebase" gradle repositories. Is it a must-have? What are the advantages? We currently use the previous ones ("com.google.android.gms:play-services-appinvite:..." ). The dashboard of FireBase doesn't seem to include as much UI for analytics as Google Analytics. Not to mention of app-invites.
If the answer to #1 is that I need to use "getInvitationIntent", does it have to be on the main activity of the app ? Does it have to be in an activity at all (maybe broadcastReceiver?) ?
It seems it's possible to also invite to IOS too ( as shown here and here, using "setOtherPlatformsTargetApplication"). Is this correct? How does it work? What happens when an IOS user clicks the link? What should be put into the parameter of "clientId" and where do I get it from ?
Does G+ have app-invites? If so, does it also have analytics?
Great questions. I'll do my best to answer everything. Please ask if you need clarification.
Analytics tracking requires a tracking Id that you'll need to set using setGoogleAnalyticsTrackingId(String trackingId), which I don't see in your example. This tracking Id is then handed to the downstream events that record analytics tracking events for you:
When invitations are send (both email and sms).
When the invited user accepts the invitation by clicking on the invitation link or button.
When the developer calls getInvitation()
When the developer calls convertInvitation()
So, to answer your specific questions, here goes:
Just add your tracking ID to the builder as described above, and all the tracking events will be reported. No need for a deeplink, that's optional on invites.
Yes, appinvites api is copied to firebase while retaining the original. For now they are exactly the same. Future improvements will be in firebase, so migrate when you have time.
getInvitationIntent() is called on the result returned in the callback from getInvitation(), so the callback should be within an activity. Also, since you'll only expect an invitation immediately after launch, you really only need to check in the main activity and any activity that would be launched from intent filters that trigger on the deeplink. Sounds like you don't use deeplinks, so only the main activity. Generally you should call getInvitation() from all activities that may be directly launched from an invitation, this is how you determine if your app is launched from an invitation.
Yes, invites can go cross-platform in both directions, iOS -> android, and android -> iOS. You need to define both apps in the same project in console.developers.google.com, which is necessary to associate them. If there is more than one iOS app in the project, that api call is necessary to disambiguate the iOS app that is paired with the android app. The ClientID parameter is generated in the console when you create the OAuth Client Id using the pulldown menu from credentials section.
There isn't any separate G+ invites.
Answers:
The Firebase Dynamic Links on Android documentation explains how to view the analytics data shown directly in the Firebase console. The critical step is to follow the Firebase setup instructions, most importantly:
// ADD THIS AT THE BOTTOM
apply plugin: 'com.google.gms.google-services'
The Firebase analytics integration has been streamlined from the legacy integration that required a tracking Id. Now with Firebase only setup and a call to getInvitation() are needed. No additional code or tracking ids required. Remember it takes up to 24 hours to see the results in the console. However, you can see the messages being sent immediately which is a great indication that it's working. Just enable verbose logging as described in Analytics Log Events documentation.
The Firebase and android developer documentation for appinvites are identical.
Yes, you must call getInvitation() to get analytics tracking, and do the setup as described above.
The iOS and Android equivalence apps should be in the same project. Just move them to a single project in the Firebase console. You can just remove one from it's existing project and add it to the other to make a combined project. The change should be reflected instantly.
Havn't found a word about my problem on the internet so lets find out if anyone has a clue here at stack? My FB tracking code is not working properly. Actualy it doesn't make any sense at all.
In my app I use both Google Analytics tracking and Facebook tracking. Whenever a certain event occur, lets call it event X, I send this via a method to both FB / GA. For example when someone upgrades to Premium version of the app:
- (void) appActivated{
....Some Google Analytics code.....
[FBSDKAppEvents logPurchase:49 currency:#"SEK"];
}
Google Analytics reports the correct number of events all the time. But Facebook reports only 60-80% of the events. For some reason it does not send / receive all events? I find it hard to belive there is something wrong with my code due to:
1. Google Analytics code works fine and is being sent from same methods.
2. Facebook Analytics is sending data but for some reason not all of it?
I am using the latest FBSDK in iOS. Same problems goes with my Android app aswell? Any idea what might be wrong?
For some time I have been trying to configure Google Campaign Measurement in my android app. I have followed the tutorial here and, after struggling with Google's documentation mess, arrived at the point where everything works as it should according to that tutorial. I receive the GAThread logcat message properly.
However, my Analytics panel receives no data, despite being paired with the Developer account. I think I may have a wrong idea of the whole process after following the tutorial, so please clarify:
I am following the first solution in the tutorial, with the already-implemented Receiver, which should send the data automatically. Do I need to have a Tracker configured for it anyway?
If I do need a tracker, which and where? It it enough to put a meta-data tag in my manifest like this:
android:name = "com.google.android.gms.analytics.globalConfigResource"
android:resource="#xml/global_tracker" />
If it is not enough, which of the trackers defined here do I need in order to receive the data properly?
Thanks!
You should use the latest Google Play Service 7.3, it provides more robust campaign tracking. You need to register both the campaign receiver and the campaign service in your AndoridManifest.xml as show in the hello world example app. You also need to configure at least one tracker and send at least one hit with it for campaign tracking to function correctly. To send hit it might be simpler to enable auto activity tracking with tracker.enableAutoActivityTracking(true). Installation campaign will be send to all known trackers you use in your app.