Comments on: Click Tracking with jQuery http://www.digitalistic.com/2009/09/16/click-tracking-with-jquery/ Mashup or die trying Mon, 20 Jun 2011 19:09:35 +0000 hourly 1 By: bonusreviewer http://www.digitalistic.com/2009/09/16/click-tracking-with-jquery/comment-page-1/#comment-43461 Tue, 12 Apr 2011 10:09:03 +0000 http://www.digitalistic.com/?p=341#comment-43461 So basically the click event is fired before the url from the href attribute is opened? or the tracker.php script has a redirect and this url is open ?

]]>
By: Andreas http://www.digitalistic.com/2009/09/16/click-tracking-with-jquery/comment-page-1/#comment-43429 Fri, 11 Mar 2011 09:49:03 +0000 http://www.digitalistic.com/?p=341#comment-43429 @Tobias The reason to do this on the site directly and not via Google Analytics was that the data was used in different sorting mechanisms in the backend. Sure, I could probably gotten the data from the Analytics API, but using jQuery was easier.

]]>
By: Tobias Sjösten http://www.digitalistic.com/2009/09/16/click-tracking-with-jquery/comment-page-1/#comment-43428 Thu, 10 Mar 2011 21:24:49 +0000 http://www.digitalistic.com/?p=341#comment-43428 Why not keep all statistics in Google Analytics though? Especially when you are already using it.

The key to tracking this kind of data is using GA events. I wrote a post about it a while ago: http://vvv.tobiassjosten.net/symfony/tracking-google-analytics-events-with-symfony

It’s centered around Symfony usage but you can just skip to the JavaScript parts and reuse that.

]]>
By: TIm http://www.digitalistic.com/2009/09/16/click-tracking-with-jquery/comment-page-1/#comment-43424 Sun, 06 Mar 2011 05:15:05 +0000 http://www.digitalistic.com/?p=341#comment-43424 This does *Not* work in chrome/Firefox. Which is soon to surpass IE by a long shot. If there is a way to make it cross browsers, that would be awesome.

]]>
By: Edna Nicholson http://www.digitalistic.com/2009/09/16/click-tracking-with-jquery/comment-page-1/#comment-43395 Fri, 24 Dec 2010 00:55:04 +0000 http://www.digitalistic.com/?p=341#comment-43395 Here is the problem. What if user is using Firefox and he clicks links with the scroll button or right clicks and opens the url in new tab? Can we handle this actions too?

]]>
By: Aaron http://www.digitalistic.com/2009/09/16/click-tracking-with-jquery/comment-page-1/#comment-43378 Fri, 24 Sep 2010 00:38:02 +0000 http://www.digitalistic.com/?p=341#comment-43378 Webpagelottery: I don’t think it’ll be messed up if you improve your statistics system:
1. capture ip address to detect unique visitors. you can allow ipaddress to enter database tracking with time margins.
2. stamp time
also if you’re really concerned. you can develop an expiry for URLs. one of the parameters you can pass is an encrypted time and specify on your tracker page to validate the time.

i think the above suggestions are still not bullet proof and may raise a lot of concerns but just ideas of how it can improve the system.

]]>
By: Josh Mather » Bookmarks for July 8th through July 26th http://www.digitalistic.com/2009/09/16/click-tracking-with-jquery/comment-page-1/#comment-43368 Tue, 27 Jul 2010 04:46:20 +0000 http://www.digitalistic.com/?p=341#comment-43368 […] Click Tracking with jQuery | Digitalistic – Mashup or die trying – […]

]]>
By: WebpageLottery http://www.digitalistic.com/2009/09/16/click-tracking-with-jquery/comment-page-1/#comment-43350 Tue, 15 Jun 2010 06:02:19 +0000 http://www.digitalistic.com/?p=341#comment-43350 This is the solution I had been looking online. But if someone would have to keep refreshing http://www.digitalistic.com/tracker.php, then your tracking is gonna messed up. Anyway, thanks.

]]>
By: Andreas http://www.digitalistic.com/2009/09/16/click-tracking-with-jquery/comment-page-1/#comment-43327 Wed, 31 Mar 2010 10:04:39 +0000 http://www.digitalistic.com/?p=341#comment-43327 @Hasan No matter how a user clicks on an element the click event should be fired. Some browsers do not handle right-clicks very well (or like early Opera not at all). Check the individual browsers docs for details on how to handle javascript events.

]]>
By: Hasan Gürsoy http://www.digitalistic.com/2009/09/16/click-tracking-with-jquery/comment-page-1/#comment-43326 Tue, 30 Mar 2010 15:24:08 +0000 http://www.digitalistic.com/?p=341#comment-43326 Here is the problem. What if user is using Firefox and he clicks links with the scroll button or right clicks and opens the url in new tab? Can we handle this actions too?

]]>
By: Hasan Gürsoy http://www.digitalistic.com/2009/09/16/click-tracking-with-jquery/comment-page-1/#comment-43325 Tue, 30 Mar 2010 14:40:10 +0000 http://www.digitalistic.com/?p=341#comment-43325 Probably tracking every link in my site will be like:

$.post(http://www.digitalistic.com/tracker.php, {page:this.href});

]]>
By: Hasan Gürsoy http://www.digitalistic.com/2009/09/16/click-tracking-with-jquery/comment-page-1/#comment-43324 Tue, 30 Mar 2010 14:38:25 +0000 http://www.digitalistic.com/?p=341#comment-43324 Great this will do the job 😀
Best!

]]>