Re: Special Facebook Pixel Code Being Minified
What template are you using? Reboot possibly?
|
Re: Special Facebook Pixel Code Being Minified
Yes Reboot - I know you offered to install but I have a programmer that I work with regularly who does all my work and this should be relatively simple... just cannot work out why it's messing up the js file in the script.
Many thanks Anthony |
Re: Special Facebook Pixel Code Being Minified
Because most likely the file has comments and the minimization done by reboot does not account for that so it makes the code that follow comments as well.
Or you are using the speed up tools for js and not including the custom js code with it |
Re: Special Facebook Pixel Code Being Minified
Just place the JS code in a separate .tpl file and call it in /customer/home.tpl before </body>
|
Re: Facebook Pixel Code for X-Cart 4
I've adapted Mike's code here but the pixel keeps not loading, anyone have any idea what I might be doing wrong?
Quote:
Cart works, Product view works, all other pages work - but the order message isn't working. Thanks in advance! |
Re: Facebook Pixel Code for X-Cart 4
I have the same set of questions for Facebook Pixel using x-cart 4.4.5 with Ability Template.
ONE. Which is the correct header template to add an include for the custom file facebook_tracker.tpl? TWO. Which is the correct template to add the Facebook code for tracking purchases. Thanks in advance... |
Re: Facebook Pixel Code for X-Cart 4
Quote:
Answered my own question, FYI. Put an include in this template /common_files/customer/service_head.tpl to call this new template /ability/custom/facebook_tracker.tpl |
All times are GMT -8. The time now is 02:28 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.