Have any of you successfully installed Analytics on your SMF forum?
Even if not, you may be able to help me... It's code like this that needs pasted just before the close body tag:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write("\<script src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'>\<\/script>" );
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-123456-78");
pageTracker._initData();
pageTracker._trackPageview();
</script>
I know it gets pasted into index.template.php but I read in so many threads on the smf forum that members have problems with it shifting the page, not working, etc.
...and I read too that I should replace single quotes with backslashes.
I'm cornfuzed. Can anyone here make it simple for me?
Thanks!