Missing ecommerce data and bad event tracking code - android

I have been using Google Admob and Google Analytics to track my apps so far with no any issue. I currently had notification on Analytics page as below:
Missing Ecommerce Data
Property Default view is configured for Ecommerce, but no data is flowing.
Bad Event Tracking Code
(not set) entry present in reports for property xxx | Android.
Note: Seems, app tracking also stopped for last 2 days. I have not made any changes in neither Analytics configurations nor within Android app.
How can i solve this issue? Thank you.

Same problem for us, suddenly stopped tracking eCommerce data for no reason, we haven't made any code changes so i'm not sure why. I heard that Google may be phasing out classic GA since UA is out of beta but i thought they would inform us rather than making changes and telling nobody.

Related

Firebase conversions on Google ads?

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

Google Analytics Behaviour Flow

I have an ionic app that is exported to both platforms [iOS and Android]
I was checking the behaviour flow in Google Analytics and got this view :
as we can see only signin /up pages are tracked, however the app has many other screens as shown in the below screenshot:
I am using GoogleAnalytics.trackView("Screen Name") viewDidEnter() function, which is similar to viewDidAppear in iOS.
Can someone help me pointing out why I am not getting the correct flows?
Thank you
My best guess is that it's to do with the way you're reporting your views. I'm not hugely familiar with app reporting, but that Behavior Flows report requires your data to be structured into Sessions.
If, as I suspect is the case, you're accidentally telling Google Analytics that each page is the first page of a Session, then that report will not work at all.
The way to check if this is the case is to look at the Screens per Session value; if it's only fractionally over 1, then this is the issue.
The way to fix it is to look at your Screen View reporting, and make sure that you're not invoking a new Session each time.

FB Analytics not sending/tracking events properly?

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?

Google Analytics shows iPhone in Android app

i working on android application project that use Google Analytics. Application is still in aplha testing stage. After a few days of tests i noticed that in analytis dashboard is listed an iPhone device but there is no iPhone version of my application. Is it a problem with GA or some problems in my configuration? It's really strange and i'm worried if my application safety.
I will be grateful for any suggestions or informations.
This is so-called referral spam. More information in the bellow links:
http://moz.com/blog/how-to-stop-spam-bots-from-ruining-your-analytics-referral-data
https://megalytic.com/blog/how-to-filter-out-fake-referrals-and-other-google-analytics-spam
http://www.analyticsedge.com/2014/12/removing-referral-spam-google-analytics/
Updated
I've handled this issue like this:
Go to your app view in the Google Analytics.
Open the 'Admin' tab.
Click on 'View settings'.
There will be section called 'Bot Filtering', check the 'Exclude all hits from known bots and spiders' option.
From now on Google will remove the spam hits from their analytics. This solution has two issues, though:
Historical data will not be affected by this option, i.e. spam hits
which were made in the past will remain in your data, Google will
only filter your future hits.
Google promises to remove hits from known bots, which means that the
time from the new bot appearance to the moment when it will be
included in the Google filter list can be indefinitely long. I use
this solution for the last week though and didn't find any new bots
breaking through the filter.

Google Analytics for Android tracking id protection

I am integrating my Android application with Google Analytics and was wondering what kind of security measures should be taken to avoid my analytics data being deliberately polluted by bad people. Sure, GA data is not production-critical, and there are (hopefully) not too many people running around who do such things just for fun, but still - within reason, I'd like to apply whatever preemptive measures there are.
Right now the only thing that comes to mind is that I should avoid the tracking id falling into bad hands.
Google search results I found only talk about:
protecting the tracking id for webpages - not so much talk about how to do the same for Android applications
setting up a GA filter to include traffic data for my own webpage only - again, this is just for webpages...
When submitting hits from my app, there seem to be two ways for the data to reach the GA servers:
If Google Play Services is not installed, putHit runs and fires an HTTPS query with the hit data. If log level is set to debug, I can see this happening, and the data in the ADB logs, along with the tracking id.
If GPS is installed, that will take care of dispatching presumably also over HTTPS.
So this leads me to think that the best I can do on the application front is to make sure log level is above debug (which is a good idea regardless) and to encrypt the tracking id to at least make it difficult to extract from the APK.
On the GA front, I have not found anything similar to the webpages-filtering solution.
Is there anything else I can do?
After you login into: Google Analytics
Under Admin > View > Filter > New Filter > Custom - you could possibly choose to filter by Application Id.
Application Id i believe is the package name you set in your manifest file.
Again this is not fool-proof:
Anyone else can setup the same Application Id too, but it will require more effort.
Google Analytics - shud hv provided a better way to solve this.

Categories

Resources