| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Facebook Pixel Code for X-Cart 4 | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
Re: Special Facebook Pixel Code Being Minified
What template are you using? Reboot possibly?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#12
|
|||||||
|
|||||||
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
__________________
X-Cart Version: 4.7.6 PHP 5.3.29 MySQL server 5.6.29 MySQL client 5.6.29 |
|||||||
#13
|
|||||||||
|
|||||||||
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
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#14
|
|||||||
|
|||||||
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>
__________________
xcartmods.co.uk |
|||||||
|
#15
|
|||||||
|
|||||||
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!
__________________
4.4.5 - with Customized Smart Template |
|||||||
#16
|
|||||||
|
|||||||
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...
__________________
J McCune Porter | twinoakshammocks.com X-Cart Gold version 4.7.11, unix server X-Cart reBOOT Template by X-Cart Mods |
|||||||
#17
|
|||||||
|
|||||||
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
__________________
J McCune Porter | twinoakshammocks.com X-Cart Gold version 4.7.11, unix server X-Cart reBOOT Template by X-Cart Mods |
|||||||
|
|||
X-Cart forums © 2001-2020
|