How to add Facebook tracking pixel

This article refers to the old way to add FB tracking pixel.
We have simplified the procedure.
You can see the new guide here:

Adding Facebook tracking pixel to Maître is very simple. You just need to add the FB tracking code in your page and use the  afterSuccess callback to send the event.

1. Put this code in the <head> of your page

<!-- Facebook Pixel Code -->
fbq('init', 'XXXXXXXXXXX'); // Insert your pixel ID here.
fbq('track', 'PageView');
<noscript><img height="1" width="1" style="display:none" src=""/></noscript>
<!-- DO NOT MODIFY -->
<!-- End Facebook Pixel Code -->

Don't forget to change "XXXXXXXXXXX" with your tracking ID.

2. Use the " afterSuccess" callback in your Maître widget.

<script type="text/javascript">
  window.Maitre = {
    uuid: "MFXXXXX",
    callbacks: {
      afterSuccess: function(data, form) {
        if (data.response == "subscriber_created") {
          fbq('track', '<EVENT_NAME>');

Remember to change MFXXXXX with your Maître UUID and <EVENT_NAME> with an event name of your choice (eg: "Signup").

Still need help? Contact Us Contact Us