• Hi,

    When adding the following in a post I get some additional Javascript text which is not there when I am logged in but is visible when I am logged out (ie viewing the page as a non-admin):

    <textarea name="textarea" cols="70" rows="3" wrap="virtual" id="textarea" style="font-size:8pt; font-family:Verdana, Arial, Helvetica, sans-serif" onFocus="this.select()"><a href="http://www.voicesforthelibrary.org.uk/wordpress/"><img title="Support your local library!" src="http://thoughtsofawannabelibrarian.files.wordpress.com/2011/07/5860885619_59f14741eb_b.jpg" alt="Support your local library!" width="250" height="75" /></a></textarea>

    [Please post code snippets between backticks or use the code button.]

    The additional code that appears within the textarea is:

    onclick="javascript:_gaq.push(['_trackEvent','outbound-article','http://www.voicesforthelibrary.org.uk']);">

    Any idea why this appears when the Google Analytics plugin is switched on but not when it is switched off? And, if so, how do I stop it from appearing when the plugin is on?

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

  • The topic ‘[Plugin: Google Analytics for WordPress] Javascript code appearing in text box’ is closed to new replies.