Facebook Pixel

You can integrate your Facebook Pixel with ReferralHero to understand your user behaviour and traffic. A Facebook pixel collects data about people who visit or sign up to your campaign, so that you can more effectively plan your ad campaigns to find new customers.

Add a Facebook pixel ID to your campaign

  1. Grab your Facebook Pixel ID from your Facebook Ads Manager‚Äč

  2. Go to your campaign dashboard > Edit campaign > Integrations > Facebook Pixel

  3. Toggle Enable Facebook Pixel and enter the Pixel ID

  4. Save the changes

After you add the pixel to your campaign, then you can make sure that it's working by using Facebook Ads Manager. Learn about how to tell if your Facebook pixel is working from the Facebook Help Center.

NOTE: If you've recently added a Facebook pixel to your online store, then you need to wait for customer activity before you'll see any data in Facebook Ads Manager.

Facebook Pixel Events

ReferralHero sends 3 standard events to Facebook:

  • PageView When a user visits your campaign.

  • Lead When a person signs up to your campaign.

  • CompleteRegistration When a person verifies their email address.

Note that if the Email confirmation is enabled that number of "Lead" events might be higher than the number of "CompleteRegistration" events due to some people not confirming their email address.

Trigger Facebook Pixel Manually

To trigger the Facebook Tracking Pixel manually, 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');
}
}
}
}
</script>