=== WP Optin Wheel - Gamified Optin Email Marketing Tool for WordPress and WooCommerce  ===
Contributors: studiowombat,maartenbelmans
Tags: optin, spin wheel, wheel, fortune, gamification
Requires at least: 4.1
Tested up to: 6.9
Requires PHP: 5.6
Stable tag: 1.5.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Grow your sales and email list by offering your visitors a chance to win a prize through spinning the wheel of fortune.

== Description ==

Grow your email list or grow your sales by offering your visitors a chance to win a coupon, or other prize through spinning the wheel of fortune.
Users have let us know their signup rate increased with 200% after installing our spin to win plugin! This plugin could be your new favorite email marketing.

* Beautiful predefined themes.
* Capture emails into MailChimp.
* Create multiple wheels.
* Configure the chance of winning for each slice.
* Configure each of the wheel's 12 slices separately. Choose between a losing slice, a discount or a link (to product/page/ebook/ ...).
* Control when to show the popup.
* Compatible in any language.
* Complete control over the content (text, buttons, ...) displayed in the popup.
* Ability to log wins/losses in a separate log file.
* GDPR-Ready.
* And more ...

= Quick links =

* [&raquo; More info](https://studiowombat.com/plugin/wp-optin-wheel/?utm_source=wporg&utm_medium=referral&utm_campaign=readme)
* [&raquo; Demos](http://demo.studiowombat.com/wheel-of-fortune-demo/?utm_source=wporg&utm_medium=referral&utm_campaign=readme)
* [&raquo; Full-screen, completely custom demo (requires custom CSS)](http://demo.studiowombat.com/customized-wheel/?utm_source=wporg&utm_medium=referral&utm_campaign=readme)
* [&raquo; Documentation](https://www.studiowombat.com/article-categories/wp-optin-wheel/?utm_source=wporg&utm_medium=referral&utm_campaign=readme)

= PREMIUM FEATURES =

* Everything from the free version, plus:
* Create your own theme. Start with a predefined theme and edit to your liking.
* Seasonal themes like Christmas & Halloween.
* Full WooCommerce automatic coupon integration.
* Form-builder: build any kind of opt-in form.
* Shortcode to display the wheel in any post, page, or widget.
* Ability to have a fullscreen popup.
* You can also display the wheel inside your content rather than as a popup.
* Coupon settings such as duration, or restriction to product/category.
* You can also offer a free gift.
* You can also offer free shipping.
* Compatible with WordPress, Zapier, Drip, Mailchimp, Campaign Monitor, ActiveCampaign, MailerLite, ConvertKit, Remarkety, GetResponse, Klaviyo, Mailster, SendInBlue, Newsletter2Go.
* Extend functionality with webhooks through Zapier, Make, IFTTT, n8n,...
* Allows checking players for fraud by checking email address or IP address.
* Validate email addresses against known fake email domains.
* WPML multi-language compatible.
* Beautiful widgets (pop outs or icons to click on to show the wheel).
* Offer replays.
* Design settings: choose a predefined theme or completely design your own.
* Show a coupon bar for increased urgency.
* Show/hide on mobile.
* Show/hide on certain pages.
* Show popup on Exit-intent.
* Show popup on click of a button.
* Integrated statistics: see how many viewed and how many opted in.
* Developer-friendly.
* And more..!

Find out more about the [pro version here](https://studiowombat.com/plugin/wp-optin-wheel/?utm_source=wporg&utm_medium=referral&utm_campaign=readme)

== Installation ==

Installing the plugin is very easy:

1. Install from the WordPress Dashboard > Plugin page
2. Or manually download the plugin and extract to wp-content/plugins/
3. Activate the plugin
4. Go to Wordpress Dashboard > Settings > WP Optin Wheel
5. Create your wheels

== Frequently Asked Questions ==

Coming soon...

== Screenshots ==

1. Example of the popup.
2. Example of winning.
3. Example of losing.
4. Settings screen in the WP admin.

== Changelog ==

= 1.5.2 =
 * Fix: fixed an issue with saving wheels in the backend when an older version of the plugin "WP Encryption" is active.
 
= 1.5.1 =
 * Fix: fixed the wheel activation toggle in the backend not saving.
 
= 1.5 =
 * Improvement: improved code for translations.
 * Improvement: improved error handling when MailChimp sends back an error.
 * Improvement: escape all output.
 * Improvement: sanitize all values coming from user input.
 * Fix: fixed an issue with the default disclaimer and explainer text not showing in the backend when creating a wheel.
 
= 1.4.8 =
 * Improvement: validate MailChimp API key before saving (both frontend and backend).
 
= 1.4.7 =
 * Improvement: Minor performance and security enhancements.
 * Fix: fixed a PHP 8.2+ warning.
 * Fix: exclude our HTML from WP Rocket's new "Lazy Rendering" feature as it works incorrectly.
 * Other: verify WP 6.7 compatibility.
 
= 1.4.6 =
 * Fix: fixed a few PHP deprecation warnings in PHP 8.2+.
 
= 1.4.5 =
 * Improvement: remove checking for more wheels when saving.
 * Other: check compatibility with latest WP version.

= 1.4.4 =
 * Improvement: randomize the log file name for added security.

= 1.4.3 =
 * Improvement: add .htaccess in log file directory to deny file access.

= 1.4.2 =
 * Improvement: removed some outdated CSS (styling) code.
 * Other: verify WP 6.3 compatibility.

= 1.4.1 =
 * Improvement: improved wheel deletion.

= 1.4.0 =
 * Improvement: minor performance improvements.
 * Other: compatibility test with WordPress 6.2 (beta).
 * Other: compatibility test with WooCommerce 7.4 (beta).
 * Other: bump minimum WordPress version to 4.1.

= version 1.3.9 =
 * Improvement: removed outdated CSS, resulting in smaller file sizes on your website.

= version 1.3.8 =
 * Other: update readme links to point to correct address.

= version 1.3.7 =
 * Other: verify WP 6.1 compatibility.

= version 1.3.6 =
 * Other: verify WP 6.0 compatibility.

= version 1.3.5 =
 * Improved: improved security in the backend.
 * Other: modernize code.

= version 1.3.4 =
 * Other: verify new WordPress version.
 * Other: changed readme to correct knowledge base link.

= version 1.3.2 =
 * Update: added confirmation dialog when deleting a wheel to prevent accidental deletion.
 * Other: verify new WordPress version.

= version 1.3.2 =
 * Update: verify WordPress version tags.

= version 1.3.1 =
 * Fix: fixed an issue with explainer & disclaimer text not saving in the backend.

= version 1.3.0 =
 * Fix: added "SameSite" attribute to cookies to comply with new browser features.
 * Other: updated minimum PHP version to 5.6. Backward compatibility guaranteed with 3 minor releases.

= version 1.2.9 =
 * Fix: fixed an issue where the wheel was stuck in "playing" state.

= version 1.2.8 =
 * Update: removed some CSS (-webkit-keyframes) to update for modern browsers & make resulting file smaller on frontend.
 * Update: PHP improvement: removed deprecated calls to create_function.
 * Verify & test WP 5.4.2 compatibility.

= version 1.2.7 =
 * Update: compressed backend images.
 * verify & test WP 5.4 compatibility.

= version 1.2.6 =
 * Update: primary email field is now type "email" for better mobile keyboard support.

= version 1.2.5 =
 * Update: new theme: green.
 * Update: version checks.

= version 1.2.4 =
 * Fix: fixed a bug with CookieHelper on the frontend.

= version 1.2.3 =
 * Update: optimized frontend scripts - shaved off a few bytes.
 * Update: verified compatibility with latest WordPress.

= version 1.2.2 =
 * Fix: fixed an issue with special characters in content (mostly double quotes).

= version 1.2.1 =
 * Fix: fixed a bug in the purple theme.

= version 1.2.0 =
 * Add: added 2 new themes: orange & purple.
 * Update: speed-up enhancements with loading CSS styles.
 * Update: Fixed a rare bug with "flash of unstyled content".

= version 1.1.1 =
 * Fix: privacy policy error.

= version 1.1.0 =
 * Add: added new theme: red.
 * Add: add GDPR tools such as consent checkboxes, right to be forgotten, right to access data.
 * Fix: minor bugfixes.
 * Fix: Fixed a rare bug with 0% chance slices.
 * Enhancement: added extra logging to prevent cheating.

= version 1.0.6 =
 * Fixed a bug with the occurance setting.

= version 1.0.5 =
 * Fix: bugfix with parsing chance to integer.

= version 1.0.4 =
 * Add: added a new theme: Yellow.

= version 1.0.3 =
 * Fix: updated UI.

= version 1.0.2 =
 * Fix: added support for RTL languages.

= version 1.0.1 =
 * Fix: allow mailchimp to fetch more than 10 lists.
 * Fix: allow for UTF-8 special chars.

= version 1.0.0 =
 * Initial version