google-analytics

Upgraded to SDK version 17, now libraries don't link correctly

廉价感情. 提交于 2019-12-08 07:50:40
问题 So, I recently upgraded my Android SDK, and for some reason it seems to have broken Analytics. I'm getting the following error from LogCat, which seems to be key, but I can hardly imagine that they would have removed getInstance, so I'm at a bit of a loss. Any ideas? Could not find method com.google.android.apps.analytics.GoogleAnalyticsTracker.getInstance, referenced from method 03-22 06:30:44.341: W/dalvikvm(217): VFY: unable to resolve static method 117: Lcom/google/android/apps/analytics

Quantities of items are not tracked in google analytics transactions

浪子不回头ぞ 提交于 2019-12-08 07:20:49
问题 I'm trying to send e-commerce transactions from my iOS app using google tag manager like described here Now I can see transactions in the conversions > e-commerce > overview panel in google analytics but all the items have a quantity of 0. I'm making a NSMutableDictionary for the items like so: for (CartItem *item in cart.items) { [transaction[@"transactionProducts"] addObject:@{@"name": item.productName, @"sku": item.reference, @"category": @"mobile", @"price": item.shopPrice, @"currency": @

How to display google analytics embeded reports without being logged in into google

瘦欲@ 提交于 2019-12-08 06:45:35
问题 I have following code and it works just fine: <script> (function(w,d,s,g,js,fjs){ g=w.gapi||(w.gapi={});g.analytics={q:[],ready:function(cb){this.q.push(cb)}}; js=d.createElement(s);fjs=d.getElementsByTagName(s)[0]; js.src='https://apis.google.com/js/platform.js'; fjs.parentNode.insertBefore(js,fjs);js.onload=function(){g.load('analytics')}; }(window,document,'script')); </script> <script> gapi.analytics.ready(function() { var CLIENT_ID = 'my client id goes here'; gapi.analytics.auth

Google Analytics LIKE Tool

走远了吗. 提交于 2019-12-08 06:45:09
问题 I'm considering writing my own tool for tracking visitors/sales as Google Analytics and others are just not comprehensive enough in the data dept. They have nice GUIs but if you have SQL skills those GUIs are unnecessary. I'm wondering what the best approach is to do this. I could simply just log the IP, etc to a text file and then have an async service run in the background to dump it into the DB. Or, maybe that's overkill and I can just put it straight in the DB. But one DB WRITE per web

Android Google Analytics Tracking

六月ゝ 毕业季﹏ 提交于 2019-12-08 06:43:06
问题 I have set up Google Analytics v2 beta on a test project as bellow MainActivity.java public class MainActivity extends Activity { Context context; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); context = this; // Set Context to Google Analytics EasyTracker.getInstance().setContext(context); } @Override protected void onStart() { super.onStart(); EasyTracker.getInstance().activityStart(this);

How to properly update Google Analytics Unity plugin

北城以北 提交于 2019-12-08 05:44:35
问题 I have a game for Android with GAv3 installed, if I update Google Analytics to version 4 the game starts but I get some exceptions. Here's a log from Android Device Monitor: 03-15 16:06:44.906: I/Unity(17009): AndroidJavaException: java.lang.ClassNotFoundException: com.google.android.gms.analytics.GoogleAnalytics 03-15 16:06:44.906: I/Unity(17009): java.lang.ClassNotFoundException: com.google.android.gms.analytics.GoogleAnalytics 03-15 16:06:44.906: I/Unity(17009): at java.lang.Class

Memory Leak when Google Analytics sends a hit

淺唱寂寞╮ 提交于 2019-12-08 05:41:50
问题 I'm trying to use Google Analytics SDK v3.10 for iOS. I added all dependencies and headers, then in my app delegate, method : - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions , I added those lines : [[GAI sharedInstance] setDispatchInterval:20.0]; [[GAI sharedInstance] trackerWithTrackingId:@"UA-XXXXXXXX-X"]; [[GAI sharedInstance].logger setLogLevel:kGAILogLevelVerbose]; with the proper tracking id. In my landing view, method

Encrypted mail as user id in GA

青春壹個敷衍的年華 提交于 2019-12-08 05:26:30
问题 Is it ok to use an encrypted email with public/private key encryption as User ID? I understand that an autogenerated ID would be valid as User Id, the problem is that because of the complexity of the organization it would take a long time. Saludos, Kevin 回答1: I have to update this answer, since the paragraph quoted below evidently refers to data imports only. Googles guidelines on "Best practices to avoid sending Personally Identifiable Information (PII)" say: You can send Google Analytics an

Firefox private browsing requires 2 page loads to set cookies

三世轮回 提交于 2019-12-08 04:25:30
My WordPress site ( http://robfuquay.staging.wpengine.com/ ) is setup to only allow Google Analytics cookies after users have given their consent via a banner attached to the bottom of the window. (This is done via this plugin: https://wordpress.org/plugins/cookie-notice/ ) Until that consent is given I have a cookie called ga-disable-UA-10877870-45 which is set to true . When the consent button is clicked another cookie gets added cookie_notice_accepted and set to true . Once the cookie_notice_accepted cookie is set to true , the ga-disable-UA-10877870-45 cookie is set to false via the

Encrypted mail as user id in GA

戏子无情 提交于 2019-12-08 02:25:31
Is it ok to use an encrypted email with public/private key encryption as User ID? I understand that an autogenerated ID would be valid as User Id, the problem is that because of the complexity of the organization it would take a long time. Saludos, Kevin I have to update this answer, since the paragraph quoted below evidently refers to data imports only. Googles guidelines on "Best practices to avoid sending Personally Identifiable Information (PII)" say : You can send Google Analytics an encrypted identifier or custom dimension that is based on PII, as long as you use the proper encryption