| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Setting up Facebook conversion Tracking in Checkout?? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I dont seem to have much luck getting Facepook conversion tracking working.
I have used the Chrome Facebook Power editor to create the pixel code. I have placed it in customer/main/order_message.tpl Done some test orders, viewed source to insure code is on page (which it is) Bit the pixel still shows as unverified in Facebook. Facebook instructions says it has to go in between the <head> tags. Which placing in the above file does not do. Perhaps that is my problem. So how do you get the pixel code into the header tags on the order confirmation page? Thanks
__________________
Version 4.7.7 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Try using this if statement in your home.tpl:
Code:
__________________
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. |
|||||||||
|
#3
|
|||||||
|
|||||||
![]() Hi Mike,
Awesome thank you! That seems to have put the code in the right place. Appreciate you taking the time to help! Cheers Zane
__________________
Version 4.7.7 |
|||||||
#4
|
|||||||
|
|||||||
![]() This is helpful, I see the Facebook code in the source but the {} is erased. The code should say var fb_param = {}; and instead shows this var fb_param = ;
Can you please let me know how to enable the {} Thank you, Ari
__________________
alexenberg shevajewelry.com x-cart gold 4.4.3 CDSEO pro |
|||||||
#5
|
|||||||||
|
|||||||||
![]() You have to escape any code that smarty should not touch
{literal} your js code here {/literal} {literal} tag tells smarty to leave the code in it as is and not try to interpret it
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#6
|
|||||||
|
|||||||
![]() Awesome, thank you!
__________________
alexenberg shevajewelry.com x-cart gold 4.4.3 CDSEO pro |
|||||||
#7
|
|||||||
|
|||||||
![]() I have used this thread in the past, and it works, but what about setting up converaion tracking in x-cart 5?
__________________
X-Cart 5 Business |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|