Learn how to add google analytics to hostbill

Hostbill uses Smarty template engine which attempts to translate and interpret some keywords in Google Analytics tracking code that conflict with Smarty template delimiter syntax. As a workaround, Smarty does provide tags, {literal} and {/literal}, which allows a block of data to be taken literally…
just open file footer.tpl in ( yourhostbill/templates/yourtemplatename/footer.tpl ) before </body> tag add :
{literal}
Google Analytics Tracking Code Append Here
{/literal}
and it’s done