Gabriel Gutierrez Posted April 11, 2020 Report Posted April 11, 2020 Hi, I want to set up Facebook pixel on my blesta installation but I'm having a problem. I have inserted the Pixel in the file /structure.pdt between the <header> like Facebook says but it's not calling the events like it should. I'm doing all this following the instructions on this link https://www.facebook.com/business/help/402791146561655?id=1205376682832142 If anyone lets me know how to set up Facebook Pixel it would be great. Thank you, Gabriel Quote
0 Paul Posted April 12, 2020 Report Posted April 12, 2020 Make sure you're editing /app/views/client/bootstrap/structure.pdt for the client area and front facing pages. If you've installed a custom template, then you may need to replace the part of the path including "bootstrap" with the name of your template. Also check that you are not entering the code in the middle of a conditional, which would only be displayed during certain conditions. Quote
0 domaingood Posted June 10, 2020 Report Posted June 10, 2020 If you want Facebook Pixel Conversion Tracking Then try this Facebook Pixel Code under Packages > Order Forms > Settings tab <!-- Facebook Pixel Code --><!-- End Facebook Pixel Code --> {% if order_page == "checkout/complete" %}fbq('track','Purchase',{value:{{invoice.total}}, currency: '{{currency}}'});{% endif %} If want to share more info with Facebook you can try this: <!-- Facebook Pixel Code --> <!-- End Facebook Pixel Code --> {% if order_page == "signup/index" %} fbq('track','RegisterAccount'); {% endif %} {% if order_page == "config/preconfig" %} fbq('track','ConfigurePackage'); {% endif %} {% if order_page == "checkout/complete" %} fbq('track','Purchase',{value:{{invoice.total}}, currency: '{{currency}}'}); {% endif %} Quote
Question
Gabriel Gutierrez
Hi,
I want to set up Facebook pixel on my blesta installation but I'm having a problem.
I have inserted the Pixel in the file /structure.pdt between the <header> like Facebook says but it's not calling the events like it should. I'm doing all this following the instructions on this link https://www.facebook.com/business/help/402791146561655?id=1205376682832142
If anyone lets me know how to set up Facebook Pixel it would be great.
Thank you,
Gabriel
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.