> ## Documentation Index
> Fetch the complete documentation index at: https://support.tapfiliate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Memberful Integration

> Connect Tapfiliate to Memberful and kick-start your SaaS/Subscription service's affiliate marketing program.

October 15, 2026

This guide provides instructions on launching your affiliate marketing program for your subscription solution powered by Memberful. It offers guidance for two different setup scenarios:

* ##### For Memberful Users with WordPress:

If you're utilizing the Memberful plugin within your WordPress website.

* ##### For Memberful Users without WordPress:

If you've installed Memberful on a non-WordPress website.

Both setups can be configured to seamlessly handle recurring/lifetime commissions by connecting your Memberful account to both Tapfiliate and Stripe. Additionally, this integration supports the automatic management of refunds and disputes.

## To activate your integration, follow these steps:

**1. Create Your Tapfiliate Account:**\

Begin by setting up your Tapfiliate account.

**2. Activate Tapfiliate Integration in Memberful:**\

Access your Memberful dashboard and navigate to *Settings > Integrate > Services*.\

Activate the Tapfiliate Integration.

![Memberful x Tap activate button](https://mintcdn.com/tapfiliate-help/R0H4vgI8CgAQbiRQ/images/3766018/01-skitch.png?fit=max\&auto=format\&n=R0H4vgI8CgAQbiRQ\&q=85\&s=2fc803e8c2134481c77b9a76bf40f2d1)

**3. Set the Redirect Page:**\

Go to *Settings > Customize > Advanced* in Memberful.\

Specify the page where customers should be redirected after a successful order. Alternatively, you can set this per-plan basis by going to the desired plan and configuring the *Redirect URL*. This page typically serves as your thank you or confirmation page.

![skitch](https://mintcdn.com/tapfiliate-help/R0H4vgI8CgAQbiRQ/images/3766018/02-skitch.png?fit=max\&auto=format\&n=R0H4vgI8CgAQbiRQ\&q=85\&s=4cd2d938e77d372b075c096230153fc9)

**4. Proceed with Your Chosen Setup Option:**\

Continue with the setup option that **best suits** your needs.

### Option 1: Memberful with WordPress

1. Install the [Tapfiliate plugin](https://wordpress.org/plugins/tapfiliate/).
2. In WordPress, go to **Settings > Tapfiliate**.
3. Fill in your Tapfiliate account ID. You can find it in your Tapfiliate **Profile Settings**.
4. Save your changes.
5. Add the following shortcode to your thank-you page:

```
[tapfiliate amount_query_param=amount external_id_query_param=order_id customer_id_query_param=member_id]
```

### Option 2: Memberful without WordPress

1\. Place this code in the `<head>` of **every page of your website**:

```html theme={null}
<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>
```

2\. Place the following code inside the `<head>` tag of your **thank-you page**:

```html theme={null}
<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" });

  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 in both snippets.\

3\. Save and [test your integration](https://support.tapfiliate.com/integrations/test-your-integration/how-to-validate-your-tracking.md).

### How to enable recurring commissions?

If you wish to track recurring commissions, remember to **connect your Tapfiliate account to Stripe** after completing the integration process.

Tapfiliate and Memberful integrate seamlessly with Stripe, allowing for the automation of specific tasks, including:

* Issuing Recurring Commissions for continuous membership payments
* Tracking Refunds effectively
* Managing Disputes with ease

To enable automation, follow these steps:

1. Navigate to your [Integrations Page](https://app.tapfiliate.com/a/integrations/).
2. Locate **Memberful** among your integrations and click on it > **Connect**.

Please ensure that you conduct a conversion test before launching your program. This step is essential for verifying the accuracy of your tracking setup. Detailed instructions for creating a test conversion can be found [here](https://support.tapfiliate.com/integrations/test-your-integration/how-to-validate-your-tracking.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.