콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
12619 화면

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:

support@garazd.biz.
                
아바타
취소
베스트 답변

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,

아바타
취소
관련 게시물 답글 화면 활동
1
6월 23
2978
1
9월 20
5882
0
3월 23
2017
Pixel Integration 해결 완료
2
9월 25
6413
2
7월 25
3352