Dynamic Content for Affiliate WP

The If-So AffiliateWP integration allows you to display dynamic content based on the referral id of the affiliate.

Use Cases

  • Show users the affiliate’s discount code
  • Remind users that they arrived from a trustworthy source

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 AffiliateWP 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:
    • Select “AffiliateWP” from the drop-down menu.
    • 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).
AffiliateWP Integration
Free
Requirements: If-So Pro