In this article: About the Audiences in If-So | Creating a New Audience | How to Add and Remove Users from a Audiences | The Audiences/Segment Condition
If-So allows you to Segment users into audiences based on the dynamic version displayed to them or the pages they visited on your site. You can then create an “Audiences” condition to display dynamic content to users who are part of the Audience.
The “Audiences” condition allows you to pre-define audience/segments of users so that you can display audience-based content. Adding or removing users from these audiences is done based on the dynamic versions the user has seen.
Example:
Setting up audiences-based content requires three simple steps:
If-So provides several methods to add or remove users from an audience:
Specify when to add or remove users from an audience by clicking on the “Audience” option located below the dynamic versions’ conditions.
A second way to add or remove users from an audience is using one (or more) of the shortcodes below. The add/remove action will take place when the user loads a page with the shortcode.
Add a user to an audience
[ifso-audience type='add' audience='YOUR-AUDIENCE-NAME']
Remove a user from an audience
[ifso-audience type='remove' audience='YOUR-AUDIENCE-NAME']
*Make sure to replace “YOUR-AUDIENCE-NAME” with your audience name. The value is case-sensitive.
You can utilize the User Self-selection Form extension to showcase dynamic content according to the user’s preferences. Check out the User Self-selection Form extension.
*Elementor or Gutenberg user? This condition can be used to set up a conditional element or block (Learn more: Gutenberg | Elementor).
Yes.
Whether you are using a caching plugin or server caching, you can navigate to the plugin settings and enable the “Page Caching Compatibility” option. With the option enabled, dynamic triggers will be rendered in a separate request that will take place after the loading of the cached version.
Yes, you can set up conditional redirects based on any If-So condition. For a step-by-step guide, click here.