Facebook Pixel

**You must have a Google Tag Manager account and have it configured on Midori before proceeding**

Head over to Google Tag Manager.
Click on Templates in the left menu.
In the Tag Templates box, click on Search Gallery.


Scroll down and you will come across a template called Facebook Pixel.


Select it and click on Add to workspace.

Click on Yes when prompted for permissions.

Tags
Head to Tags in the left menu and click on New for both the tags below.


PageView
Name the tag Facebook – PageView then click on the icon to set it up.
Choose Facebook Pixel in the list of available types.
Fill the Tag Configuration form like below:


Then, click on the icon in the Triggering box to add a trigger, and select All Pages.
Click on Save.

E-commerce events
Name the tag Facebook – E-commerce then click on the icon to set it up.
Choose Facebook Pixel in the list of available types.
Fill the Tag Configuration form like below:



Then, add the following triggers in the box below:

  • AddToCart
  • Checkout
  • Purchase
  • RemoveFromCart


Click on Save.

You are now done with your configuration for Facebook Pixel!