Forums

[resolved] [Plugin: Google Analytics for WordPress] Javascript error in outbound tracking code (2 posts)

  1. travoc
    Member
    Posted 3 years ago #

    When the outbound URL has certain characters in it, the JavaScript will fail. Internet Explorer throws an error with "unterminated string constant". Firefox does not give an error. I suspect that it's the "@" symbol in this example:

    Example:

    <a href="<a href="http://www.flickr.com/photos/20862202@N05/34522186582/" onclick="javascript:pageTracker._trackPageview('/outbound/comment/<a href="http://www.flickr.com/photos/20862202@N05/3452083282/');" title=

  2. travoc
    Member
    Posted 3 years ago #

    Nevermind, I realized that my commenter screwed up the HTML.

Topic Closed

This topic has been closed to new replies.

About this Topic