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
47
votes
4 answers

Analytics Reporting API V4 Client Library for .NET

I'm trying to get some data from our google analytics instance and I'd like to use the Analytics Reporting API V4 Client Library for .NET (https://developers.google.com/api-client-library/dotnet/apis/analyticsreporting/v4) so that I can bake some of…
44
votes
5 answers

Is google-services.json confidential?

Following the guide on setting up Google Analytics in an Android app (https://developers.google.com/analytics/devguides/collection/android/v4/) I am left wondering if this google-services.json file can safely be committed into source code versioning…
40
votes
4 answers

What is a viewId in Google Analytics?

According to the Google Analytics "Creating a Report" guide, a required field for a request is the viewId: A valid view ID for the viewId field. Cool. So what is a viewId and where do I find it? I click on the viewId link and it says: Unique View…
John D.
  • 2,521
  • 3
  • 24
  • 45
22
votes
10 answers

error when apply plugin: 'com.google.gms.google-services'

I followed google documentation to integrate my app to Google Analytics. But when adding apply plugin: 'com.google.gms.google-services' and building my app, I encountered this error: Error:(49, 0) For input string: "+" These are the settings I…
Mina Farid
  • 5,041
  • 4
  • 39
  • 46
22
votes
2 answers

Google Analytics Android SDK V4 confusion

I have been using Google Analytics SDK for Android V3 in my apps so far, and it has been working fine (My Apps are supported on Android 3.0 and above). Now the V3 has been deprecated, and the latest one is Google Analytics SDK v4 for Android. I was…
rgamber
  • 5,749
  • 10
  • 55
  • 99
20
votes
2 answers

How to use Google Analytics with AngularFire?

I have an Angular app build with AngularFire and hosted on Firebase. How should I be using Analytics SDK to set the user ID, track page loads and log custom events?
19
votes
3 answers

Do I need android.permission.WAKE_LOCK for Google Play Services if I only release in Google Play Store?

I am trying to integrate Google Analytics for Android. As per the documentation here, it asks to add android.permission.WAKE_LOCK (provides the comment note below). I dont understand it clearly. If I am releasing the app ONLY in the Google Play…
16
votes
1 answer

Not able to create a Firebase (Google)project after deleting the existing ones

I want to use Firebase Analytics. I had a existing project. But after deleting it I am not able to create a new project. Getting error saying maximum limit reached, when i dont even have single running project.
16
votes
2 answers

How should I track Fragments in Google Analytics v4?

With the release of Google Analytics v4 (Android), what is the recommended way to track Fragment views? Is this solution still the recommended way - https://stackoverflow.com/a/19284014/413254? The sample in the docs…
15
votes
1 answer

Google play store campaign tracking doesnt work with web browser install

We have a Play Store button on our landing page which has a link tagged with all the required UTM parameters to track installs from the Play Store. So if a visitor clicks on the Play Store button (using a web browser) goes to the web version of the…
pratsJ
  • 3,369
  • 3
  • 22
  • 41
14
votes
1 answer

How to fix Error: Duplicate resources for global_tracker.xml when adding Google Analytics?

I'm trying to implement Google Analytics in my App , but when compiling I get the following error: Error:Execution failed for task ':app:mergeDebugResources'. [xml/global_tracker] C:\Users\Carlos\AndroidStudioProjects\Capstone\SP\Stocks Panel …
12
votes
1 answer

Error authenticating with JWT and googleapis (error:0906D06C:PEM routines:PEM_read_bio:no start line)

I am trying to connect to Google Analytics Reporting API v4 from my Node server (running as a Firebase Cloud Function). I want to authenticate using JWT, as per this example: http://nali.org/google-analytics-v4-api-node-js-starter-example/ However I…
12
votes
4 answers

Error getting advertiser id

I noticed that my google analytics ecommerce data are not properly delivered by my android app, while all the other analytics data (screen views, exceptions) are correctly published. I already opened a bounty about this topic but digging further I…
12
votes
2 answers

It's possible to configure a custom dimension at Tracker level?

I want to set a user scope dimension in Google Analytics using the SDK v4. The value of this dimension never changes in runtime. When I created the dimension following this instructions the page gave me this code: String dimensionValue =…
Brais Gabin
  • 5,827
  • 6
  • 57
  • 92
12
votes
1 answer

How to configure dry run and log level options via XML in Google Analytics v4 SDK for Android?

The parameters documentation for the XML configuration file used by the Google Analytics v4 SDK (as found in the Google Play Services 4.3.23 release) says that ga_dryRun and ga_logLevel are valid attributes in the tracker file. Here is my…
gnuf
  • 2,722
  • 1
  • 25
  • 32
1
2 3
43 44