ReferralHero
  • Welcome to the Support Center
  • Common Questions
  • Features
    • Subscribers
      • Subscriber Profile
      • Unique Identifier
      • Active Visitors
      • 'Quick Add' Referral
      • Update Referral Status
    • Campaign Templates
      • Contest
      • Website Referral Analysis
      • Net Promoter Score
    • Unique Identifier
      • Phone Number
      • Confirmation Email
        • Thank-You Page
    • Automations
      • A/B Test
    • Security
      • Manual Review & Confirmation
      • Secondary Verification Method
      • High Risk
      • Blacklist
      • ReCaptcha
    • Reward
      • Reward Status
      • Advanced Reward Options
      • Transactions
    • Analytics
      • Active Visitors
      • Subscribers
      • Sources
      • Shares
      • Devices
      • Unsubscribers
    • Misc
      • Memorable referral links
      • 1-Click Signup
      • Forward & Refer
      • Coupon Codes
      • Custom Attribution
  • Integrate
    • Embeddable Widgets
      • Custom Domain
    • Integrations
      • Active Campaign
      • Aweber
      • Blockchain
      • Facebook Pixel
      • Calendly
      • Discord
      • HubSpot
      • Intercom
      • KakaoTalk
      • Klaviyo
      • Mailchimp
      • Salesforce
      • SendLane
      • Slack
      • Stripe
      • Tango Card
      • Telegram
      • Tremendous
      • Twilio
      • Typeform
      • Webhooks
      • Zapier
      • Zoho
    • Platform-specific Instructions
      • Google Tag Manager
      • WordPress
      • Webflow
      • SquareSpace
      • ClickFunnels
      • Unbounce
      • Instapage
      • Shopify
      • Carrd
      • WIX
    • Javascript Web API
      • Getting Started
      • Configuration file
      • Callbacks
      • Add a subscriber
      • Add a Pending Referral
      • Track multi-step conversion events
      • Track Transaction
      • Identify a Subscriber
      • Identify a Referrer
      • Generate Dashboard Widget
      • Generate Sharing-Screen
    • ReactJS
    • REST API
      • Errors
      • Webhooks
      • Objects
      • Endpoint Reference
    • Mobile SDKs
      • iOS SDK
        • Getting Started
        • Public Methods
        • Public Classes
        • API Interaction Methods
      • Android SDK
        • Getting Started
        • Public Methods
        • Public Classes
        • Listeners & Interfaces
      • Flutter SDK
        • Getting Started
        • Public Methods
      • React Native
        • Getting Started
        • Public Methods
        • Mobile App Testing in Development Mode
      • Mobile App Testing in Development Mode
  • API Tutorials
Powered by GitBook
On this page
  • Add a Facebook pixel ID to your campaign
  • Facebook Pixel Events
  • Trigger Facebook Pixel Manually

Was this helpful?

  1. Integrate
  2. Integrations

Facebook Pixel

PreviousBlockchainNextCalendly

Last updated 10 months ago

Was this helpful?

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

  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

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>

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

how to tell if your Facebook pixel is working
Facebook Ads Manager