What is Recurly?

Recurly is an enterprise-level platform for recurring billing management designed specifically for subscription-based SaaS, Web 2.0, Mobile, content and publishing businesses with global reach.

Integrating ReferralMagic and Recurly

Follow these steps to integrate your ReferralMagic and Recurly accounts.

Login to your accounts

Login to your ReferralMagic and Recurly accounts. If you haven't created a ReferralMagic account yet, click here to register free now.

Go to Recurly integration

On your ReferralMagic account, go to referral dashboard of your campaign. On the right side, you will see the Recurly integration link:

https://d33v4339jhl8k0.cloudfront.net/docs/assets/58bea548dd8c8e56bfa83e96/images/5cf7a77804286333a264325f/file-2fdQx6glag.png

Enter Recurly credentials

On the next page, enter your Recurly API key and subdomain:

https://d33v4339jhl8k0.cloudfront.net/docs/assets/58bea548dd8c8e56bfa83e96/images/5cf7a7d404286333a2643266/file-enxNRXvVDr.png

You can find your Recurly API key inside your Recurly account, Integrations > API Credentials section:

https://d33v4339jhl8k0.cloudfront.net/docs/assets/58bea548dd8c8e56bfa83e96/images/5cf7a82b2c7d3a3837132261/file-sQ6sozfInW.png

Once you click the "Connect" button after entering your Recurly API key and subdomain credentials, ReferralMagic will try connecting to your Recurly account and it will display a success message if connection is successful:

https://d33v4339jhl8k0.cloudfront.net/docs/assets/58bea548dd8c8e56bfa83e96/images/5cf7a8b104286333a264326a/file-KPKc0Snqwa.png

You can revoke the integration at any time by clicking the "Remove Integration" button.

Enable Recurly integration on tracker Javascript

Once the Recurly integration is enabled, you will need to add one more parameter to conversion tracking and invite-friend widget javascript. In conversion tracking Javascript, you will also need to pass the Recurly Account ID of the invited person. In invite friend widget, you will pass the Recurly Account ID of the referrer person. Here's an example for conversion tracking script:

<script>
	window.rfmgc('sign-up', {
		name: "__SIGNED_UP_USERS_NAME__"
		,email: "__SIGNED_UP_USERS_EMAIL_ADDRESS__"
		,recurly_accid: "__RECURLY_ACCOUNT_ID__"
	});
</script>