All Collections
Integrating with Recurly
Integrating with Recurly

Learn how to integrate Tapfiliate with Recurly.

Tetiana avatar
Written by Tetiana
Updated over a week ago

Integrating Tapfiliate with Recurly allows you to track conversions and commissions based on order amounts for subscription-based businesses.

Please note that this guide is intended for situations where you're redirecting users to a final thank-you or success page after processing their order through Recurly.
It's compatible with all the payment gateways linked to your Recurly account.

1. To implement this, add the following to the end of your redirect URL in Recurly: ?acc={{account_code}}. As a result, your URL will resemble this format:{{account_code}}

2. Next, insert the provided code snippet in the head of every page of your website - between the <head> and </head> tags and hit Save

<script src="" type="text/javascript" async></script>

<script type="text/javascript">



tap('create', 'YOUR ACCOUNT ID');



Ensure that you replace 'YOUR ACCOUNT ID' with your actual account ID.

3. Now, paste the following code on your confirmation page and Save the changes

<script src="" type="text/javascript" async></script>

<script type="text/javascript">

function getQueryParams(){var assoc={};var decode=function(s){return decodeURIComponent(s.replace(/\+/g," "))};var;var keyValues=queryString.split('&');for(var i in keyValues){var key=keyValues[i].toString().split('=');if(key.length>1){assoc[decode(key[0])]=decode(key[1])}}return assoc}

window['TapfiliateObject'] = i = 'tap';

window[i] = window[i] || function () {

(window[i].q = window[i].q || []).push(arguments);


tap('create', 'YOUR ACCOUNT ID');

var params = getQueryParams();

if (params.acc) {

tap('trial', params.acc);



Again, make sure to substitute 'YOUR ACCOUNT ID' with your actual account ID.

Also, you can check out our Recurly integration guide here.

Before launching your program, it's essential to test your integration to verify that your setup is accurate and ready to go.

Can I set up recurring commissions?

If you want to award your affiliates with a recurring commission, you can do so with Zapier. This guide assumes that you have a Zapier account.

Did this answer your question?