# If-So

`meteorgpl-plugin/if-so` — a WordPress plugin as a Composer package.

Display different content to different visitors. Simple to use, just select a condition and set content accordingly.

- Author: If So Plugin — http://www.if-so.com/
- Homepage: http://www.if-so.com/
- License: not declared
- Buy a license from the vendor: https://www.if-so.com/
- Page: https://meteorgpl.com/packages/meteorgpl-plugin/if-so
- Requires WordPress: 5.6
- Tested up to WordPress: 7.0.2
- Translations: ca, cs_CZ, da_DK, de_DE, el, es_AR, es_CL, es_CO, es_CR, es_DO, es_ES, es_GT, es_HN, es_MX, es_PE, es_PR, es_UY, es_VE, fa_IR, fr_CA, fr_FR, he_IL, hu_HU, it_IT, ja, nl_BE, nl_NL, pt_BR, ru_RU, sl_SI, sr_RS, sv_SE, tr_TR, uk_UA, zh_CN
- Vendor: If So Plugin — https://meteorgpl.com/vendors/if-so.com

## About

Looking for a simple yet powerful display conditions or visibility control solution (that actually works with page caching)?

**If-So** is the premier conditional logic and personalization plugin for WordPress. It lets you dynamically show, hide, or swap content based on who your visitor is, where they are located, and how they interact with your site. While generic visibility add-ons break under strict server caching or force you to exclude pages from your cache, If-So is built from the ground up to deliver fast, cache-immune marketing automation across all page builders.

[youtube https://www.youtube.com/watch?v=8kCPE1CH2GY]

=== 🚀 Key Features at a Glance ===
If-So is the most comprehensive geotargeting, personalization and conditional logic plugin for WordPress. It combines enterprise-level features with a simple, no-code setup:

*   **Simple Setup** - Configure and launch your first campaign in under 60 seconds. No coding.
*   **For All Page Builders** - Universal shortcode system brings dynamic functionality to any editor or theme setup.
*   **Elementor and Gutenberg Integration** - For quick element, widget, and block visibility control.
*   **360° Geolocation Solution** – Highly accurate IP-to-location, HTML5 geolocation, and visitor self-selection.
*   **Advanced Conditional Logic** - Unlimited visibility rules based on visitor data.
*   **WooCommerce Integration** - Target buyers by location, cart items, history, or total spend.
*   **Built-in Analytics & A/B Testing** - Track real-time views, measure conversions, and optimize.
*   **Behavioral Segmentation** - Assign visitors to dynamic audiences and deliver a cohesive, personalized journey across multiple pages.

=== 🌍 360° Geolocation – Straight Out of the Box ===
Deliver highly accurate localized experiences with absolutely no setup required. Enjoy **ultimate flexibility** in determining a visitor's location by combining premium IP-to-location mapping, a precise HTML5 geolocation API, and user self-selection forms.

*   **Show, Hide, or Swap Content:** Instantly personalize text, banners, images, or pricing fields for specific countries, cities, states, or continents.
*   **Geolocation Redirects:** Automatically route visitors to country-specific landing pages or localized subdomains.
*   **Geo-Blocking:** Restrict, lock, or grant access to specific elements or pages based on geographic regions.
*   **Geo Pop-ups:** Trigger lightweight, location-specific pop-up overlays tailored directly to local audiences.

**And more;** take your personalization further with advanced options like Dynamic Keyword Insertion (Geo DKI), auto-local time displays, timezone-based scheduling, and more. Discover all geolocation capabilities >>

=== 🛠️ Elite Visibility Control for All Page Builders ===
Compatible with **any page builder** and WordPress setup, If-So offers deep visual integration for top editors alongside a flexible shortcode system for everything else:

*   **Elementor Native** - Adds a dedicated "If-So Display Conditions" tab to every widget, section, column, or flexbox container.
*   **Gutenberg Native** - Set smart conditional visibility rules directly on core WordPress blocks.
*   **For All Page Builders** - Use dynamic triggers and shortcodes to easily apply conditional content inside Divi, Bricks, Breakdance, and more.


=== 🧪 Built-In A/B Testing & Conversion Analytics ===

Run split tests on any page element and measure exactly which version converts better — directly inside WordPress, no third-party tools required.

* **Test Anything** – Headlines, CTAs, images, entire sections, pop-ups, or any trigger-based content element.
* **Built-In Conversion Tracking** – Define your own conversion goals and measure results per version, right inside your dashboard.
* **Two Report Views** – Analyze results by conversion goal or by trigger, depending on what question you're trying to answer.
* **Cache-Compatible** – Tests run reliably even on fully cached sites, with no impact on page speed.
* **[Learn more about A/B Testing >>](https://www.if-so.com/ab-testing-wordpress/?utm_source=wordpress&utm_medium=readme&utm_campaign=v2&utm_content=abt)**

## Changelog

### 1.10.1

* Built-in Analytics & Cookie consent improvements: Added an option to prevent tracking views before consent is granted
* UI & Microcopy Improvements
* Bug Fixes

### 1.10.0.1

* UI & Microcopy Improvements
* Bug Fixes

### 1.10

* **New: Built-In Analytics Dashboard** – Define custom conversion goals, track which trigger versions are driving results, and measure performance across all your A/B tests and personalization campaigns — directly inside WordPress, no third-party tools required. [Learn more](https://www.if-so.com/ab-testing-wordpress/analytics/?utm_source=wordpress&utm_medium=readme&utm_campaign=v2&utm_content=analytics)
* **New: A/B Testing Analytics** – The analytics dashboard is built for A/B testing. Two report views let you analyze results by conversion goal or by trigger, with views, conversions, and conversion rate broken down per version. [Learn more about A/B Testing](https://www.if-so.com/ab-testing-wordpress/?utm_source=wordpress&utm_medium=readme&utm_campaign=v2&utm_content=abt)
* **New: Conversion Attribution Window** – Configure how long after seeing a trigger a conversion can still be attributed to it. Options range from single session to 1 year.
* Performance improvements and bug fixes.

### 1.9.8

* PHP 8.4 compatibility improvemnts.
* WordPress 7.0 compatibility fixes.

### 1.9.7

* Added a new shortcode - [ifso_hide_site_content] which allows you to display a message instead of the site's content.
* If-So GA4 Extension compatibility.
* UI improvements.
* Bug fixes and PHP 8.4 compatibility improvemnts.

Full changelog: https://meteorgpl.com/packages/meteorgpl-plugin/if-so/changelog

## Install

```sh
composer config repositories.meteorgpl composer https://composer.meteorgpl.com
composer require meteorgpl-plugin/if-so
```

The repository needs a token (see https://meteorgpl.com/docs). The vendor's license checks are intact: activate the plugin in WordPress with a key bought from the vendor.

## Versions

No version has been published yet.

