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:

215 questions
53
votes
8 answers

Swift 2 / iOS 9 - libz.dylib not found

I'm using some external codes from google in my new Swift 2.0 project that required "libz.dylib" in earlier versions. After updating to the new Xcode / the new SDK. Xcode is now unable to import the libz.dylib and throws some errors Undefined…
Daniel K.
  • 1,169
  • 1
  • 10
  • 25
21
votes
10 answers

'GoogleUtilities/GULAppEnvironmentUtil.h' file not found

Trying to compile my project after adding some pods. While compiling it gives below error 'GoogleUtilities/GULAppEnvironmentUtil.h' file not found Podfile.lock snippet - FirebaseCore (5.1.1): - GoogleUtilities/Logger (~> 5.2) -…
Prateek Roy
  • 215
  • 1
  • 3
  • 8
15
votes
1 answer

Google Analytics SDK creates SQLite errors

Updates 19th August 2015 - Bug seems to have now been fixed in the 3.13 update, even though the only thing they list in their changelog is "Fixed an issue which caused crashes when using setCampaignParametersFromUrl". Take that as you will. 8th…
cjhill
  • 976
  • 2
  • 8
  • 31
14
votes
2 answers

'Google/Analytics.h' file not found - XCode 7

I am having much trouble integrating Google Analytics SDK into my iOS project. I am using XCode 7 and targeting iOS 7. Using Swift 2.0. However I can get the sample working ok (not converting to Swift 2.0 though). I've tried both install via…
Sunkas
  • 8,816
  • 5
  • 55
  • 94
12
votes
1 answer

GAIUncaughtExceptionHandler crashes iOS 7 only

Trying to squash one of our more persistent crash reports. Suspicious because it's exclusively iOS 7.*, it's not clear what the trigger is, and this is a relatively small percentage of our users encountering the issue. Feels like a race condition or…
10
votes
2 answers

File not found- GoogleUtilities/Libraries/libGTM_NSData+zlib.a

Getting file not found error for GoogleUtilities/Libraries/libGTM_NSData+zlib.a. Below is some Google library related content in my Podfile pod 'GoogleAnalytics', '~> 3.14.0' pod 'Google/CloudMessaging', '~> 1.1.0' pod 'Google/SignIn' pod…
10
votes
2 answers

Using Google Service for iOS without using GoogleService-Info.plist

I am able to use both Google SignIn and Analytics using GoogleService-Info.plist. However, to reduce dependency, I want to move the information from the GoogleService-Info.plist into another .plist that contains my other information. Would this be…
Bebekucing
  • 353
  • 3
  • 11
9
votes
3 answers

Google Analytics on iOS: events not tracked

I added Google Analytics SDK to my project, following the provided instructions on the guide by Google. However, when I try to track some events, this is the debug output: - (BOOL)application:(UIApplication *)application…
8
votes
0 answers

Install referrer campaign not visibile in GA (broadcast sent in android GAv4)

lately we have incorporated Google Analytics V4 SDK for an android app according to this documentation (to track install referrers): https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#overview Unfortunately data is not…
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
  • 771
  • 1
  • 7
  • 13
7
votes
1 answer

Firebase Analytics to Google Analytics, how to retrieve the Client ID?

we are planning to move from the GA SDK to the Firebase SDK. Within the GA SDK there were options to retrieve the google analytics client ID (https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#cid). This was…
7
votes
2 answers

Xcode 7 build failed: ld: library not found for -lGoogleAnalyticsServices

Every time when I open my app with Xcode I get this error: ld: library not found for -lGoogleAnalyticsServices clang: error: linker command failed with exit code 1 (use -v to see invocation) Then I need to unmark the target on the…
SDW
  • 1,780
  • 4
  • 14
  • 28
6
votes
1 answer

Getting (not%20set) for UTM parameters with Install Referrer- Android

I am using my custom broadcast receiver as follows to track UTM parameters.
6
votes
3 answers

Can't add Google Analytics iOS SDK without cocoa pods to my project

I would like to add the Google Analytics iOS SDK to my project but unfortunately it doesn't work. I'm not using Cocoa Pods, maybe that's the problem because Google says use it in the tutorial, but I can't use it in this project because of other…
rihe
  • 3,066
  • 4
  • 26
  • 55
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…
1
2 3
14 15