Template tag to install your Facebook Pixel Code account in your templates (https://www.facebook.com/business/help/www/651294705016616/)
- run
pip install django-facebook-pixel-code - add
'facebook_pixel_code'to yourINSTALLED_APPSsetting. - set
FACEBOOK_PIXEL_CODE_IDto your Facebook Pixel Code Id. - In your templates (probably in your base template) you
{% load fpc_tags %}and then{% fpc %}between the<head>and</head>tags. - Profit