<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
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("UA-12059730-4");
pageTracker._trackPageview();
} catch(err) {}</script>
I added the above code to the VERY END in the footer template, and I get the following error by vbulletin when I save the file:
If I ignore the error and continue, the web site doesn't look pretty at all. Please advice.
Thanks!
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
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("UA-12059730-4");
pageTracker._trackPageview();
} catch(err) {}</script>
I added the above code to the VERY END in the footer template, and I get the following error by vbulletin when I save the file:
The following error occurred when attempting to evaluate this template:
Parse error: syntax error, unexpected '[' in /home6/intraspa/public_html/includes/adminfunctions_template.php(4597) : eval()'d code on line 131
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Parse error: syntax error, unexpected '[' in /home6/intraspa/public_html/includes/adminfunctions_template.php(4597) : eval()'d code on line 131
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
Thanks!
Comment