Questions tagged [google-analytics-firebase]

Google Analytics is a free analytics solution provided by Google, featuring several client-side APIs for data collection. This tag is used for the Collection protocol specifically for Android and iOS SDKs versions 4.

Google Analytics provides easy to use APIs and SDKs to send data to Google Analytics.

With the collection APIs and SDKs, you can measure how users interact with your content and marketing initiatives. Once implemented, you will be able to view user-interaction data within Google Analytics or through the Reporting APIs.

Android Google Analytics SDK v4 for Android - Getting Started

iOS SDK Google Analytics SDK for iOS v3 - Getting Started

You can use the SDK by using Google Play services SDK. This SDK can be downloaded from https://developer.android.com/google/play-services/index.html.

648 questions
8
votes
1 answer

iOS Conversion / installation Tracking

Objective: i want to fetch my custom parameter(referrer) from iTunes link upon installation of my application in device. iTunes links look somethings like this: https://itunes.apple.com/in/app/complete-gym-guide-lite/id550449574?mt=8 If i append my…
Kapil
  • 1,790
  • 1
  • 16
  • 32
8
votes
2 answers

Google Analytics for Android v4 - Automatic Screen Measurement not working?

I finally got around to trying out Google Analytics v4. Actually, it's my first time using GA at all, so I'm not quite as familiar with the way things are done. In any case, I managed to get the MobilePlayground sample to build and it mostly works…
Kevin
  • 526
  • 4
  • 12
7
votes
3 answers

How to get the measurementId from the Firebase config?

To play with Google Analytics for Web based projects on Firebase we need to use either the Firebase reserved URLs or to copy/update the Firebase config object as the documentation states here. I am using the following command to print that config…
Filipe Brito
  • 5,329
  • 5
  • 32
  • 42
7
votes
1 answer

Google Analytics SDK 10.2.0 has StrictMode violations

I have nowhere to report this but here, as the issue tracker is read-only: https://code.google.com/p/analytics-issues/issues/list When running with StrictMode enabled I get the following from the Google Analytics SDK v10.2.0: 02-16 10:55:46.245…
Claus Holst
  • 901
  • 1
  • 8
  • 13
7
votes
1 answer

Setting Max Results in API v4 (python)

In v3 of the API I'm seeing that there was a max-results parameter that could be passed to get more than 1000 records. I haven't been able to figure out how to pass that parameter in v4 of the API using python. My code looks something like below.…
7
votes
1 answer

GoogleAnalytics track time between events

I am using GA on an Android app but this question can be relevant to all platfroms. I track an event the usual way: t.send(new…
CodeMonkey
  • 11,196
  • 30
  • 112
  • 203
7
votes
3 answers

In Google Analytics V4, which Screen Name should I send?

I followed this guide to implement Google Analytics in my Android app. I am having trouble understanding the document. In the document it says to create an XML file with this as content:
alxcyl
  • 2,722
  • 7
  • 31
  • 47
7
votes
2 answers

Android - Using Google Analytics v4 Campaign Measurement

I have implemented Google Analytics Campaign Measurement according to this guide. Then I want to test if everything works good by following this guide. I have added these on AndroidManifest.xml:
7
votes
1 answer

ga_autoActivityTracking= true: exclude specific activities from being reported

[For Android Google Analytics v4] Is there a way for specific activities to not be reported (Sending hit to service) when ga_autoActivityTracking = true? I was thinking of turning ga_autoActivityTracking false at onStart() and true again at onStop()…
MPS
  • 345
  • 2
  • 12
7
votes
6 answers

Google Analytics V4 Campaign measurement Testing is not working

I started to Implement Campaign Measurement with Google Analytics V4 referring the link https://developers.google.com/analytics/devguides/collection/android/v4/ . Facing an issue when Tested Campign Measurement as mentioned in…
7
votes
4 answers

Google Analytics w/ Android: Programmatically set ga_reportUncaughtExceptions?

tl;dr Is there a way to programatically enable reportUncaughtExceptions for Google Analytics (v4) without using the xml config in Android? Longer explanation I'm using Google Analytics v4 in an Android app, and I need a way to set two different…
loeschg
  • 29,961
  • 26
  • 97
  • 150
6
votes
1 answer

How to set User Agent in Measurement Protocol (Google Analytics 4)

How to set or override User Agent value in Measurement Protocol (Google Analytics 4)? It was easy with previous Measurement Protocol (Universal Analytics):…
6
votes
1 answer

Unable to start service com.google.android.gms.analytics.AnalyticsService@3399b37 with null

I am receiving these crash reports from my crash reporting tools. I don't which code to provide here so just let me know if you want to see any particular code. I haven't put anything related to GoogleAnalytics in onStart method as it is not…
6
votes
2 answers

Events not firing in Google Analytics via Google Tag Manager

I have been searching high and low for an answer on this and I am completly dumbfounded. I am implementing simple click and page tracking in my Android app using GA, running this through GTM. All my "Screens" are visible in realtime in GA but I…
6
votes
1 answer

Google Analytics Automatic Activity Detection - can you exclude a single activity from this?

Automatic activity detection is great - except my MainActivity is a bunch of different fragments with a nav drawer (like Google Play Music or the Play Store). I am using manual screen hitting to track the fragments in that activity. Therefore, an…
1 2
3
43 44