Skip to content

silpol/django-facebook-pixel-code

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-facebook-pixel-code

Template tag to install your Facebook Pixel Code account in your templates (https://www.facebook.com/business/help/www/651294705016616/)

Installation and Usage

  1. run pip install django-facebook-pixel-code
  2. add 'facebook_pixel_code' to your INSTALLED_APPS setting.
  3. set FACEBOOK_PIXEL_CODE_ID to your Facebook Pixel Code Id.
  4. In your templates (probably in your base template) you {% load fpc_tags %} and then {% fpc %} between the <head> and </head> tags.
  5. Profit

About

Facebook Pixel Code template for Django

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 59.8%
  • Python 40.2%