Skip to main content

Easily include your Facebook Pixel Code tag in your django site

Project description

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

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-facebook-pixel-code, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size django_facebook_pixel_code-0.0.2-py2-none-any.whl (4.8 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size django-facebook-pixel-code-0.0.2.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page