Subscribe: Comments on: How to fuck up click tracking with the JavaScript onclick trigger
Added By: Feedage Forager Feedage Grade A rated
Language: English
blogcatalog  blogger blogspot  click  code  javascript  links  onclick event  onclick  page  sebastian  seo  stephen  trackclick  uses onclick 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Comments on: How to fuck up click tracking with the JavaScript onclick trigger

Comments on: How to fuck up click tracking with the JavaScript onclick trigger

If you've read my articles somewhere on the Internet, expect something different here.

Published: Sun, 19 Nov 2017 18:02:39 +0000


By: Andy

Mon, 05 Apr 2010 06:37:38 +0000

A little wheels within wheels conundrum I came across this post covering race conditions today Deliberately returning false to delay the page refresh to give GA time to respond.

By: Are Blogger | Blogspot Blogs SEO Friendly?

Sun, 31 May 2009 15:47:24 +0000

[...] uses onclick, but returns false, but the URL is not constructed… ask Sebastian if you want a definitive answer. // Tags: 301 redirect, blogger, blogspot, custom domain, labels, robots.txt, seo « [...]

By: How to Act Like an SEO Expert: Four mistakes to avoid when performing SEO experiments

Fri, 07 Mar 2008 20:57:43 +0000

[...] For instance, years ago search engine crawlers did not follow links embedded in JavaScript, but recent experiments have proven that at least Google does follow the less intricate [...]

By: BlogCatalog needs professional help

Thu, 13 Dec 2007 07:06:19 +0000

[...] while ago I helped BlogCatalog to fix an issue with their JavaScript click tracking that Google considered somewhat crappy. The friendly BlogCatalog guys said thanks, and since then [...]

By: Stephen

Wed, 14 Nov 2007 08:53:47 +0000

As the code in my previous comment didn't display well, try this instead:

By: Stephen

Wed, 14 Nov 2007 08:46:14 +0000

Ok, here is an example that works for me: This is in the header of the page with the links: This is an example of one of the links: [Thanks for helping Stephen! My comment script eats posted code. Sebastian]

By: Terry

Wed, 14 Nov 2007 06:03:11 +0000

hi guys, im still awaiting reply for someone. does anyone has a trackclick() example? thanks

By: Terry

Tue, 06 Nov 2007 22:36:43 +0000

does anyone has example of trackclick() javascript function which calls JSP page to logging click on the server side. I am little confused, how the JSP will log the access log entry, since it only does if using redirect back to the user??? Thanks

By: Stephen

Fri, 28 Sep 2007 08:03:40 +0000

Hi Sebastian, I finally made the script work having gone back to the code with a fine toothcomb. It turned out that Wordpress didn't like the directory reference to the php file called with Javascript - boy do I feel dumb. Anyway, all is working now! Thanks, and keep up the great work you do here. :)

By: Sebastian

Thu, 27 Sep 2007 15:29:31 +0000

Thanks Stephen. Probably your WordPress theme uses the onclick event. When a JS routine loops all A elements adding an onclick trigger without checking for the existence of onclick event code that would explain your problem. Also, some analytitics software and widgets providing blog stats add onclick code. Download all external JS files and scan them.