Firebase Analytics UTM campaign tracking not working - android

I'm not able to get UTM campaign tracking info in Firebase Analytics - Attribution - first_open. All my installs are shown as (direct)/(none).
I'm using both GA and Firebase Analytics and currently have a custom INSTALL_REFERRER receiver which calls CampaignTrackingReceiver.onReceive for GA. This works for GA and I can see all my campaigns.
The final merged manifest also does not have any other install referrer receiver. So obviously I'm probably missing a call to Firebase Analytics, but which one? Where is the documentation?
Update 1
This is the URL I'm using and it is tracked properly in GA.
https://play.google.com/store/apps/details?id=my.app.package&referrer=utm_source%3Dapp%26utm_medium%3Dshare
Documentation for GA Android SDK recommends above format.
Google Play Campaign Measurement allows you to see which campaigns and
traffic sources are sending users to download your app from the Google
Play Store. It is recommended that all developers implement Google
Play Store Campaign Measurement.
Update 2
Release notes for Firebase 9.6 seems to indicate this is fixed, but still not working as of Firebase 10.2.1
Added tracking for the source of app install referrals when an app with Analytics is installed from the Play Store.
Update 3
Finally working as of Firebase 11.0.2. No changes to the URL.

There are two URL builder tools : One for Google Analytics and one for Google Play. If you use the one for Google Analytics, UTM-based campaign tracking should work for you.

Related

Is Google Analytics for Mobile still working?

At my company we are making a new iOS + Android app.
We need to get screen views analytics.
At my company doesn't like Firebase Analytics because with the new events analytics (vs the old page views) marketing team can't get enought information from the new events reports.
So I was requested to implement this app analytics using the "old" Google Analytics for Mobile SDK (the one that was used before Firebase) using a Universal Analytics property.
In iOS seems to be working. At least I see myself as active user in Google Analytics. But it's not saving the screen paths.
In Android it doesn't even push the screen views to Google Analytics.
Does anyone knows if Google Analytics for Mobile with a universal analytics property can still be used in 2021?
Or I am obliged to use Firebase Analytics?
For some reason the historical hits data in Analytics Universal Mobile always seems to be accessible in Google Analytics. However Google sent an email to Analytics's users where it communicated that:
We want to let you know that in October 2019 we will begin to sunset our Google Analytics for mobile apps reporting and the Google Analytics Services SDK. We are investing our resources in the latest style of app reporting in Google Analytics that works in conjunction with Firebase – Google’s integrated app developer platform. As such, the following will take place:
In 2019, we will begin to decommission properties that receive data exclusively from the Google Analytics Services SDK.
Data collection and processing for such properties will stop on October 31, 2019.
Reporting access through our UI and API access will remain available for these properties’ historical data until January 31, 2020.
After our service is fully turned down, these properties will no longer be accessible via our Google Analytics UI or API, and their data will be removed from Google Analytics servers. You will receive further notification when this time nears.
At this time, no Analytics 360 properties are impacted by these changes.
Anyway Google want to focus on Firebase (GA4) as the new paradigm for Google’s mobile app (and web) analytics soit is appropriate to use the new data collection model and not the old SDK.

How to report to Google Analytics a purchase made in a mobile app but paid offline, using Firebase SDK

TL;DR: In a native mobile app using Analytics integrated through Firebase SDK, how can I report a purchase paid offline, like Cash on Delivery?
We have a mobile app that was developed using the Analytics SDK and now ported do Firebase (since Google is sunsetting Analytics SDK).
Users can place a purchase on the app and pay it later, like Cash on Delivery.
We only report purchases that have been paid and, until this move, we were successful in doing so through the Measurement Protocol API. All we had to do was record the ClientID from Analytics SDK and send it along with the request once we had confirmation of payment.
Since we're no longer using Analytics SDK, we can no longer access the ClientID. In parallel, we moved to a App+Web property and measurement protocol doesn't appear to work there.
Google now has a new version of the Measurement API that should be used for GA4 properties.
At the time of writing it is in alpha but we've been using it to send purchase events to Firebase.
Still not perfect as we now have the events but still no reporting under Ecommerce.

How to migrate from Google Analytics to Firebase?

In Google Analytics we can track Google Play campaigns
https://developers.google.com/analytics/devguides/collection/android/v4/campaigns?hl=ru#google-play-campaigns
In fact that this API will be closed soon, how should I migrate tracking to Firebase?
Currently, the only way to migrate is to setup Firebase Analytics in your project. Firebase tracks Google Play campaigns the same way as GA, so it will automatically detect and record conversions coming from the campaign. Refer to this link for more information on how conversions are tracked in Firebase.

Firebase vs Google Analytics

I have installed Firebase to my Android and iOS apps, I can check the stats on computer, but can't check them on my iphone Google analytics app. Is there any way or app where can I check the stats or do I need to install also Google analytics to my apps as well?
When you use Google Analytics for Firebase (formerly known as Firebase Analytics) the analytics results show up in the Firebase console. They do not (currently) show up in the Google Analytics dashboard.
You can have a Firebase view in GA : it's just a webview of your firebase Console in GA (so the FiB and GA data are not mixed at all).
Another solution is to use a GTM container to send and convert your FiB event into GA data.
Here is the documentation for this process :
iOS
Android

Tracking web-to-device installs using Google Analytics v4

As asked and answered in https://stackoverflow.com/a/12612108/876603, getting the referrer broadcast and monitoring web to device installs was not possible in GoogleAnalytics v2.
In the documentation for Google Analytics v4, no such thing is mentioned, and it even says:
Google Play Campaign Attribution - See which campaigns, websites, and other apps are referring users to Google Play Store to download your app.
But still I can't seem to get a web to device tracking.
Is this still not supported? Is there anything special that needs to be dome for this to work?

Categories

Resources