If-So
If-So shows different content to visitors referred by an affiliate, such as the affiliate’s name or a reminder of their coupon code.
Show Referred Visitors Content Made for Them
If-So’s AffiliateWP condition checks whether a visitor arrived through an affiliate’s link. Show one version of a block, an Elementor element or a shortcode to that affiliate’s visitors, and your default content to everyone else.
It’s built and supported by the If-So team. The AffiliateWP extension is free, and it needs If-So Pro.
How It Works
Install If-So and the extension
Install If-So Pro and If-So’s free AffiliateWP extension alongside AffiliateWP.
Choose the AffiliateWP condition
In an If-So trigger, a block or an Elementor element, pick AffiliateWP and the affiliate it applies to.
Referred visitors see their version
Visitors who came through that affiliate’s link see your dynamic content. Everyone else sees the default.
What You Can Set
These come from If-So’s own AffiliateWP page.
Affiliate is, or is not
Show content to one affiliate’s visitors, or to everyone except them, by affiliate ID.
The affiliate’s name
A shortcode prints the referring affiliate’s name, with fallback text for visitors nobody referred.
Blocks, Elementor or a shortcode
Use the condition on a block, on an Elementor element, or in an If-So trigger you place with its shortcode.
What You Need
Works with
If-So Pro, and If-So’s free AffiliateWP extension.
Keep in mind
The AffiliateWP condition needs If-So Pro, so the free If-So plugin from WordPress.org can’t use it on its own.
Set Up If-So
If-So’s AffiliateWP page has the extension download and the setup for triggers, blocks and Elementor.
Related Integrations
Frequently Asked Questions
The If-So team, which builds both If-So and its AffiliateWP extension. Questions about conditions and triggers go to If-So support.
Yes. The AffiliateWP extension is free, and If-So lists If-So Pro as its requirement.
It checks for the affiliate’s ID in the page URL, or for the referral cookie AffiliateWP sets when a visitor arrives through an affiliate’s link.