using scripts

Hello,

I want to add google script to one of my CS-Cart pages.

I tried to copy the google code to the top of the page (checkout_login.tpl) but the system give me an error.

why is that and how can I add this script?



this is the script (after I changed the number a little bit):

















thanks!

First there is a Google Analytics Addon which will automatically apply this code for you under Administration > Addons



Second, in order to add Javascript directly to a template you have to surrond it with the {literal} tag {/literal}

thank WebGuy