![]() |
pasting pixel tracking code in template is changed by site
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:
<script type="text/javascript"> on the page source it looks like this... Code:
<script type="text/javascript"> with most of the code missing. Anyone know why this is happening and how to make it show up correctly? |
Re: pasting pixel tracking code in template is changed by site
You need to enclose it in {literal} tag for smarty to ignore it otherwise it is trying to interpret it
{literal} code here {/literal} |
Re: pasting pixel tracking code in template is changed by site
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?
|
All times are GMT -8. The time now is 11:26 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.