| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
pasting pixel tracking code in template is changed by site | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Hi,
I am trying to paste some javascript pixel tracking code at the bottom of skin/ideal_responsive/customer/home.tpl on my Version 4.6.0 site like this, when I post this code... Code:
on the page source it looks like this... Code:
with most of the code missing. Anyone know why this is happening and how to make it show up correctly?
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
You need to enclose it in {literal} tag for smarty to ignore it otherwise it is trying to interpret it
{literal} code here {/literal}
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||
|
|||||||
|
Oh, that's right. I had been told that before and forgot about it. How would I go about adding defer loading? Or is there a better way to add this code so it gets cached with the other .js code on site?
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||