Integrate Tapfiliate with Memberful

Tapfiliate is cloud-based affiliate tracking software. It enables you to create, track, and optimize your own affiliate programs. Memberful integrates with Tapfiliate. For complete instructions on how to use Tapfiliate, check out their knowledge base.

In this help docs:

Create your affiliate program

From your Tapfiliate account, create your affiliate program. Once you create your program, you will get an invite URL to share (on your website, via email, or through social media) so you can sign up affiliates.

Shareable link

Once a person signs up to become an affiliate, they will receive their own unique referral link to share with their customers or followers.

Affiliate

Integrate Tapfiliate with Memberful

Navigate to Settings → Integrate → Services in your Memberful dashboard, and activate the Tapfiliate integration.

Go to Settings → Advanced and fill the Redirect to this page after a successful order field. If you prefer, you can also set this on a per Plan basis by going to the desired Plan and setting the Redirect URL. This is usually a thank you page.

Redirect URL

Track conversions with WordPress

If you're using WordPress, you can easily track conversions with the Tapfiliate WP Plugin.

  1. Install the plugin.
  2. Go to Settings → Tapfiliate.
  3. Fill the Tapfiliate account id field with your Account ID found in your Tapfiliate Profile Settings.
  4. Click Save Changes.
  5. Edit the Thank you page from the Integrate Tapfiliate with Memberful section and add the following shortcode:
[tapfiliate amount_query_param=amount external_id_query_param=order_id customer_id_query_param=member_id]

Track conversions without WordPress

If you're not using WordPress, you'll need to add some JavaScript code to your pages. Place this code in the head of every page of your website between the <head> and </head> HTML tags.

<script src="https://script.tapfiliate.com/tapfiliate.js" type="text/javascript" async></script>
<script type="text/javascript">
  (function(t,a,p){t.TapfiliateObject=a;t[a]=t[a]||function(){ (t[a].q=t[a].q||[]).push(arguments)}})(window,'tap');

  tap('create', 'YOUR ACCOUNT ID', { integration: "memberful" });
  tap('detect');
</script>

Replace YOUR ACCOUNT ID with your actual account ID, which can be found in your Tapfiliate Profile Settings. Make sure that your account ID is between single quotes (').

Account ID

Place this code inside the <head> tag of your Thank You page, configured in the Integrate Tapfiliate with Memberful section (Step 2). This will send your conversions to Tapfiliate:

<script src="https://script.tapfiliate.com/tapfiliate.js" type="text/javascript" async></script>
<script type="text/javascript">
  function getQueryParams(){var r={},n=function(r){return decodeURIComponent(r.replace(/\+/g," "))},t=location.search.substring(1).split("&");for(var e in t){var o=t[e].toString().split("=");o.length>1&&(r[n(o[0])]=n(o[1]))}return r}
  (function(t,a,p){t.TapfiliateObject=a;t[a]=t[a]||function(){ (t[a].q=t[a].q||[]).push(arguments)}})(window,'tap');

  tap('create', 'YOUR ACCOUNT ID', { integration: "memberful" });
  tap('detect');

  var params = getQueryParams();
  if (params.order_id && params.member_id && params.amount) {
    tap('conversion', params.order_id, params.amount, { customer_id: params.member_id });
  }
</script>

Replace YOUR ACCOUNT ID with your actual account ID, which can be found in your Tapfiliate Profile Settings. Make sure that your account ID is between single quotes (').

Account ID

Track and manage affiliate activity

If a customer uses an affiliate’s referral link to access your website and make a purchase, that information (affiliate, conversion ID, and amount) is communicated to Tapfiliate via the WP Plugin or the JavaScript code you inserted. You can manage your affiliates (and their payments) through your Tapfiliate account.

Locate a Tapfiliate conversion in Memberful

If you'd like to cross-reference a Tapfiliate conversion with the related order in Memberful, add your Memberful site name and the Tapfiliate External ID (replace 12345) to the URL below:

https://YOURSITE.memberful.com/admin/orders/12345

Please note that the External ID in Tapfiliate refers to the Order ID in Memberful.

Integrate Tapfiliate with Stripe

Since both Memberful and Tapfiliate integrate with Stripe, some tasks can be automated. To integrate Tapfiliate with Stripe:

  1. Open the Stripe Integration page.
  2. Skip to the last step (connect with Stripe).
  3. Connect your Stripe account.

Set up recurring commissions

If you’d like your affiliates to earn ongoing commissions for referring members, you can use Tapfiliate’s Stripe Integration, which automatically handles renewals.

  1. Make sure you've integrated your Tapfiliate account with Stripe.
  2. Enable lifetime / recurring commissions via Programs → View program → Commission structure.

Automatically handle refunds

If you've integrated your Tapfiliate account with Stripe, all refunds initiated inside Memberful will automatically be propagated to your Tapfiliate account.

Full refunds will result in a commission being disapproved, while partial refunds will decrease the refunded amount from the total conversion amount.

Automatically handle disputes

If you've integrated your Tapfiliate account with Stripe, all disputes in Stripe will automatically result in a Tapfiliate commission being disapproved.

Can't find what you're looking for? We'd love to help! 💪

Send us a message through the orange chat bubble in the lower right corner of the page. You'll hear back within a few hours Monday - Friday. 😀