LaunchPass makes it easy to create a subscription-based community on Slack or Discord. 

Now you can reward your members when they refer users to your community by integrating Refersion to LaunchPass. 

The steps below include:

  1. Connect LaunchPass with Stripe
  2. Connect Refersion with Stripe
  3. Install Refersion’s Tracking and Conversion Scripts
  4. Publish and promote your affiliate program

Step 1: Connect LaunchPass with Stripe

Once you’ve created your invite page (and started your 14-day free trial), you’ll be able to connect your Stripe account with LaunchPass. Just head over to settings in the LaunchPass admin and click “Connect with Stripe”.

Step 2: Connect Refersion with Stripe

After signing up for Refersion, you’ll also need to connect it to your Stripe account. Choose Stripe from the Start Guide, or if you’ve already connected to Stripe, go to Account > Settings > Tracking and click on Add Tracking.

Step 3: Install Refersion’s Tracking Scripts

If your Launchpass community is on Slack, proceed with Option 1.
If your Launchpass community is on Discord, proceed with Option 2.

Option 1: For Slack Launchpass Communities

Head over to LaunchPass, and click “edit” on the Invite page where you’d like affiliates to earn commissions.

Step 1: Add Refersion’s tracking script

Within the “Analytics & Tracking” field paste the following code. You’ll need to replace
both SUBDOMAIN and PUB_KEY below with the Refersion Subdomain and Public Key
from the Tracking Page (be sure you are signed in to Refersion to have the relevant info populated!). You can find your SUBDOMAIN and PUB_KEY in Refersion’s snippet here: Refersion Tracking for Custom Sites

<!‐‐ REFERSION TRACKING: BEGIN ‐‐>
<script src="//SUBDOMAIN.refersion.com/tracker/v3/PUB_KEY.js"></script>
<script>_refersion();</script>
<!‐‐ REFERSION TRACKING: END ‐‐>

Note: If you are using the LaunchPass widget on your own domain you'll  need to embed the “Tracking Visits” code into the head of that site.

Step 2: Add Refersion’s conversion script

Within the “Conversion Tracking” field found, while editing the Invite page, paste the following code. 

_refersion(function(){ _rfsn._setSource("STRIPE");
_rfsn._addCart(data.stripeCustomerId); });

After all of the scripts are added in Launchpass, proceed to step 4.

Option 2: For Discord Launchpass Communities

Step 1: Publish your offer and add the embed code to your website

Integrating LaunchPass for Discord with Refersion requires using the LaunchPass widget on your own website instead of using invite pages hosted on the LaunchPass domain.

Once your offer is published click “embed” and copy the HTML embed code into your

own website.

Once the HTML code is added to your site, a button will be displayed on your site allowing your customers to subscribe to your Discord server.

Step 2: Add Refersion’s tracking script to your website

Install Refersions tracking scripts into the head of your website. If your website does not have one header file, you'll need to copy this code onto all of the pages of your site.

You’ll need to replace both SUBDOMAIN and PUB_KEY below with the Refersion Subdomain and Public Key from the Tracking Page (be sure you are signed in to Refersion to have the relevant info populated!). You can find your SUBDOMAIN and PUB_KEY in Refersion’s snippet here: Refersion Tracking for Custom Sites

<!‐‐ REFERSION TRACKING: BEGIN ‐‐>
<script src="//SUBDOMAIN.refersion.com/tracker/v3/PUB_KEY.js"></script>
<script>_refersion();</script>
<!‐‐ REFERSION TRACKING: END ‐‐>

Step 3: Redirect new members to your thank-you page after successful payment

You'll need to redirect users to a thank you page on your site after they've completed their payment through stripe.

Within the “Conversion Tracking” field found, while editing the Invite page, paste the following code. Replace https://YOUR-DOMAIN/THANK-YOU-PAGE/

document.location.href = 'https://YOUR-DOMAIN/THANK-YOU-PAGE/' + '?inviteCode=' + data.discordInviteLink + '&stripeCustomerId=' + data.stripeCustomerId; return;

Step 4: Add Refersion’s conversion tracking script to your thank-you page

In order to track conversions in your Refersion account. You'll need to add the following code to your thank you page:

<script>
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const stripeCustomerId = urlParams.get('stripeCustomerId')

_refersion(function(){ _rfsn._setSource("STRIPE");
_rfsn._addCart(stripeCustomerId); });
</script>

Note: Make sure the tracking script from step 2 is present on your thank you page as well.

Step 4: Email Refersion your LaunchPass invite page link

Email the URL of your invite page (i.e http://launchpass.com/group/channel) and your domain that you are using to “[email protected]” with subject “LaunchPass Domain Configuration” to complete domain set up with Refersion.

Step 5: Publish your page and start working with affiliates!

Once you’ve completed these steps Refersion, LaunchPass and Stripe are all integrated, and you are ready to start promoting your affiliate program!

You can manually add affiliates, share an affiliate signup page with your members, or even get added to Refersion’s own marketplace where potential affiliates can discover and promote your community.

Each affiliate will get a unique link to your invite page, and when a new member signs up they will be rewarded in whatever way you decide!

Did this answer your question?