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
  1. Install our plugin from the WordPress Plugin Directory
  2. Go to: Settings > Tapfiliate
  3. In the next screen, first input ((((YOUR ACCOUNT ID)))). {{{{NO_ACCOUNT_ID_SET_MESSAGE}}}}
  4. 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. If you use the old Paypal version: click profile in the grey, horizontal navigation bar. If you use the new version you can click the user icon the right corner and select Profile and settings
    3. Select Selling Preferences from the navigation column on the left
    4. Locate website preferences and click update
    5. Switch Auto Return to on
    6. Enter your desired Return Url
    7. Switch Payment Data Transfer to on
    8. Save

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

Start now