Deal ends in:

SUMMER SALE! UP TO 40% OFF!
GET IT NOW watermelon

Dynamic Content for AffiliateWP

Display affiliate-based dynamic content whenever the affiliate's referrals visit your site.
Affiliate 1

AffiliateWP

Possible Use Cases

Show users the affiliate’s discount code

Affiliate2 1

Remind users that they arrived from a trustworthy source

Affiliate

More Personalization Examples

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 Dynamic Content WordPress plugin 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).
  1. Make sure you have If-So Dynamic Content WordPress plugin, the If-so AffiliateWP and the Conditional Elementor elements integration.
  2. In the Elementor editor, select the element you want to display to AffiliateWP referrals.
  3. In the element settings panel, go to the If-So tab.
  4. Choose the AffiliateWP condition.
  5. Click Update to save the page.
  1. Make sure you have If-So Dynamic Content WordPress plugin, the If-so AffiliateWP integration.
  2. In the Gutenberg editor, select the block you want to display to AffiliateWP referrals.
  3. In the block settings sidebar, open the If-So Conditions panel.
  4. Choose the AffiliateWP condition.
  5. Update or publish the page to save your changes.

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
Select the AffiliateWP condition

2 12
Select “Affiliate is” or “Affiliate is not”
3 13
Set the affiliate ID
4 10
Set the dynamic content

5 9
Set the default content
6 6
Paste the shortcode
AffiliateWP Integration
Free
Requirements: If-So Pro
Ready to get started?
Up to 40% Off. 30-day Money back guarantee.