Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.
David Hahn edited this page Aug 11, 2017 · 7 revisions

Integrates Facebook Pixel with Craft Commerce

Overview

This is a plugin that provides default Facebook Pixel functionality for Craft Commerce (CraftCMS).

If you're wondering how to setup a Facebook Pixel follow this guide.

We want fbpixel to be as hands off for it's user's as it can be. That being said, there is a bit of setup needed to make sure it works best for everyone.

Quickstart and Tips

Make sure you have defined your fb pixel id (either in config or admin settings) and that you have placed {% hook 'fbPixel.renderBase' %} in your layout.twig.

We use this tool to debug our facebook pixel.

If everything is working correctly, you'll see a couple events pop up on every page. Here's a screenshot of what a working facebook pixel looks like:

fbpixel success

Events

Here is the list of events that are currently supported:

Clone this wiki locally