google-analytics-firebase

How can I set campaign with Google Analytics using setCampaignParamsFromUrl()

冷暖自知 提交于 2019-12-05 19:44:13
Update This was caused by a bug that Google have fixed in "Release Version 4.5 - Google Play Services 7.3 (May 1, 2015)". When using Google Play Services 7.3 or later it should be possible to call setCampaignParametersFromUrl() with a full URL as expected. Original question I'm using Google Analytics V4 in my Android app. On startup I send a screen view hit to Google Analytics and I set the campaign parameters on my HitBuilders.ScreenViewBuilder by calling setCampaignParamsFromUrl() like this: String url = "http://example.com/?referrer=utm_source%3Down-build%26utm_campaign%3Dinternal-testing";

Google Analytics for Android v4 - Automatic Screen Measurement not working?

隐身守侯 提交于 2019-12-05 04:40:14
I finally got around to trying out Google Analytics v4. Actually, it's my first time using GA at all, so I'm not quite as familiar with the way things are done. In any case, I managed to get the MobilePlayground sample to build and it mostly works - except for the Automatic Screen Measurement feature The XML config file in the sample is just like in the docs, so I shouldn't have to edit anything to get that part to work. But I don't see those screen views in the GA console. <!-- Enable automatic Activity measurement --> <bool name="ga_autoActivityTracking">true</bool> <!-- The screen names

Issues in Google Tag Manager plugin in Cordova

和自甴很熟 提交于 2019-12-04 12:31:20
Am trying to use GTM plugin for Cordova - https://github.com/kraihn/cordova-plugin-tag-manager . Am facing issues on the iOS version of my cordova app. I get warnings that the binary resource file and plist file are not found. GoogleTagManager warning: Cannot find binary resource file 'GTM-XXXXXX'. GoogleTagManager warning: Cannot find resource file 'GTM-XXXXXX.plist' GoogleTagManager verbose: loading default container from GTM-XXXXXX.json I downloaded the json file from GTM account - Admin, export for the live version. I don't see an option for download from Actions tab(as listed in some of

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

耗尽温柔 提交于 2019-12-04 00:56:09
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 res/xml/default_tracker.xml : <?xml version="1.0" encoding="utf-8"?> <resources> <bool name="ga_dryRun">true</bool> <string name="ga_logLevel">verbose</string> </resources> When I set this config file on a new tracker and run my app, I see the following in the log: 04-30 13:05:55.303 29266-29266/com.example.app W/GAV3﹕ Thread[main,5,main]: bool configuration

Google Analytics API v4 for Android Does NOT Send Screen Views

末鹿安然 提交于 2019-12-03 02:28:29
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</string> <integer name="ga_sessionTimeout">300</integer> <bool name="ga_autoActivityTracking">true<

Import 3rd Party Page Views Data on Google Analytics

♀尐吖头ヾ 提交于 2019-12-02 17:04:38
问题 Is there a way to import 3rd party page view data to Google Analytics? For example, if I have file download information from my server logs, could I put the information on Google Analytics and have it show up in the standard reports or a custom report alongside the existing pageview data already provided by Analytics? 回答1: Yes, but you need to do it within 4 hours of the hit being logged. Take a look at the GA measurement protocol. The hour limit is due to the qt param (milliseconds from hit

GoogleAnalytics HitBuilders.TimingBuilder

六眼飞鱼酱① 提交于 2019-12-02 12:23:37
I'm using GA for an Android App. I'm trying to use user timings to report how much time has passed for some actions in my code, so what I basically do is this: At some point in the code I get System.currentTimeMillis() , at another point I do it again and subtract the latter from the former to get how much time has passed. I then report it to GA like this: long time1 = System.currentTimeMillis(); ... long time2 = System.currentTimeMillis(); long timingValue = time2 - time1; tracker.send(new HitBuilders.TimingBuilder() .setCategory(timingCategory) .setValue(timingValue) .setVariable

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

你离开我真会死。 提交于 2019-12-01 08:11:18
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 didn't succeed to store the the campaign source (reffere) in IOS. is it possible to get the campaign

No campaign data found. Using Google Analytics v4

北城余情 提交于 2019-12-01 06:45:03
I am getting this error "I/GAV4(7915): Thread[GAThread,5,main]: No campaign data found." Anyone has idea as what i going wrong ? I am using android API level 20 Google Analytics v4 Android device 4.2.2 Constants.TRACKER_MainActivity = "MainActivity" Note - I have masked few elements below in code. here is my code..manifest <application android:name="com.xxx.yyy.utility.Trackers" android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <meta-data android:name="com.google.android.gms.version" android:value="@integer/google

No campaign data found. Using Google Analytics v4

时间秒杀一切 提交于 2019-12-01 04:50:37
问题 I am getting this error "I/GAV4(7915): Thread[GAThread,5,main]: No campaign data found." Anyone has idea as what i going wrong ? I am using android API level 20 Google Analytics v4 Android device 4.2.2 Constants.TRACKER_MainActivity = "MainActivity" Note - I have masked few elements below in code. here is my code..manifest <application android:name="com.xxx.yyy.utility.Trackers" android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="