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

Was this helpful?

  1. Integrate

Javascript Web API

PreviousWIXNextGetting Started

Last updated 8 months ago

Was this helpful?

The ReferralHero JavaScript Web API is a powerful JavaScript library that allows you to integrate referral campaigns directly into your application with a high level of customization. While embeddable widgets can also be customized to fit your brand, they come with certain limitations in terms of design and functionality, as they are pre-built components that you can easily add from your ReferralHero account. Alternatively, with the JavaScript Web API, you have the flexibility to fully customize the code, giving you complete control over the design and functionality of your referral program.

The JavaScript Web API enables you to:

  • Add New Subscribers: Seamlessly integrate subscriber registration into your application.

  • Trigger Referrals: Automate the referral process based on specific user actions.

  • Access Participant Data: Retrieve limited participant data to enhance user experiences.

  • Generate Embeddable Widgets: Create and customize widgets dynamically using JavaScript.

  • Customize User Interfaces: Tailor the design and functionality of signup forms, dashboards, and other components to match your brand’s specific needs and aesthetic.

By leveraging the JavaScript Web API, you can create a highly customized referral program that integrates seamlessly with your application, providing a unique and optimized experience for your users.

Follow this step-by-step guide to implement the JavaScript Web API and begin integrating your personalized referral campaign today.

Ready to get started?