google-analytics-firebase

Google Analytics API v4 for Android Does NOT Send Screen Views

醉酒当歌 提交于 2019-12-20 12:28:00
问题 I've set all things for google analytics api v4 as it mentioned here: https://developers.google.com/analytics/devguides/collection/android/v4/ and here: http://www.javacodegeeks.com/2014/04/working-with-google-analytics-api-v4-for-android.html I can see real time data but i could NOT see Screens, Active Users,New Users and Top Device Models in specific time period such as "All Time". Analytic does not send screen views. Here is my global_tracker.xml <string name="ga_trackingId">UA-XXXXXXXX-Y<

Firebase screen name is showing not set

点点圈 提交于 2019-12-19 21:44:35
问题 I have created a project in Google Firebase Analytics and I am able to log screen names in the console. But for one screen screen_view is not recorded and it is showing as not set in the screen view list. I have used a default function for logging screen view event (i.e. setCurrentScreen()). I am using Firebase:16.0.0 version. Can anyone please guide me for this. 回答1: put analytics.setCurrentScreen(this, "Screen Name", this.getClass().getSimpleName()); in onResume() . 回答2: Debug it in real

How to get active users distributed by Campaign source? Google Analytics campaign tracking ios

本小妞迷上赌 提交于 2019-12-19 10:04:23
问题 I need to track my ios app installs by campaign src. and i am using google Analytics campaign measurement for that . i need to associate the campaign source with the events. so each event will have the campaign source ( referrer ) as dimension. that's will help me to get the active users distributed by campaign source ! How could i do that ? in android i can get the campaign source (referrer) and store it in the device storage (like: NSUserDefaults), then i send it with every event. but i

How to get active users distributed by Campaign source? Google Analytics campaign tracking ios

我是研究僧i 提交于 2019-12-19 10:03:10
问题 I need to track my ios app installs by campaign src. and i am using google Analytics campaign measurement for that . i need to associate the campaign source with the events. so each event will have the campaign source ( referrer ) as dimension. that's will help me to get the active users distributed by campaign source ! How could i do that ? in android i can get the campaign source (referrer) and store it in the device storage (like: NSUserDefaults), then i send it with every event. but i

Android google analytics integration error

不羁的心 提交于 2019-12-19 05:57:23
问题 When i am trying to get tracker in my activity it show error that -this method is undefine "getactivity()" in google analytic v4 // Get tracker. Tracker t = ((AnalyticsSampleApp) getActivity().getApplication()) .getTracker(TrackerName.APP_TRACKER); 回答1: If you haven't done so already, create a class MyApplication extends Application for your app, and make sure you add it to your manifest as below (the property that matters here is android:name, I've removed the other xml properties for

Google Analytics Tracker Not working for android app

假装没事ソ 提交于 2019-12-19 03:40:06
问题 I have included Google analytics in my app. But when i create an object of Tracker the tracker does not work Code in one of my activity @Override protected void onStart() { // TODO Auto-generated method stub super.onStart(); try{ tracker=((GoogleAnalyticsConfig)this.getApplication()).getTracker(GoogleAnalyticsConfig.TrackerName.APP_TRACKER); tracker.setScreenName("HomeActivity"); tracker.send(new HitBuilders.AppViewBuilder().build()); }catch(Exception ex) { ex.printStackTrace(); } } Now with

Analytics Reporting API V4 Client Library for .NET

霸气de小男生 提交于 2019-12-18 10:11:57
问题 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 this data into an administration site we have built. I'm having trouble finding any examples of using this code and the documentation seems to be incredibly sparse. I would like to use a service account to authorize as we only need to view data

Android - Using Google Analytics v4 Campaign Measurement

左心房为你撑大大i 提交于 2019-12-18 01:15:30
问题 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 : <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> <meta-data android:name="com.google.android.gms.analytics.globalConfigResource" android:resource="@xml/global_tracker" /> <!-- Used for Google Play Store Campaign Measurement-->; <service

enableAutoActivityTracking not automatically tracking activities?

我与影子孤独终老i 提交于 2019-12-17 19:39:10
问题 I'm currently initializing my Google Analytics tracker as follows: GoogleAnalytics analytics = GoogleAnalytics.getInstance(context); Tracker mGATracker = analytics.newTracker(context.getString(R.string.ga_code)); mGATracker.setSessionTimeout(300); mGATracker.enableAutoActivityTracking(true); It works fine for sending custom events and such, though I'm not seeing any auto activity tracking (looking under Behavior -> Events -> Screens in GA). Am I not able to enable this setting in this way?

What is the scope of the utm_campaign dimension in Google Analytics v4 on Android?

我与影子孤独终老i 提交于 2019-12-13 04:35:33
问题 I'm using Google Analytics v4 in my Android app and I want to use the Campaign Measurements to see where my users are coming from. The app is currently under development so it's not available in Google Play, but I'm planning to distribute some preview builds by sending out the apk file directly before I make the first release on Google Play. I still want to be able to do campaign tracking on these builds so I'm planning to send hard-coded campaign data using setCampaignParamsFromUrl() instead