4 ms·
This is OT, but you really should track clicks on links (if you need to do it in the first place) in a different way than this: <a href="javascript:mixpane
by eCa 14y ago
This is OT, but you really should track clicks on links (if you need to do it in the first place) in a different way than this:
<a href="javascript:mixpanel_track_link('http://liftweb.com/','link:liftweb.com');">my first encounter with Lift</a>
- jabiko 14y agoCame here to say the same. At least they should detect a scroll wheel click and open the link in a new tab. Or they could use the google approach and change the link in the last moment to point to a tracking service.
- cientifico 14y agoOne more with the same problem. Right click open in a new window, and then 3 tabs with about:blank. That is also because using lift?
- fhars 14y agoNo, that s probably because <!-- This site is optimized with the Yoast WordPress SEO plugin v1.4.1 - http://yoast.com/wordpress/seo/ -->
- xaritas 14y agoNo, Lift does NOT do this. The site appears to be running on WordPress (guessing based on the 'wp-content' in the paths for assets). I confess to having a bit of a crush on Lift so I was happy to see something about it on the front page, but this article is a little vague, so most people will probably remember the intrusive click tracking over anything else.
- wingchen 14y agoNope. This is a wordpress blog.
- MBCook 14y agoInteresting. Safari won't even give me the option to open it in a new tab, since it's obviously not a web link. Just obnoxious.
- grey-area 14y agoIt's easy to do this with a jquery post - just bind to the click event, and post the tracking data to whatever URL you want as a separate async action, without getting in the way of the user. You should never put js in the href like this, or insert extra referral links prior to going to the real link as google have been doing recently; it breaks the web.