WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics for WordPress
Tracking outbound links with target="_blank" creates invalid markup (1 post)

  1. Rickard Andersson
    Member
    Posted 10 months ago #

    When using the outbound link feature with links having target="_blank" the markup becomes:

    <a href="http://tyloprint.se" onclick='javascript:_gaq.push(['_trackEvent','outbound-article','http://tyloprint.se']);" 1="target="_blank'">tyloprint.se</a>

    The opening quote should be a double quote, and I don't know where 1= is coming from in the end there.

    The link in the WordPress page is valid and looks like this:

    <a href="http://tyloprint.se" target="_blank">tyloprint.se</a>

    http://wordpress.org/plugins/google-analytics-for-wordpress/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 10 months ago by Rickard Andersson
  • This topic is not resolved
  • WordPress version: 3.6

Tags

No tags yet.