Smarty / php compile error of Piwik code

Hi,
(I just installed Piwik 1.5 ). I put the piwik code in a php/smarty site (sitename anonymized in the error below) of mine - and I’m getting the following error.
What could I be doing wrong? Pl. help!!

Fatal error: Smarty error: [in footer.tpl line 60]: syntax error: unrecognized tag ‘var’ (Smarty_Compiler.class.php, line 584) in /include/smarty/Smarty.class.php on line 1095

Much appreciated,
Thanks!

You have to use the {literal}…{/literal} tags around the Piwik tracking code when using Smarty.

Thanks very much Anthon. That took care of it!