Quiero colocar el google analytics en mi web y lo pongo en en el footer.tpl
pero me da el siguiente error
Fatal error: Smarty error: [in footer.tpl line 79]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 580) in /home/xxxx/public_html/xxxx/admin/libs/Smarty.class.php on line 1088
y el var ese esta dentro de lo de analytics
muchas gracias
{if $smarty.get.print}
<center>{$smarty.now|date_format:"%d.%m.%Y %H:%M:%S"}<br /><strong>{$SET_SITENAME}</strong><br />://{$SET_URL}</center>
{else}
<div class="containertable">
<!-- Start Footer -->
<form action="search.php" method="post">
<table cellspacing="0" class="box">
<tr>
<th colspan="4">{$smarty.const.LA_SEARCH}</th>
</tr>
<tr>
<td><input name="searchword" size="25"/> </td>
<td>
<select name="catid_search">
<option value="0">{$smarty.const.LA_ALL}</option>{$dropdown_catlist}</select>
</td>
<td><input value="{$smarty.const.LA_SEARCH}" name="do_search" type="submit" class="button"/></td>
<td width="100%"> </td>
</tr>
</table>
</form>
<table>
<tr>
<td align="center">
<!-- Stat bar -->
{if $la_s_bar} {$la_s_bar}{/if}
</td>
</tr>
</table>
<table id="footer">
<tr>
<td align="center">
<a href="javascript:openWin3('info.php?what=terms',30 0,500,'LA_TERMS_ALT')">{$smarty.const.LA_TERMS}</a>
- <a href="javascript:openWin3('info.php?what=aboutus', 300,500,'LA_ABOUT_ALT')">{$smarty.const.LA_ABOUT}</a>
- <a href="javascript:openWin3('info.php?what=advertise ',300,500,'LA_ADVERTISE_ALT')">{$smarty.const.LA_A DVERTISE}</a>
- <a href="javascript:openWin3('info.php?what=help',300 ,500,'LA_HELP_ALT')">{$smarty.const.LA_HELP}</a>
{if $BEST_RATED}
- <a href="rss.php?type=best_rated" class='rss'>{$LA_RSS_FEED}</a>
{elseif $MOST_VIEWED}
- <a href="rss.php?type=most_viewed" class='rss'>{$LA_RSS_FEED}</a>
{elseif $CATID}
- <a href="rss.php?cat={$CATID}" class='rss'>{$smarty.const.LA_RSS_FEED_CAT}</a>
{else}
- <a href="rss.php" class='rss'>{$LA_RSS_FEED}</a>
{/if}
<br /><br />
{if !$HAS_LIC}
</td>
</tr>
</table>
</div></div> <!-- End of main container -->
{/if}
<script type="text/javascript">
var gaJsHost = (("xxx:" == document.location.protocol) ? "xxx://ssl." : "xxx://.");
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("xxxxxxxxxx");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>
<!-- End Footer -->
Fatal error: Smarty error: [in footer.tpl line 79]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 580) in /home/xxxx/public_html/xxxx/admin/libs/Smarty.class.php on line 1088