Is there a faster alternative to Google Analytics? [closed]

You should try Asynchronous Google Analytics. It loads GA in the background, so the rest of the content on the page is not blocked from rendering: http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html Additionally, since you first asked this question, Google has upgraded their serving infrastructure. It’s now faster, and much more reliable than it was in 2008. For most sites, … Read more

Google Analytics Event-based Goal Funnels

Google Analytics now offers an Events Flow Report, in which you can see how users “navigate” through the different events you have configured, but that’s probably not what you are looking for. If you want a “real” funnel report in Google Analytics, currently you can’t use Events, they are only available for Destination/URL goals. A … Read more

Recording user data for heatmap with JavaScript

Heatmap analytics turns out to be WAY more complicated than just capturing the cursor coordinates. Some websites are right-aligned, some are left-aligned, some are 100%-width, some are fixed-width-“centered”… A page element can be positioned absolutely or relatively, floated etc. Oh, and there’s also different screen resolutions and even multi-monitor configurations. Here’s how it works in … Read more

XGBoost XGBClassifier Defaults in Python

That isn’t how you set parameters in xgboost. You would either want to pass your param grid into your training function, such as xgboost’s train or sklearn’s GridSearchCV, or you would want to use your XGBClassifier’s set_params method. Another thing to note is that if you’re using xgboost’s wrapper to sklearn (ie: the XGBClassifier() or … Read more

Tell bots apart from human visitors for stats?

Humans and bots will do similar things, but bots will do things that humans don’t. Let’s try to identify those things. Before we look at behavior, let’s accept RayQuang’s comment as being useful. If a visitor has a bot’s user-agent string, it’s probably a bot. I can’t image anybody going around with “Google Crawler” (or … Read more

Track event in google analytics upon clicking form submit

Use Google Analytics hitCallback You can specify a custom callback function on the tracker object. _gaq.push([‘_set’, ‘hitCallback’, function(){}]); The callback is invoked after the “hit is sent successfully.” If you want to track a click on a submit button and send the form afterwards you can use the following code (uses jQuery) for your event: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)