analytics

GA total results is significantly less with hour dimension than with date dimension

血红的双手。 提交于 2019-12-13 18:01:08
问题 I am using the GA API running two queries over 1 year's worth of data: Query1: Get apiQuery = analytics.data().ga() .get("ga:" + profileId, "2013-03-08", "2014-03-09", "ga:visits") .setDimensions("ga:campaign,ga:keyword,ga:date") .setSort("ga:campaign,ga:keyword") .setFilters("ga:medium==cpc") .setMaxResults(1000); Query2: Get apiQuery = analytics.data().ga() .get("ga:" + profileId, "2013-03-08", "2014-03-09", "ga:visits") .setDimensions("ga:campaign,ga:keyword,ga:date,ga:hour") .setSort("ga

Engagement Time Calculation When App Is In Background

久未见 提交于 2019-12-13 04:18:15
问题 How to calculate engagement time whenever my app is in background. User engagement (firebase automatically collected event) calculate periodically, while the app is in the foreground. But how to add the time in user engagement when my app is in back ground. Or i need to instrument other event.. Any Idea???? 回答1: When your app is in the background, the user isn't "engaged" with it at all. With newer versions of Android, the OS may immediately kill your backgrounded app at any time without

Gradle cannot resolve dependencies classpath from jcenter() in Android studio

孤街醉人 提交于 2019-12-13 03:44:37
问题 I`m using android studio 1.5.1 on ubuntu. I want to add google analytic to my android app.So I followed google analytic document but when I change mavenCentral() to jcenter() , Android studio cannot resolve this classpath: dependencies { classpath 'com.android.tools.build:gradle:2.0.0-beta6' classpath 'com.google.gms:google-services:2.0.0-alpha6' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } When I press "sync project

Reliable / Popular data visualization toolkit for the web

梦想的初衷 提交于 2019-12-13 02:20:38
问题 I'm looking for a reliable toolkit in any web-neutral[A] language, actively maintained / developed, stable that allows me to build graphs, charts, display data dynamically, allow drag-n-drop of datasets and refreshes automatically. Carlos Scheidegger recommended - http://vis.stanford.edu/protovis/ which looks great! But I'm looking to see what others are there and what ppl are using... [A] What I mean is something like js / jquery, etc. which can be generated by any web language like php,

Google Analytics: Simultaneously running Classic and Universal Tracking

断了今生、忘了曾经 提交于 2019-12-12 15:08:35
问题 I recently needed to enable Demographics and Interest Reporting on a website which had already upgraded to the Universal tracking code. Since the universal tracking code isn't set to support Demographic and Interest Reports until Phase 3, I decided to create a new Google Analytics property for the same site. The site, SEOcial, is now simultaneously running the universal tracking code and the classic tracking code with Demographics and Interest Reporting enabled to two different Google

Elasticsearch analytics percent

孤街浪徒 提交于 2019-12-12 09:48:11
问题 I am using Elasticsearch 1.7.3 to accumulate data for analytics reports. I have an index that holds documents where each document has a numeric field called 'duration' (how many milliseconds the request took), and a string field called 'component'. There can be many documents with the same component name. Eg. {"component": "A", "duration": 10} {"component": "B", "duration": 27} {"component": "A", "duration": 5} {"component": "C", "duration": 2} I would like to produce a report that states for

Web Analytics for Platform with Custom Events

让人想犯罪 __ 提交于 2019-12-12 09:07:42
问题 I'm building a platform that produces websites. Think wordpress.com as a similar example. Each site is going to be a subdomain of my domain like abc.mydomain.com or xyz.mydomain.com. I have a few requirements for analytics of which I haven't been able to meet all of: I would like to be able to see both stats for individual sites and aggregate stats for all sites. I would like to track custom events, like how many contributions users have made. I would like support for any number of subdomains

How to determine Time On Site in Javascript?

强颜欢笑 提交于 2019-12-12 08:39:41
问题 Google Analytics tracks 'Time On Site'. How would you do that effectively? Does it actually track when the user closes the browser or navigates away? Thoughts? 回答1: I can't be 100% certain of course, but I would guess they use javascript and the onload and onunload events and/or setTimer to communicate with a web service via AJAX. This way they could figure out when users go to or leave a page on your site. Once the browser stops "pinging" the web service, it's assumed that they left your

Email Alert when Crashes cross a particular Threshold

情到浓时终转凉″ 提交于 2019-12-12 06:17:51
问题 Is it possible to setup an email alert when the number of crashes in my app crosses a particular threshold per day? I would like to receive an email, for example, when my app crashes more than 7 times in the last 24 hs. I'm tracking the crashes with Crashlytics (from Fabric ). I didn't find anything related within Settings -> Notifications nor in any google research. I sent an email to support@fabric.io, still waiting to their response. Many thanks 回答1: Mike from Fabric here. I resent my

T-SQL: Count number of failures until first success

旧城冷巷雨未停 提交于 2019-12-12 04:57:43
问题 I have a DB consisting of events with timestamps: row eventName taskName timestamp userName 1 fail ABC 10.5 John 2 fail ABC 18.0 John 3 fail ABC 19.0 Mike 4 fail XYZ 21.0 John 5 fail XYZ 23.0 Mike 6 success ABC 25.0 John 7 fail ABC 26.0 John 8 success ABC 28.0 John I'd like to count the number of failures until the first success, per user (and average, but that's beyond this question). In the example above, John attempted task ABC 2 times (rows 1 & 2) until succeeding (row 6). Subsequent