Skip to content

Track Referrals without Integration

While FluentAffiliate offers many direct integrations, you may need to award a commission for a sale made through a system that isn't automatically connected. This guide explains how to track referrals for any plugin or payment gateway that doesn't have a direct integration, ensuring no referral is ever missed.

FluentAffiliate provide a powerful method to handle these situations:

  • An automated method using a shortcode for plugins that have a "Thank You" or success page.

Automated Tracking with the Conversion Shortcode

This is the best choice when your other plugin or system automatically redirects users to a specific "Thank You" or "Success" page after a completed purchase.

How It Works

The process is simple and runs in the background:

  1. A customer clicks an affiliate's unique referral link.
  2. They complete a purchase through your non-integrated system.
  3. After payment, they are redirected to your success page.
  4. A special shortcode on that page automatically tells FluentAffiliate to find the correct affiliate and create a referral for them.

Implementation

To set this up, simply place the following shortcode on the page that users are redirected to after a successful payment:

[affiliate_conversion_script]

Customizing with Optional Parameters

For more detailed and accurate tracking, you can enhance the shortcode with optional parameters. This is especially useful if your payment system cannot automatically pass transaction details to FluentAffiliate.

ParameterDescriptionExample
amountSets the exact purchase amount that the commission will be calculated on.amount="99.50"
referenceAdds a unique Order ID or Transaction ID to the referral log.reference="ORD-1001"
descriptionA short note about the referral for your records.description="Custom Checkout"
statusSets the initial status of the referral. Options are pending, unpaid, paid, rejected.status="pending"
typeDefines the type of conversion. Options include sale, lead, signup.type="sale"

Example shortcode with parameters:

[affiliate_conversion_script
amount="99.50"
reference="TXN-54321"
description="Annual Plan Subscription"
status="unpaid"
type="sale"
]

Whether you use the automated shortcode for unsupported platforms or add a referral manually for special cases, FluentAffiliate provides the flexibility to ensure every affiliate is rewarded accurately for their efforts.

Released under the GPL License.