Page 1 of 1

[SOLVED]Error with Google Analytics

Posted: Thu Apr 15, 2010 9:44 pm
by Jude
Hi everybody,

I have a problem that bothers me: when I add the Google Analytics code in template code (just before ) I will get next error in to my page:

string(115) "Smarty error: [in tpl_body:22 line 174]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 590)" string(111) "Smarty error: [in tpl_body:22 line 175]: syntax error: unrecognized tag: (Smarty_Compiler.class.php, line 446)" string(112) "Smarty error: [in tpl_body:22 line 175]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"

Can someone tell me what it is all about and how I can work it around. I have installed the CMSMS 1.7

Thanks in advance

Re: Error with Google Analytics

Posted: Thu Apr 15, 2010 10:09 pm
by Dr.CSS
Anything with {    }  in it needs to be wrapped in {literal}  code here {/literal}...

Posted about a hundred times already in forum, is in the top of most all default content templates...