Plugin adds a duplicate onclick attribute to links when “Track outbound clicks & downloads” is enabled. This specifically causes WordPress to generate invalid mark up with the AddThis plugin.
I suggest that the $coolBit is added to the existing onclick attribute (without onclick=””) else a new onclick attribute is added with the $coolBit.
I have created a patch (with Git), you can download it from my blog.
- The topic ‘[Plugin: Google Analytics for WordPress] Adds a duplicate onclick attribute to links’ is closed to new replies.