View Single Post
  #1  
Old 01-24-2012, 05:13 AM
 
keystone keystone is offline
 

X-Adept
  
Join Date: Jul 2006
Location: USA
Posts: 787
 

Default add some conversion code only to thank you page

I was wondering how I would write an IF statement that said
Code:
{if page = thank you page} include some javascript code; {/if}

I have some conversion tracking code that is supposed to only be on the thank you page after a purchase is made. I can't just put it at the bottom of the home.tpl file because it can't be on every page. Thanks.
__________________
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
Reply With Quote