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.
Grab your Facebook Pixel ID from your Facebook Ads Manager
Go to your campaign dashboard > Edit campaign > Integrations > Facebook Pixel
Toggle Enable Facebook Pixel and enter the Pixel ID
Save the changes
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.
To trigger the Facebook Tracking Pixel manually, just use the afterSuccess callback in the Configuration file and choose which events you want to send.