JavaScript detected

I've been using the same template for an emailer for the last few months with no problems but this time it has given me the following problem:

JavaScript detected     
Almost every popular email client and spam filter does not support JavaScript. Your campaign will either be filtered as spam, or will display a security warning to your recipients. We recommend removing all JavaScript code from your campaign and then re-import it.

can anyone help me out and find out what has changed/what i need to remove or change? Struggling to detect what is different. My emailer can be found at:

http://www.andrewhussey.co.uk/download/HT-Trade2010/

I'd appreciate any advice amd help ASAP. Thanks all bloggers. You are all life savers.

Cheers

Andy

email@andrewhussey.co.uk

Diana Diana, 7 years ago

Hi Andy,

At the bottom of the code there is this:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-11533819-1");
pageTracker._trackPageview();
} catch(err) {}</script>

That's what you need to remove to get rid of the error and the scripting.


~*~~*~~*~~*~
D. Potter
Campaign Monitor

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free
1-888-533-8098