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.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_facebook_pixel_code-0.0.2-py2-none-any.whl (4.8 kB) Copy SHA256 hash SHA256 Wheel py2
django-facebook-pixel-code-0.0.2.tar.gz (3.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page