Integrating with WordPress

Out-of-the-box features:
  • Conversion tracking
  • Commission based on order amount
  • Track affiliate coupon code conversions
  • Supports lifetime commissions
  • Auto-handle recurring commissions
  • Auto-handle refunds and disputes

You can view our instruction video on how to integrate through plugin installation or follow the guide below the video.
Embedded content: https://www.loom.com/share/d62c65270b104127bc45a5c3877d4102

  1. Sign up for Tapfiliate. This way you get your unique Account id.
  2. Install our plugin from the WordPress Plugin Directory
  3. Go to: Settings > Tapfiliate
  4. In the next screen, first input ((((YOUR ACCOUNT ID)))). {{{{NO_ACCOUNT_ID_SET_MESSAGE}}}}
  5. Next, go to the page where you want to track a Conversion or Customer (such as a thank you page). On that page, add a new shortcode [tapfiliate …]. Replace the dots with the relevant arguments (see below), e.g amount=“10” to set an amount of 10. The different arguments are listed in the table below (sorted by precedence).

ParameterExplanation
amount_query_paramIf your user is redirected from another website and this website adds query parameters, you can use this to retrieve the amount from the query parameter (so if the url would have query parameters such as ?amount=10 you would add amount=“amount” to the shortcode and 10 would be used as the amount).
external_id_query_paramIf your user is redirected from another website and this website adds query parameters, you can use this to retrieve the external_id from the query parameter
customer_id_query_paramIf your user is redirected from another website and this website adds query parameters, you can use this to retrieve the customer_id from the query parameter
currency_id_query_paramIf your user is redirected from another website and this website adds query parameters, you can use this to retrieve the three letter ISO currency code from the query parameter
providerBy using a provider you automatically fetch the query parameters that are available for the provider after redirect, eg provider=“chargebee” will automatically use the “sub_id” query parameter as the customer id and the “invoice_id” as the external_id. Possible providers are: “paypal”, “moonclerk” and “chargebee”.
amountThis is the conversion amount (i.e. 10.50)
customer_idThe id of the current customer.If you have recurring /,lifetime enabled in your program, and a customer exists for the passed,customer id, the conversion will be attributed to the original referring,affiliate of that customer. Else, a new customer will be created.
currencyThe three letter ISO currency code.Override the program’s default currency for this conversion by explicitly passing a currency code.
customer_typeThe type of customer can be: “trial”, “customer” or “lead”. If used, only a Customer is tracked and no Conversion
couponsCoupon codes take precedence over traffic driven through affiliate links. If none of the supplied coupons is associated with an affiliate, we will fall back to cookies (if any).
meta_dataCan be used to store additional data alongside a conversion, e.g. a lead’s name or hashed email. You add different keys the following way meta_data=“key1=value1&key2=value2”
commission_typeThe identifier of the commission type to use.

Paypal

  1. Add the provider argument to your shortcode so that your shortcode looks like [tapfiliate provider=“paypal”]

  2. Hit save.

  3. Next, configure Paypal:

    1. Login to your paypal account.
    2. Click on the Settings gear on the upper right > Account Settings.
    3. On the left-side navigation column, select Website Payments.
    4. Locate Website Preferences and click on Update.
    5. Switch Auto return “On” and enter your desired Return url.
    6. Switch Payment data transfer “On”.

Note: This guide above is intended for business PayPal accounts.

Memberful

If you are using Memberful to manage your subscriptions in your WordPress powered site, please follow the steps in our Memberful Integration Guide.

Postback / S2S

There’s an option for clients who need to implement the Postback integration on WordPress or WooCommerce. Please, follow the link to check the guide Postback instruction for a CMS

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.

Start a 14-day free trial with all our features enabled