View Single Post
  #2  
Old 10-23-2014, 04:59 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default Re: Insert Tracking Code In All Pages

Hi!

1) You can put your JS code into the Custom JS field of theme tweaker module (System settings > Look & feel > Custom JS in admin area).


2) if you were provided with code like <script src="http://path.to/some/script.js">, it would not work out, because this is HTML code actually and you need to apply the approach descirbed here:
http://kb.x-cart.com/display/XDD/Step+4+-+working+with+settings

3) You can also include JS code like this:
http://kb.x-cart.com/display/XDD/Adding+CSS+and+JS+files
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote