analytics

jQuery.on('click') before jQuery.click?

↘锁芯ラ 提交于 2019-12-06 01:39:54
问题 I have an external script, wich i can't modify. This script load a button, and add a jQuery .click on it... and it finish with "return false". I need to trigger my own code on this click. When i load the page the doesn't exists, so i need to use .on('click') to bind "live". But it looks like the .on('click') is loaded "after" the .click and as he use "return false", my .on('click') is not loaded. So the question is... How can i trigger my on click on this dynamically loaded a#btn wich already

How can I find what search terms (if any) brought a user to my site?

拜拜、爱过 提交于 2019-12-06 01:11:31
I want to create dynamic content based on this. I know it's somewhere, as web analytics engines can get this data to determine how people got to your site (referrer, search terms used, etc.), but I don't know how to get at it myself. You can use the "referer" part of the request that the user sent to figure out what he searched for. Example from Google: http://www.google.no/search?q=stack%20overflow So you must search the string (in ASP(.NET) this can be found be looking in Request.Referer ) for "q=" and then URLDecode the contents. Also, you should take a look at this article that talks more

Tracking external links with Google Analytics trackPageview() not working

杀马特。学长 韩版系。学妹 提交于 2019-12-06 00:53:58
I have set up external link tracking as Goals in Google Analytics according to the GA documentation . Here is the page in question: http://playmoreatthey.org/ - the external links on the page are formatted such as <a href="http://www.ymcagreaterprovidence.org/Default.aspx?alias=www.ymcagreaterprovidence.org/baysidebranch" onclick="javascript: pageTracker._trackPageview('/G1/bayside_family.com');" target="_blank">Bayside Family YMCA</a> I set up the goal as a "head match" to the URL: /G1/bayside_family.com I checked back four days later, and there are no results in the goals or pageviews for

Execute JS code on user sign up/sign in with Rails + Devise

佐手、 提交于 2019-12-05 22:58:46
I'm looking at the Kissmetrics (analytics app) JS API docs, and they have an "identify" method that lets you tell Kissmetrics about a user. Here's what their docs say: We recommend you call identify in two scenarios: When a user successfully signs up When a user successfully logs in, either through cookies or through a login page What would be the best way to achieve that? How can I detect when a user has just signed up or signed in? Lets divide the problem in two: register and log in. You can detect when a new user has registered in you app just adding a after_create hook in you User model.

Flurry initialization error with Android

我是研究僧i 提交于 2019-12-05 22:00:26
I have the following error when initialize flurry on Application Class: 04-27 10:57:47.360: W/dalvikvm(26744): VFY: unable to resolve static method 22939: Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;.getAdvertisingIdInfo (Landroid/content/Context;)Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info; 04-27 10:57:47.370: W/dalvikvm(26744): VFY: unable to resolve virtual method 22937: Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;.getId ()Ljava/lang/String; 04-27 10:57:47.370: W/dalvikvm(26744): VFY: unable to resolve virtual method 22938: Lcom/google

Universal Analytics - 3rd Party Payment Gateway

强颜欢笑 提交于 2019-12-05 20:35:19
Our website is currently tracking with Universal Analytics via Tag Manager. Our check-out process includes getting redirected to a 3rd party payment gateway before going to the Thank You Page. So, it would look like this: site.com/checkout --> site.com/payment --> security.com --> site.com/thankyou Security.com is a 3rd party site and I am unable to add the tracking code there. I'd like to be able to see who are able to get past the security.com stage and make it to the site.com/thankyou page. But with this setup, my reports show that after site.com/payment, the visitors exit. Then they return

Elasticsearch analytics percent

自作多情 提交于 2019-12-05 18:29:04
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 each component: The sum of all 'duration' fields for this component. A: 15 B: 27 C: 2 The percentage

dbWriteTable(…, append = T) is overwritng in R

ぐ巨炮叔叔 提交于 2019-12-05 15:57:01
问题 I am using RJDBC for accessing MySQL from R. Earlier I used to work with RMySQL which is not available for R 2.15. There were so many discussions around SO but still I couldn't able to use RMySQL package in R 2.15 so switched to RJDBC. When I'm using dbWriteTable(..., append = T) command for appending records into MySQL table it is simply overwriting, please see the code below. setting environment variable for MySQL server Sys.setenv(MYSQL_HOME='C:/Program Files (x86)/MySQL/MySQL Server 5.1')

Firebase analytics events don't show value

為{幸葍}努か 提交于 2019-12-05 13:50:51
问题 I have a game and I want to send event every time user sets new high score, I check if current score is > that previous and if it is I send that new high score to firebase. code: Bundle bundle = new Bundle(); bundle.putLong(FirebaseAnalytics.Param.LEVEL, extras.getInt("score")); mFirebaseAnalytics.logEvent(FirebaseAnalytics.Event.LEVEL_UP, bundle); This is how it looks like in firebase console: image link You can see how events are grouped by their value. Problem is that i have 4 different

PostgreSQL equivalent of Oplog Tailing in MongoDB

别来无恙 提交于 2019-12-05 06:46:16
Is there an equivalent process similar to oplog tailing for MongoDB in PostgreSQL? I find it very useful in MongoDB for real-time analytics and building out dashboards on what is going on in the DB by peeking at the log. Unfortunately MongoDB is not useful for my particular DB needs. I'm looking really for a legitimate, non-hackish, way of doing it. This would be put in a production environment and I can't cause more problems than it's worth down the line. Thanks in advance and lets try to not make this a NO-SQL vs RDBMS debate. In PostgreSQL 9.4 and newer you can use the test_decoding plugin