Hello! I have problem with inserting the Google Analytics code in 2 pages, when I ad this code in footer of page I have error. Any idea? Sites: http://www.kerkoshtepi.com http://www.lojrapervajza.com Thank You in advance
This is error: Fatal error: Smarty error: [in main.tpl line 15]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 583) in /xxxxx/xx/xxxxxx/xxxxxx/kerkoshtepi.com/system/ext/Smarty/Smarty.class.php on line 1095 I have copy and paste the analytics code: <head> <title> Kerko shtepi ne shitje{if $TITLE ne ""}: {$TITLE} {/if} </title> <link rel="StyleSheet" type="text/css" href="{image src="design.css"}" /> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-244748-20']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head>