web-analytics

Best way to count page view in Plone

落爺英雄遲暮 提交于 2019-12-01 05:12:59
问题 I'm working in a case require fairy complex use of page views. Each content object will have page view, and this should be accessed easily so that we can do various things related to it (sorted on catalog result, display, calculate popular metter ...). The closest equivalent is the youtube video's view. I'm thinking of some possible ways to implemented this: Use annotation storage & indexer to create portal_catalog index & metadata. Use indexer only (either use volatile attribute or update

What is the difference between google tag manager and google analytics?

不打扰是莪最后的温柔 提交于 2019-11-29 18:43:15
I am reading about web analytic and came across GTM and GA. It seems that GA is a service provided by google which generates reports and statistics on website traffic. As per my limited understanding in order to generate this reports we need to perform some type of tagging at our end. It also looks like that in GTM also we need to add some tags in our website. So, if both GA & GTM are related to tagging what is the difference between them and why do we have two different products by google. Alexander Taylor Google Analytics ' main job is really just generating the reports and statistics about

How to measure visiting time of a user

隐身守侯 提交于 2019-11-29 02:00:20
I like to measure the time a user spent on a particualr page of my webapp. First i thought about catching the onunload/onbeforeunload event in the browser and notify the server via a XMLHttpRequest that the user is leaving now like: <body onunload="userLeaves('/url/to/current/page',xxx);" ...> ... </body> where xxx is the inital tiemstamp when the page was rendered. Unfortunately this solution doesnt work in all browser (e.g. Opera). So my second idea was to ping the server constantly. To calculate the visiting time someone has to take the last ping time and subtract it from the inital

What is the difference between google tag manager and google analytics?

隐身守侯 提交于 2019-11-28 13:34:18
问题 I am reading about web analytic and came across GTM and GA. It seems that GA is a service provided by google which generates reports and statistics on website traffic. As per my limited understanding in order to generate this reports we need to perform some type of tagging at our end. It also looks like that in GTM also we need to add some tags in our website. So, if both GA & GTM are related to tagging what is the difference between them and why do we have two different products by google.

Send HTTP request from PHP without waiting for response?

那年仲夏 提交于 2019-11-28 04:52:25
I want to have an HTTP GET request sent from PHP. Example: http://tracker.example.com?product_number=5230&price=123.52 The idea is to do server-side web-analytics: Instead of sending tracking information from JavaScript to a server, the server sends tracking information directly to another server. Requirements: The request should take as little time as possible, in order to not noticeably delay processing of the PHP page. The response from the tracker.example.com does not need to be checked. As examples, some possible responses from tracker.example.com : 200: That's fine, but no need to check

what are the values in _ga cookie?

徘徊边缘 提交于 2019-11-28 03:01:59
I am using universal analytics . universal analytics creates first party cookie _ga _ga=1.2.286403989.1366364567; 286403989 is clientId 1366364567 is timestamp what is 1 and 2 in _ga cookie? _ga=1.2.286403989.1366364567; 1st Field This is a versioning number. In case the cookie format changes in the future. Seems to be fixed at 1 at the moment. The one above is an old format. Newer cookies have this value set at "GA1" 2nd Field This field is used to figure out the correct cookie in case multiple cookies are setup in different paths or domains. By default cookie are setup at path / and at the

Send HTTP request from PHP without waiting for response?

≯℡__Kan透↙ 提交于 2019-11-27 00:42:25
问题 I want to have an HTTP GET request sent from PHP. Example: http://tracker.example.com?product_number=5230&price=123.52 The idea is to do server-side web-analytics: Instead of sending tracking information from JavaScript to a server, the server sends tracking information directly to another server. Requirements: The request should take as little time as possible, in order to not noticeably delay processing of the PHP page. The response from the tracker.example.com does not need to be checked.