google-analytics

How to debug Android ANR?

回眸只為那壹抹淺笑 提交于 2019-12-02 22:16:09
My Android app gets a lot of ANR reports lately in the Google Play console. Since this started to happen when I included Google Analytics in the app, I strongly suspect Analytics to cause it. Problem is that I know how to debug a crash using the stack trace. But I'm not sure about how to debug an ANR. I guess that an ANR means that the main thread is blocked somewhere. But how to know where it is blocked? See below one of the typical ANR I got lately. How to interpret it and start figuring out where does the app hangs? PS: Some of the classes / methods in the stacks look weird due to the usage

Google analytics.js and Content Security Policy

只谈情不闲聊 提交于 2019-12-02 22:12:15
I have a web app using the default html5boilerplate Content Security Policy. However, we have the new Google analytics.js snippet on the page, which is being blocked by the CSP. I've been trying to find an example of a CSP and JS include structure that will allow Google analytics.js, but haven't had any luck. The closest SO post is Google Analytics and Content-Security-Policy header , but this is using the older ga.js. Unfortunately the Google Docs don't mention CSP. I've reached the following solution though: Bottom of my html file: <script type="text/javascript" src="/js/analytics.js"><

How to export complete Google Analytics historical data? [closed]

扶醉桌前 提交于 2019-12-02 21:56:12
I was given a few days to export all the historical data from a Google Analytics account before access will be shutoff. Important to note that you cannot migrate historical data (at the time of this post) from one Google Analytics account to another. I would specifically like to program this for Excel or better yet get guidance on what others have used. I have never done this before so wanted to reach out and see what others have used? Wanted to avoid the Google Analytics Data Export API unless there was no other option. There is about 5 years of data for a very active site. Update I decided

How to find all the packages included in an apk

纵然是瞬间 提交于 2019-12-02 21:52:52
问题 I am involved in reverse engineering android apps (using apktool and androguard). I wish to find out all the packages included in an apk. The package may include the main application code, ad library (such as ad sense, inmobi, mobclix etc.), social SDK (such as facebook, Google etc.), Analytics (flurry, Google analytics etc.) or any other support lib. Please let me know if there is any tool / anyway to do this. If tools are not currently available, I intend to develop one, please help me by

Google Analytics Event Permutation

╄→尐↘猪︶ㄣ 提交于 2019-12-02 21:30:40
since the 9th of Sep some events (about 0,01 %) and their dimensions were unreadable by permutation. Like the event "VideoView" becomes to "eiVwoediV". Does anybody have the same problem or anybody know why? The analytics is implemented via Google Tag Manager. Thanks for advice! We caught it! We luckily had a known customer who created such requests and we phoned him! We nailed it down to one Firefox plugin: https://addons.mozilla.org/de/firefox/addon/cliqz/ We could reproduce the described behaviour by installing the plugin. The strange thing is, that the add-on has not been modified recently

Implement Google Analytics in ios swift

寵の児 提交于 2019-12-02 21:02:31
I am following the Analytics for iOS (developers.google.com/analytics/devguides/collection/ios/v3/?ver=swift) guide and I've got errors in my Swift code Project that I can't fix. I am working with XCode 6.4, Swift and the iOS Deployment Target 8.1. Step 1 First I installed a Google SDK using CocoaPods. This is the console result after running pod install command: Updating local specs repositories CocoaPods 1.0.0.beta.2 is available. To update use: `gem install cocoapods --pre` [!] This is a test version we'd love you to try. For more information see http://blog.cocoapods.org and the CHANGELOG

How does google analytics track events when user navigates to other page inside one domain

女生的网名这么多〃 提交于 2019-12-02 20:43:57
In Google's documentation it is said that an event can be tracked in the following way: <a onclick="_gaq.push(['_trackEvent', 'category', 'action', 'opt_label', opt_value]);">click me</a> or older version: <a onclick="pageTracker._trackEvent('category', 'action', 'opt_label', opt_value);">click me</a> I was looking with Firebug to the request that are made when a click on a link and I see there aborted request: http://www.google-analytics.com/__utm.gif?utmwv=4.7.2&utmn=907737223&.... This happens because browser unload all javascript when user navigates to a new page. How in this case event

Using regexp in Google Analytics Goal Funnel steps

筅森魡賤 提交于 2019-12-02 20:38:51
I have a goal that can be reached from two pages on my website, for example, /page1 and /page2. I've made a regular expression for the first 'Required step' of the visualization funnel: ^/(page1|page2)$ If i apply it as a filter in the Top Content report - it works fine. But there's nothing registered in the conversion funnel. I actually couldn't find any information about funnel steps - is it even possible to use regexp there just like it's done in the Goal page URL? jaygooby I've just been bitten by this. The URLs in the funnel steps are the same as the Goal Destination URL: https://support

Google Analytics - Multiple Trackers for Several Accounts?

夙愿已清 提交于 2019-12-02 20:36:46
Maybe I'm going about this wrong, but I'm hoping I can get some insight. I develop for multiple clients nationwide. I track many of my sites using my personal/development Analytics account that tracks all the domains/profiles I work on. However, I now have marketing folks jumping into the fray, all wanting their own GA trackers installed (and some other 3rd party trackers but that's irrelevant... I think?) that are associated to their own accounts. So, I've seen some discussion regarding entering multiple trackers into the code (and the possibility of corrupt cookies and data). Simply, is

Query Google Analytics by User ID

北慕城南 提交于 2019-12-02 20:33:27
Is there a way to query results using the Core Reporting API (v3) and filtering those results by the User ID assuming that it is being sent to Google Analytics properly? I've googled this question a lot and read a whole bunch of articles but I did not find one place that does that. Moreover, the fact that I cannot see the User ID anywhere in the reporting interface makes me doubt that this is even possible. I'm guessing I will have to dome something similar to what is recommended here in order to do it? UPDATE Apparently, the purpose of my question is not very clear as highlighted by Eike's