Affiliate Info allows you to show affiliate information based on the affiliate currently being tracked.

When a user clicks an affiliate’s referral URL and arrives on your website, the affiliate’s ID is stored by AffiliateWP. Affiliate Info simply shows information based on the tracked affiliate.

Let’s say you have an affiliate named John who shares his referral URL. Any user that clicks on John’s referral link can now see a variety of information about John, anywhere on your website.

You can show:

  1. John’s WordPress display name
  2. John’s website URL
  3. John’s email address (be careful with this!)
  4. John’s Gravatar image
  5. John’s WordPress username
  6. John’s biographical info (from his WordPress profile)
  7. John’s Twitter username
  8. John’s Facebook URL
  9. John’s Google+ URL

There are currently 9 shortcodes to show the information above:

[affiliate_info_name]
[affiliate_info_website]
[affiliate_info_email]
[affiliate_info_gravatar]
[affiliate_info_username]
[affiliate_info_bio]
[affiliate_info_twitter]
[affiliate_info_facebook]
[affiliate_info_googleplus]

There’s also 2 shortcodes that you can wrap the above in:

[affiliate_info_referred]
Show content only when an affiliate is being tracked (example shown below)

[affiliate_info_not_referred]
Show content only when an affiliate is not being tracked. Useful for providing a fallback.

If you’re a developer you can access this information directly with some useful PHP functions.

Affiliate Info also works with AffiliateWP’s Credit Last Referrer option which means the information will change each time a new referral URL is used.

Some potential uses for this add-on include:

Showing the customer who referred them

You can show a custom message based on the affiliate being tracked. For example, “You’ve been referred by John” or “Your site representative is John”. This builds trust between the affiliate and the user.

Here’s how you can do this:

Your site representative is [affiliate_info_name]

To make sure this message only shows when an affiliate is being tracked, you can use the [affiliate_info_referred] shortcode:

[affiliate_info_referred]Your site representative is [affiliate_info_name][/affiliate_info_referred]

Allow the site visitor to contact the affiliate

There may be instances where your affiliates are in direct contact with your customers. Show the affiliate’s email address, or add a form (Gravity Forms or another form plugin) which sends an email to the affiliate being tracked.

Note, if you’re going to show any form of email address out in the wild, make sure you protect it using one of the many plugins available on the WordPress repo.

Create a landing page

Create a landing page for your products that show the current tracked affiliate’s information. This is especially useful if an affiliate does not have a website, or you want more control over how your products are advertised. Affiliates can link directly to your landing page with their referral URL, and their information will be displayed.