WordPress.org

Forums

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

  1. Rickard Andersson
    Member
    Posted 1 year 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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics by Yoast
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

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

Tags

No tags yet.