I want to use this mod to include my google analytics code, because I have some customizations that are not supported with the google analytics mod.
However, when I insert the code, it appears not to work, and the single quotes in the JS are replaced with the escape code for the single quote (I presume this is why it does not work.)
Suggestions?
<!-- Google Analytics Begin -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push([\'_setAccount\', \'UA-123456-7\']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<!-- Google Analytics End -->