How do I track sign ups with Facebook tracking pixel?

This section assumes you are already familiar with Facebook Tracking Pixel. If you are not, read this first.

Adding FB event tracking in ReferralHero is very simple. Just use the afterSuccess callback in the Configuration file and choose which events you want to send.

<script type="text/javascript">
  window.RHConfig = {
      callbacks: {
        afterSuccess: function(output) {
          if (output.response == "subscriber_created") {
            fbq('track', 'signup');

Still need help? Contact Us Contact Us