Skip to content
AffiliateWP

AffiliateWP

Join 30,000+ Smart Business Owners who use AffiliateWP to Grow Their Revenue, FASTER!

Get AffiliateWP
See all Features
  • Features
    • Advanced Affiliate Tracking
    • 1-Click Payouts
    • Affiliate Growth Tools
    • Custom Affiliate Dashboard
    • Smart Commission Rules
    • Easy Setup
    • See all Features →
  • Integrations
    • WooCommerce
    • Easy Digital Downloads
    • PayPal
    • WPForms
    • MemberPress
    • GiveWP
    • See all Integrations →
  • Pricing
  • Help Center
    • Documentation
    • Support
  • Testimonials
  • Blog
  • Log In
  • Get AffiliateWP

Show affiliate info anywhere on your site

Last updated on October 29, 2015 by Andrew Munro
FacebookTweetLinkedInEmail

Affiliate Info is a free add-on that 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.

What do we mean by that?

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 also access the affiliate 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.

Here are some examples on how you can use this add-on:

Show your user 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.

How would you use the Affiliate Info add-on on your site?
What affiliate information would you like to show on your site?

Download Affiliate Info right now for free!

Add a Comment Cancel Reply

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

10 comments on “Show affiliate info anywhere on your site”

  1. Jeremiah says:
    October 29, 2015 at 10:09 am

    As someone who has spent a lot of time working with conversion rate optimization I can say that this is absolutely awesome! Excited to get this going.

    Reply
    1. Pippin Williamson says:
      October 29, 2015 at 10:12 am

      Let us know if you have any questions!

      Reply
      1. Jeremiah says:
        October 29, 2015 at 10:14 am

        I do have one but i’ll email it as it’s unrelated.

        Reply
  2. Michael Moran says:
    October 29, 2015 at 11:22 am

    This is fantastic. I actually had a “light” version of this developed for your plugin but am so excited to see the integration. You guys are awesome!!!

    Reply
    1. Andrew Munro says:
      October 29, 2015 at 7:51 pm

      Glad you like it Michael!

      Reply
  3. Daniel J. Lewis says:
    October 29, 2015 at 4:07 pm

    I LOVE THIS! But there’s one way I suggest making this even better.

    This is what I’ve been wanting to do, and I was thrilled to see this addon get me 95% there.

    I’d like to collect testimonials from my affiliates and then make their affiliate link display that affiliate’s testimonial foremost (or exclusively) on the website.

    Any chance this addon could be use (or enhanced) to do this?

    Reply
    1. Andrew Munro says:
      October 29, 2015 at 8:09 pm

      Showing testimonials is an excellent idea!

      Affiliate Info was designed to retrieve affiliate information rather than store it, so there isn’t any functionality that could would allow a testimonial to be added from an affiliate.

      If you’re comfortable with a small amount of custom development then this could easily be achieved. You might like to add a textarea field to the edit affiliate screen (I’m thinking that only an admin should be able to update it) which would allow you to save the testimonial against the affiliate. Perhaps the affiliate sends it via email or a form submission.

      Saving the edit affiliate screen would then store this testimonial against the affiliate in AffiliateWP’s affiliate meta database table, for easy retrieval at a later point.

      Once you’ve got the testimonial stored it’s very easy to retrieve it, via a shortcode or PHP function. I’m thinking of adding a new shortcode to the Affiliate Info add-on that allows you to retrieve this information from that database table. It could look like this: [affiliate_info field=”testimonial”].

      How does that sound? Let me know if you’d like some guidance on adding and saving the testimonial field on the edit affiliate screen, I’d be happy to put something together.

      Reply
      1. Daniel J. Lewis says:
        October 29, 2015 at 10:03 pm

        Yes, I think support additional fields with the shortcode could be adequate for now. It’d be awesome if it could integrate with a separate testimonials plugin, but that’s probably asking too much for now.

        (Unless I did some kind of connection between an affiliate’s profile field and a separate testimonial post type.)

        I know what I’m saying, but I’m not enough of a PHP dev to sit down and knock it out in a few minutes. This would probably take me days. 😛

        Reply
        1. Andrew Munro says:
          October 29, 2015 at 10:57 pm

          You could certainly use a dedicated testimonial plugin, but it would need to store the testimonials against each user account. Something tells me most of them are just for storing testimonials, and they aren’t linked to user profiles.

          Reply
  4. Pingback: Weekly Roundup: October 30, 2015 – Sell with WP
AffiliateWP

Get the #1 Most Powerful WordPress Affiliate Plugin Today

Join 30,000+ Smart Business Owners Who Use AffiliateWP to Grow Their Revenue, FASTER!

Get AffiliateWP Now
  • Best Affiliate Plugins for MemberPress (2023)
  • How to Use WPForms Lead Forms in Affiliate Marketing
  • How to Set Up Affiliate Tracking for Gravity Forms (2023)
  • How to Increase WordPress User Sign-Ups with Affiliate Marketing
  • 9+ Best Software to Set Up Affiliate Marketing for Online Merchants

Connect with us:

  • Facebook
  • Twitter

Start Getting More Sales Today with AffiliateWP

Launch your affiliate program today and unlock a new revenue channel to grow your business faster.

Get AffiliateWP Now

Company

  • About
  • Press
  • Testimonials
  • Blog
  • Contact
  • Affiliates
  • Careers
  • Twitter
  • Facebook

Powerful Affiliate Features

  • Easy Setup
  • Advanced Affiliate Tracking
  • Smart Fraud Detection
  • Powerful Affiliate Management
  • Detailed Affiliate Reports
  • 1-Click Payouts
  • Custom Affiliate Dashboard
  • Smart Commission Rules
  • Unlimited Creatives
  • Affiliate Growth Tools
  • Fully Internationalized
  • Fully Customizable

Helpful Links

  • Support
  • Documentation
  • Integrations
  • WordPress Hosting
  • Start a Blog
  • Make a Website
  • Start a Store

Use Cases Section

Ecommerce Affiliate Software for:

  • WooCommerce
  • PayPal
  • WP Simple Pay
  • Easy Digital Downloads

Membership Affiliate Software for:

  • MemberPress
  • Paid Memberships Pro
  • LifterLMS
  • Restrict Content Pro
  • MemberMouse

Form Referral Tracking Software for:

  • WPForms
  • Formidable Forms
  • Gravity Forms
  • Ninja Forms
  • Contact Form 7

Our Brands

Connect with us

  • Twitter
  • Facebook
  • YouTube

Awesome Products Start with an Awesome Team.

Over 20 million sites use our software. We believe in creating awesome user experiences. Whatever the market conditions or current trends, you will always find Awesome Motive leading the way to help our customers gain competitive business advantage and stay ahead of the curve.

  • WPForms
  • OptinMonster
  • MonsterInsights
  • WP Mail SMTP
  • RafflePress
  • SeedProd
  • TrustPulse
  • AIOSEO
  • Smash Balloon
  • Easy Digital Downloads
  • WP Simple Pay
  • PushEngage
  • SearchWP
  • WPBeginner

Copyright ©  Sandhills Development, LLC.

Terms of Service
Privacy Policy
FTC Disclosure
Sitemap
AffiliateWP Coupon
wpbeginner verified

Share this ArticleLike this article? Email it to a friend!

Email sent!