Hi !
I would like to include the facebook pixel in the header of my website, how should i do that ? The code of the Facebook pixel is in JS but the code of the website is in HTML.
Thank you
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi !
I would like to include the facebook pixel in the header of my website, how should i do that ? The code of the Facebook pixel is in JS but the code of the website is in HTML.
Thank you
Hi, Pierre.
To add the Facebook Pixel script to website pages, you should inherit the template "web.layout" in the following way:
Do not forget to replace the example code '0123456789' with your Facebook Pixel ID.
Also, you can use our Odoo modules that allow you to add the Facebook Pixel script and activate eCommerce Pixel Events on the related pages: Contact Us, Sign In, Category and Product webpages, Cart, Checkout Step pages, Confirmation, or custom webpages.
To integrate the base Facebook Pixel script (with the event "PageView") to your Odoo website, you can use this free module:
https://apps.odoo.com/apps/modules/16.0/website_facebook_pixel/
Tracking of the eCommerce Facebook Pixel events, such as "ViewContent", "Search", "AddToCart", "InitiateCheckout", "AddPaymentInfo", and "Purchase" on your Odoo website, is available with this app:
https://www.odoo.com/apps/modules/16.0/website_sale_facebook_pixel/
For full Facebook Pixel integration features, consider the using of the Odoo modules "Instagram and Facebook Catalog Product Data Feed" and "Facebook Instagram Catalog Professional", that allows providing your product data in convenient and easy way on the professional level.
If you have questions, please, do not hesitate to contact us by leaving the question on https://garazd.biz/contactus or writing to us by e-mail:
Hello,
I have the same problem. The solution I found is to use google tag manager using this solution https://www.odoo.com/fr_FR/forum/aide-1/question/how-to-implement-google-tag-manager-90989
After, it's possible to add the pixel code using the tag manager.
I don't have an easier solution for te moment.
Best regards,
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jun 23
|
2700 | ||
|
1
Sep 20
|
5569 | ||
|
0
Mar 23
|
1752 | ||
|
2
Jan 25
|
1258 | ||
|
2
Jul 25
|
2916 |