Questions tagged [google-analytics-sdk]

The Google Analytics SDK allows you to connect your application to Google Analytics.

Goolge Analytics SDKs allow you to send user interaction from mobile applications to Google Analytics.

This allows developers to measure how users interact with their business from almost any environment. Developers can then use the Measurement Protocol to:

  • Measure user activity in new environments.
  • Tie online to offline behavior.
  • Send data from both the client and server.

Links:

219 questions
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
4 answers

Google Cocoapods Not Installing

Whenever I try to install any of Google's cocoapods I get one of two errors. Either: $ pod install Analyzing dependencies [!] The version of CocoaPods used to generate the lockfile (0.38.0.beta.2) is higher than the version of the current executable…
Richard
  • 61
  • 1
  • 2
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…
5
votes
3 answers

How can I build the Google Analytics SDK on Apple Silicon ('M1') so it runs in the Xcode Simulator?

I've used the Google Analytics SDK (pod 'GoogleAnalytics') in my project for 8 years. It has always worked, until I recently moved to a new Mac with an M1 chip. On the new MacBook Pro, I can build and run the app on a test device. I can also archive…
5
votes
1 answer

Google analytics data migration to Google Analytics for Firebase (Firebase)

As Google communicated recently Google Analytics for Mobile is going to sunset by next year. So i would like to know how to migrate existing Google analytics data to Google Analytics for Firebase (Firebase)?
5
votes
2 answers

Use Google Analytics for iOS without .plist file

According to Google's documentation (Analytics for iOS), they want you to download some auto-generated .plist file to configure your app. Unfortunately, I have multiple report suites (Debug, Release) and need to switch dynamically depending on the…
John D.
  • 2,521
  • 3
  • 24
  • 45
5
votes
1 answer

Analytics in iOS App - Request user consent

I'm debating whether to include (Google) analytics in my iOS app. Obviously I would like the analytics data, but my concern is whether to simple advise the user that data is being collected, or to specifically request their consent. Is specific…
5
votes
1 answer

Link errors installing Google Analytics via CocoaPods 0.36.0 using dynamic frameworks

I am trying to update my project to use CocoaPods 0.36.0's new use_frameworks! option. I am using Objective-C (not Swift) in Xcode 6.2 and the deployment target is 8.1. Everything is building and linking correctly except for Google Analytics, for…
5
votes
2 answers

Check if Google Analytics Tracking is working

I integrated the Google Analytics Tracker. I used the following code to send a track for the welcome screen: Tracker tracker = ((AnalyticsSampleApp) this.getApplication()).getTracker( AnalyticsSampleApp.TrackerName.APP_TRACKER); …
hasan
  • 23,815
  • 10
  • 63
  • 101
4
votes
1 answer

Firebase google-services.json with multiple projects?

For our app I am using two different firebase projects: Live: Contains the live iOS & Android app Test: Contains all our iOS & Android testing apps As far as I could see the google-services.json (Android) contains the firebase project information…
Fahim
  • 1,431
  • 1
  • 15
  • 28
4
votes
0 answers

How to set tracker level custom dimension in google analytics android?

How can I set custom dimension on tracker level in android google analytics. In one of the example it is written on can set user id using following t.set("&uid", user.getId()); In above code uid is custom dimension or pre defined dimension? If I…
4
votes
2 answers

Google Analytics iOS SDK "1 second sessions" (possibly background sessions?)

Google Analytics (using iOS SDK version 3.14 and it's built in sessions tracking) is reporting a significant percentage of app sessions as 1 second. Maybe users are launching an app to view a page and (effectively) then instantly leaving the app,…
4
votes
1 answer

Google Analytics v3 Pod with other Swift Pods

I'm developing an swift iOS app and at this "final" stage I'll add Google Analytics. I'm following their Guide But it failed at pod install command... Error Log Downloading dependencies Using Alamofire (1.2.2) Using Bolts (1.2.0) Using CryptoSwift…
4
votes
0 answers

64 bit support for Google Analytics SDK (v 3.10) in iOS

I have old app containg Google Analytics SDK v1, I am going to update my app to support 64 bit support. I have replaced Google Analytics SDK v1 with Google Analytics SDK v3.10, (I have updated iOS SDK only not any where else in my analystic tool) I…
4
votes
1 answer

Trouble chasing down xcode stack trace

** Skip to the bottom of this question to find the problem / solution ** I just finished converting my app from GA 2.0 to 3.0. Part of that conversion includes the incorporation of GAIDictionaryBuilder. The app is running but it soon crashes after…
Jacksonkr
  • 31,583
  • 39
  • 180
  • 284
1
2
3
14 15