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

  1. Rickard Andersson
    Posted 3 years 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>


Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic

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


No tags yet.