Skip to main content
October 15, 2026
  1. Add the following code right in the <head> of all pages of your website. If your site already has a Tapfiliate tracking code on all its pages, for example the Header script of our Squarespace integration, skip this step: with two codes on a page, every visit through an affiliate link is counted as two clicks (see Can I test new tracking code while the old code is still on my site?).
    Make sure to replace YOUR ACCOUNT ID with your actual account id. This code records the clicks on your affiliates’ links.
  2. To track the payments made on your MoonClerk forms, contact us at support@tapfiliate.com. MoonClerk no longer passes the payment ID and customer ID to the page it redirects payers to after checkout (see “Integrating With Your Site” in MoonClerk’s developer documentation), so a thank-you page on your site can’t report the payment to Tapfiliate.
Note: If you set up MoonClerk earlier with a redirect URL ending in ?payment_id=…&amount=…&customer_id=…, remove that ending from the redirect URL in your MoonClerk form, and replace the code in the <head> of your pages with the code from step 1. If your site has another Tapfiliate tracking code on all its pages as well, such as the Squarespace Header script, remove the old code instead of replacing it.

Connecting MoonClerk through Stripe

Tapfiliate also connects to MoonClerk through your Stripe account: click the button, log in and press the “+Connect” button. The connection doesn’t record a payment from a customer Tapfiliate doesn’t know yet, so on its own it doesn’t track the sales your affiliates refer: ask our support team how it fits your setup before you rely on it. If you use lifetime or recurring commissions with this connection, ask our support team which Recurring commissions setting to use: with Time based, renewals the connection reports could be paid twice.

Connect account now

Important

Please remember to test a conversion before starting your program. This way you can verify that tracking has been set up correctly. You can create a test conversion by following the steps described here.