Title: [Plugin: Google Analytics for WordPress] Javascript error in outbound tracking code
Last modified: August 19, 2016

---

# [Plugin: Google Analytics for WordPress] Javascript error in outbound tracking code

 *  Resolved [travoc](https://wordpress.org/support/users/travoc/)
 * (@travoc)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-javascript-error-in-outbound-tracking-code/)
 * 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=`

Viewing 1 replies (of 1 total)

 *  Thread Starter [travoc](https://wordpress.org/support/users/travoc/)
 * (@travoc)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-javascript-error-in-outbound-tracking-code/#post-1055198)
 * Nevermind, I realized that my commenter screwed up the HTML.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Google Analytics for WordPress] Javascript error in outbound
tracking code’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [travoc](https://wordpress.org/support/users/travoc/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-javascript-error-in-outbound-tracking-code/#post-1055198)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
