google-analytics

Google Analytics for Android v2 Campaign Tracking Not Working

给你一囗甜甜゛ 提交于 2019-12-03 13:57:33
I have spent a ton of time on this, and am now pulling my hair out. I am using the Google Analytics Android SDK v2. I have been using it for months, and have collected data using EasyTracker . No issues there. I recently tried to implement Campaign Tracking, and everything seemed okay, but after weeks in the market even with hundreds of referral downloads, I saw no data. I recently looked into how to test it and found this: stackoverflow.com/questions/5890914/how-to-test-android-referral-tracking I am using the v2 service, so in my AndroidManifest.xml, I added this: <!-- Used for install

Google Analytics real time not working

眉间皱痕 提交于 2019-12-03 13:52:23
I am using this code for using Google Analytics for getting real time info and App Review, the code is in the AppDelegate: [GAI sharedInstance].trackUncaughtExceptions = YES; [[GAI sharedInstance].logger setLogLevel:kGAILogLevelVerbose]; [GAI sharedInstance].dispatchInterval = kGANDispatchPeriodSec; self.tracker = [[GAI sharedInstance] trackerWithName:@"APP_NAME" trackingId:kGoogleAnalyticsCode]; self.tracker.allowIDFACollection = NO; [self.tracker set:kGAIScreenName value:@"APP_NAME"]; [self.tracker send:[[GAIDictionaryBuilder createScreenView] build]]; And i get this Log in the console:

Gracefully handling AngularJS Error: $injector:nomod Module Unavailable

牧云@^-^@ 提交于 2019-12-03 13:42:13
My angular app depends on a third-party angular service: var app = angular.module("ninjaModule", ['angular-google-analytics']); The app loads up just fine, as long as my ad-blocking plugins are off. However, with ad-blockers on angular throws an $injector:nomod error, failing to load the whole app. I'm looking for a way to gracefully handle these errors, and therefore be able to load the app regardless of ad-blockers. If angular-google-analytics won't be there - fine, it's not critical, I can deal with it or set up some fallback. But a situation where the whole app crashes is not an option for

Tracking how many times an HTML5 audio element is played?

北城以北 提交于 2019-12-03 13:40:00
What is the best way to track how many times an HTML5 audio element is played? (we can use Google Analytics too, if that is the best approach) HTML5 Audio elements have basic callbacks. You can combine that with a basic event callback library like jQuery to attach these events by default: $("audio").bind("play", function(){ _gaq.push(["_trackEvent","Audio", "play", $(this).attr('src')]); }); You can also do similar events for tracking when people finish the audio: $("audio").bind("ended", function(){ _gaq.push(["_trackEvent","Audio", "ended", $(this).attr('src')]); }); This can be made more

How do I implement Campaign tracking with Cordova?

倾然丶 夕夏残阳落幕 提交于 2019-12-03 13:38:42
问题 I am trying to implement campaign tracking in my cordova app, but I am not having success. I previously used danwilson plugin, which works nice, but it does not have support for campaigns, as I saw here: https://github.com/danwilson/google-analytics-plugin/issues/68 So I changed my plugin to this fork: https://github.com/Anu2g/google-analytics-plugin Which have campaign tracking. I am currently testing in Android, I have added this to my manifest <!-- Used for Google Play Store Campaign

How to place Custom Variables in the new Google Analytics Code

扶醉桌前 提交于 2019-12-03 13:38:32
I wanna place Custom Variables in Google Analytics but Ima little bit confused about the syntax. This is what Google gave me to place on my site:- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-xxxxxxx', 'xxxxx.com'); ga('send', 'pageview'); This is what I want to use for Custom Vars:- var _gaq = _gaq || []; _gaq

iOS: CocoaPods issue with Google Analytics and AdMob

白昼怎懂夜的黑 提交于 2019-12-03 13:37:59
Assuming: I have configured CocoaPods for Google Analytics , using pod 'Google/Analytics , following the official installation guide: https://developers.google.com/analytics/devguides/collection/ios/v3/?ver=swift I have configured CocoaPods for AdMob , using pod 'Google-Mobile-Ads-SDK', '~> 7.0' , following the official installation guide: https://developers.google.com/admob/ios/quick-start#streamlined_using_cocoapods I generated the GoogleService-Info.plist configuration file, specifying both Analytics and AdMob services, using the button reported here: https://developers.google.com/analytics

How to exclude traffic in Google Analytics from Dynamic IP addresses?

≡放荡痞女 提交于 2019-12-03 13:31:37
问题 Google's detection of Unusual traffic is nice. But how is it handling Dynamic IP addresses? For example,I do not have ranges of IPs and my ISP provides Dynamic IP which may change everytime my router reboots and it changes everyday. So here, when I get some IP address I see notification w/o captcha. After several reboots I seem to get an IP which was not blocked! How to solve this type of issues in Google Analytics. Also I know very well how to exclude traffic from single IP and with ranges

google analytics crash report only shows first line of stacktrace

对着背影说爱祢 提交于 2019-12-03 13:25:48
问题 My application uses Google Analytics to track exceptions and crashes (among other thigs). I use this function to get the stacktrace: public static void sendErrorReportViaGoogleAnalytics(Exception e) { e.printStackTrace(); Tracker myTracker = EasyTracker.getTracker(); myTracker.sendException(getDescription(e), false); } public static String getDescription(Exception t) { final StringBuilder result = new StringBuilder(); result.append(t.toString()); result.append(','); String oneElement; for

How to do mobile analytics using Jquery mobile

[亡魂溺海] 提交于 2019-12-03 12:55:46
问题 I am looking for a good solution to do mobile analytics for Jquery mobile . I did check this question Flurry Analytics vs Google Analytics on the mobile platform but these are all solutions for a platform specific/ phone manufacturer specific but jquery mobile works on all platforms irrespective of the manufacturer or operating system. Essentially i am looking for a analytics solution for webapps. Additional Info:- bango seems expensive at $49/month. Admob wont work since we dont need it for