Memberful allows you to offer rewards to members who refer others to join your membership program in the form of a discount that will be applied to their active subscription. Learn more about our built-in referrals program.
Review your options for affiliate tracking
Memberful works best with Tapfiliate as your affiliate tracking software. However, you can also use TrackDesk, which is a more affordable option. If you use TrackDesk, you’ll need to manually prepare and add the affiliate tracking code to your site, as there is no WordPress plugin for this service. Tapfiliate does have a WordPress plugin that automates this for you, so setting it up is much simpler. Both services are able to track renewals and disputes automatically via their Stripe integrations, but TrackDesk has the advantage in that it’s able to track refunds automatically as well. In this article, we’ll explore how to integrate Tapfiliate with Memberful.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.

Integrate Tapfiliate with Memberful
Navigate to Revenue → Tapfiliate in your Memberful dashboard, and click Connect to Tapfiliate. Then navigate to Website → External website and fill out the Redirect to this page after every order field. If you prefer, you can also set this on a per-plan basis by going to the desired plan and setting the plan’s redirect URL. This should be set to the URL of a page on your website, usually a “Thank you” page. Memberful-hosted pages like our subscribe page or plan purchase URLs won’t work.
Track conversions with WordPress
If you’re using WordPress, you can easily track conversions with the Tapfiliate’s WordPress Plugin.- Install Tapfiliate’s WordPress Plugin.
- Go to Settings → Tapfiliate.
- Fill out the Tapfiliate account ID field with your account ID found in your Tapfiliate profile settings.

- Click Save Changes.
- Add the following shortcode to the “Thank you” page, which you configured in the Integrate Tapfiliate with Memberful section:
Track conversions without WordPress
If you’re not using WordPress, you’ll need to add some JavaScript code between the<head>
and </head>
HTML tags on every page of your website.
'
).

<head>
tag of your “Thank You” page, configured in the Integrate Tapfiliate with Memberful section. This will send your conversions to Tapfiliate:
'
).

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 account URL sudomain and the Tapfiliate external ID (replace 12345) to the URL below:Integrate Tapfiliate with Stripe
Since both Memberful and Tapfiliate integrate with Stripe, some tasks can be automated. To integrate Tapfiliate with Stripe:- Open the Stripe integration page (replace
YOUR-TAPFILIATE-ACCOUNT
with your Tapfiliate subdomain):
- Click Go to Installation or Installation.

- Skip to the last step (connect with Stripe).
- 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.- Make sure you’ve integrated your Tapfiliate account with Stripe.
- Enable lifetime / recurring commissions via Programs → View program → Commission structure.