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, 6 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

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free
1-888-533-8098