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
3
votes
1 answer

Why is the event value not shown in Google Analytics when using the iOS SDK?

In my iOS App(SDK 8.2) the event value I send to Google Analytics is never tracked and will always be shown as 0 [tracker send:[[GAIDictionaryBuilder createEventWithCategory:@"categoryX" action:@"actionY" label:@"labelZ" …
clauswey
  • 1,706
  • 1
  • 12
  • 15
3
votes
1 answer

Google analytics doesn't send event before setAppOptOut(true)

I try to send an event just before disabling the Google analytics in android. But, the event doesn't show up in the real-time GA console. tracker.send(new HitBuilders.EventBuilder() .setCategory(category) …
3
votes
1 answer

Not able to set custom dimensions in a google analytics property for android app

Please find the tracking code below, GoogleAnalytics analytics = GoogleAnalytics.getInstance(this); Tracker t = analytics.newTracker(MY_PROPERTY_ID); t.send(new HitBuilders.AppViewBuilder().setCustomDimension(1, "testing custom…
3
votes
2 answers

IOS Google Analytics - no data coming through

I have 2 iOS apps which I am trying to connect to google analytics. One of them is working, the other is not! The one which is working has been published for a couple of years now. The one that is not working is a new app, but uses the same code -…
markt
  • 903
  • 7
  • 21
3
votes
1 answer

Google Analytics crash report iOS - Not clear what the error

I'm encountering some crash in my iOS application. I use Google Analytics SDK to intercept crashes on clients devices. But the problem is the content of the crashlog. NSGenericException Trace:
2
votes
0 answers

Firebase: app_remove event counts : before or after first open?

We are tracking app data with Firebase analytics. We are tracking first-open and app-remove on weekly basis. Does Firebase "app_remove" counts the users only who first-open and removes the app ? or It counts all app_removals after…
2
votes
1 answer

How to find GoogleAnalytics ${YOUR_TRACKING_ID} in 2020?

When I want to use GoogleAnalytics in app, I read the doc in https://developers.google.com/analytics/devguides/collection/android/v4 , but I can not find the ${YOUR_TRACKING_ID}, the detail as following: Create the file…
elenin
  • 21
  • 1
2
votes
0 answers

Google Analytics: Retrieve a list of all attributed touchpoints for a transaction?

I am looking for way to export a touchpoint-based attribution from Google Analytics during a specific timeframe. I am not looking for sampled data, but something rather close to…
2
votes
1 answer

Does Google Analytics Store the data offline when the user is not online?

I am using Google Analytics in my Android App to track some metrics regarding the usage etc. I was just wondering whether Google analytics will cache the data of a user who uses my app offline and then record it later when his internet gets…
2
votes
0 answers

iOS (Swift 4) - Catch error from third-party library function which does not throw

Are there any good ways to catch exceptions originating from function calls by third-party (closed source) libraries/frameworks when the function does not explicitly throw? Curious how to properly handle this in both Obj-C and Swift. Ex: Integrate…
2
votes
2 answers

Track app events without counting towards Active Users in Google Analytics?

A mobile app tracks events using the Google Analytics iOS SDK. func recordEvent(_ category: String, action: String, label: String?, value: Int?) { guard let builder = GAIDictionaryBuilder.createEvent( withCategory: category, …
2
votes
1 answer

Generate link to Google Analytics dashboard from view id and tracking code

I have Google Analytic's Tracking ID and View id for a bunch of my web properties. Now I want to generate a link to the GA dashboard for each property. Let's say my tracking ID is UA-88827517-1 and my view ID is 135789866. When I go to the…
panta82
  • 2,763
  • 3
  • 20
  • 38
2
votes
1 answer

How to use "Shopping Product Type" as dimension in Google Analytic Java api

I can use Shopping Product Type as Dimension on Google Analytics dashboard in browser. However I have not been able to find this as dimension on Dimensions & Metrics Explorer to use it via java api for analytics, According to this support document…
2
votes
3 answers

Merging data collected using 2 Tracking IDs of Google Analytics

Is there any way to merge data collected using 2 different Tracking IDs of Google Analytics?
2
votes
0 answers

What triggers a user to be removed from the Google Analytics Real-Time View?

I'm using GAI 3.15. I have the following code in application: didFinishLaunchingWithOptions: and it works great. NSDictionary *appDefaults = @{kAllowTracking: @(YES)}; [[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults]; [GAI…
Fredrik Johansson
  • 1,301
  • 1
  • 13
  • 26