analytics

Architecture for database analytics

喜欢而已 提交于 2019-12-20 10:46:23
问题 We have an architecture where we provide each customer Business Intelligence-like services for their website (internet merchant). Now, I need to analyze those data internally (for algorithmic improvement, performance tracking, etc...) and those are potentially quite heavy: we have up to millions of rows / customer / day, and I may want to know how many queries we had in the last month, weekly compared, etc... that is the order of billions entries if not more. The way it is currently done is

How to track user time on site

两盒软妹~` 提交于 2019-12-20 08:39:07
问题 I'm looking to track users average time on a website (in the same way that Google analytics does) for internal administration. What's the easiest way to do this? 回答1: You can get the time in next ways: Once user visit your site, save current time at cookie as "visited", and at next visit you can grab it, if it was set. And more expensive method: when the page loads, start js timer, and on page unload send to server time which user sent and save it to db. And if window.unload does not work at

User Activity Profile and Statistics

萝らか妹 提交于 2019-12-20 02:26:13
问题 I am just exploring on what is the best practice/framework for implementing feature for collecting and displaying user activity statistics that is user specific and site relating to login user activities in ASP.NET. For example, I will want to know for a particular login user on my site, which site he/she has visited in the last day, week or etc. What is the frequency? top 5/10? and for the overall site, what are the top 5 popular pages or search terms (based only on login users not crawler

User ID not showing up in BigQuery

孤街醉人 提交于 2019-12-20 01:39:16
问题 What can be the reason the user_id is null in BigQuery? Data from Analytics is sent to BigQuery but the user_id is not passed along. The user_id is sent to Google Analytics but what could be the reason it is not available in BigQuery? 回答1: I am operating under the assumption that this field is intentionally held out from all Google Analytics -> BigQuery extracts based on the following: https://support.google.com/analytics/answer/6205850?hl=en#limits Of particular note, the line " The User ID

Mysql json based trending tags implementation

人走茶凉 提交于 2019-12-19 18:32:29
问题 I am trying to identifying the trending tags (based on maximum hits) on time series using mysql json feature. Below is my table CREATE TABLE TAG_COUNTER ( account varchar(36) NOT NULL, time_id INT NOT NULL, counters JSON, PRIMARY KEY (account, time_id) ) In every web api request, i will be getting the multiple different tags per account, and based on number of tags, i will prepare the INSERT ON DUPLICATE KEY UPDATE query. Below example is showing insertion with two tags. INSERT INTO `TAG

Adding Google_analytics for iOS is not working tried many ways?

ぐ巨炮叔叔 提交于 2019-12-19 06:06:08
问题 Hi I'm getting following error and so far not able to fix it. Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_GAI", referenced from: objc-class-ref in AppDelegate.o objc-class-ref in HomeViewController.o "_OBJC_CLASS_$_GAITrackedViewController", referenced from: _OBJC_CLASS_$_HomeViewController in HomeViewController.o "_OBJC_METACLASS_$_GAITrackedViewController", referenced from: _OBJC_METACLASS_$_HomeViewController in HomeViewController.o ld: symbol(s) not found for architecture

How to get clientId in Android Google Analytics V4?

纵饮孤独 提交于 2019-12-19 04:09:39
问题 I am trying to get the automatically set Analytics clientId in Android. (Setting it is explained in the Android API documentation as setClientId() ) When I try to use tracker.get("clientId") it returns empty. Any idea anyone? Thanks in advance! 回答1: I've ran a decompiler on it for you and it seems like the clientId property is stored with the key "&cid". Internally it does this: set("&cid", clientId); The solution would be to call this: tracker.get("&cid"); The get() method does however have

Tracking internal users on wordpress

不打扰是莪最后的温柔 提交于 2019-12-19 04:08:29
问题 We have an internal WordPress site, and about 25 users. Our current Google analytics set-up will show us how many times a page has been visited, but because everyone comes from the same IP address it thinks that it is basically one very industrious person clicking a lot. Does anyone have a strategy for tracking individual users? (They are all logged into WordPress as a function of our single sign on.) 回答1: You can use the _setCustomVar method from the JavaScript API to provide the user name

Flurry Analytics, Basic Analytics Issues

此生再无相见时 提交于 2019-12-19 00:43:22
问题 Does anyone have any experience using the basic analytics services with the Flurry Analytics SDK? I have two applications which I am testing this out with. Both are existing apps which I added the Flurry SDK to and set up to track basic events -- the apps were updated and went live in the app store about 16 hours ago. I know there have been users, I myself have used the updated version extensively. The problem is that the Flurry dashboard shows no new users, no events tracked, nothing at all.

Scalable way of logging page request data from a PHP application?

倖福魔咒の 提交于 2019-12-18 13:32:37
问题 A web application I am developing (in PHP) requires the ability to log each page request. Just like a normal access_log, it will store details like url requested, source ip address, date/time but I also need it to store the User ID of the logged in user (which is stored in a php session variable). This data will then be queried to create site-wide or per user analytics reports as required at a later date - things such as total number of visits/unique visits, page views in a certain time