DEAL ENDS IN:

HALLOWEEN SALE!

UP TO 40% OFF!

GET IT NOW

Dynamic Content for AffiliateWP

The If-So AffiliateWP integration allows you to display affiliate-based dynamic content whenever the affiliate’s referrals visit your site.

Affiliate 1

Possible Use Cases

Show users the affiliate’s discount code

Affiliate2 1

Remind users that they arrived from a trustworthy source

Affiliate

How does it work?

When you set up an AffiliateWP condition, dynamic content will be displayed if one of the two factors below is met:

  1. The page URL contains ?ref=XX (XX is the affiliate ID)
  2. The affiliate cookie exists in the user’s browser (cookie name affwp_ref)

How to set up the Affiliate WP condition

  1. Make sure you have If-So and the If-So AffiliateWP integration installed.
  2. On your WordPress dashboard, go to “If>So → Add New Trigger” 
  3. Set up the dynamic version:
    1. Select “AffiliateWP” from the drop-down menu.
    2. Set the content to be displayed if the condition is met.
  4. In the default content field, set content to be displayed if the condition
    is not met.
  5. Press “Publish”.
  6. Copy and paste the shortcode wherever you want to display the trigger’s content (on pages, posts, or widgets).

Display the affiliate’s name using a DKI shortcode

Another option included in the If-So & Affiliate WP integration is to use a shortcode that displays the affiliate’s name.

One use case this option is helpful for is to remind users they arrived at your site through a recommendation from someone they know and trust.

One thing is for sure, your affiliates will be very pleased by the fact that they can be recognized instantly by their referrals.

Using the Affiliate Name DKI shortcode

To use the affiliate Name DKI shortcode, simply paste the shortcode below wherever you want to display the name:

[IfsoAffiliateWPDKI type='affiliate' show='name' fallback='no affiliate']

If the user was referred by one of your affiliates, the affiliate’s name will automatically be displayed. If the user wasn’t referred by an affiliate, the value of the “fallback” parameter will be displayed. You can leave this value blank or remove the parameter if you don’t want to display anything in this case.

Screenshots

1 12

2 12
3 13
4 10

5 9
6 6
  • Was this Helpful ?
  • YesNo
AffiliateWP Integration
Free
Requirements: If-So Pro