Facebook Pixel Integration for Silverstripe

Installs: 14

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0


1.0.0 2021-06-15 08:42 UTC

This package is auto-updated.

Last update: 2021-10-15 09:31:57 UTC


This adds easy controls for adding the embed code for the Facebook Pixel.


Install with Composer

composer require biffbangpow/silverstripe-facebook-pixel

Add the Facebook Pixel template to your main template just before the closing <head> tag

<% include FacebookPixel %>


In SiteConfig there will be a "FacebookPixelID" field where the numeric ID for your Facebook Pixel can be entered, this is a 15-digit number.

If a Facebook Pixel ID has been entered in Site Config then the Facebook Pixel embed code will be outputted on every page.

Each page also has the option to select an event from the list here "".

If an event has been selected then the code to track the event will also be outputted on the page.


Implement remaining events