Integrate the referral program inside your webapp for logged in user

For SaaS or B2B companies, embedding the referral program within the app proves exceptionally advantageous, seamlessly integrating it into your users' workflow. This approach ensures that the referral process becomes an intrinsic part of their interaction with the platform, maximizing visibility and engagement while minimizing disruptions to their workflow. Referral Rocket automatically generates a unique link for your customer and also show the progress of their referrals.

Example of integrating referral program in-app:

Integrate a referral program in app using Referral Rocket

For generating unique links without requiring user sign-up, simply pass in additional parameters as shown below to the script:

//Add script to head tag
<script type="text/javascript" campaign-id="YOUR-CAMPAIGN-ID"  defer src="https://app.referralrocket.io/widget/widgetIndex.js"></script>

//Add to body
<div class="hype_widget" campaign-id="YOUR-CAMPAIGN-ID" email="UserEmail" first-name="FirstName" last-name="LastName" ></div>

In addition to the above method, you can build a full customizable solution using our SDK/APIs.

Last updated