=== Interact Quiz & Form Embed ===
Contributors: tryinteract
Tags: interact, quiz, form, embed, shortcode
Requires at least: 3.0.1
Tested up to: 7.1.2
Stable tag: 3.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Use this plugin to generate a shortcode to embed your Interact quiz or form into your WordPress site.

== Description ==

Use this plugin to generate a shortcode to embed your Interact quiz or form into your WordPress site. Promote your quiz within a Popup or an Announcement Bar.

Check out some examples of how over 30,000 companies have utilized quizzes on their websites [here](https://tryinteract.com/customers/)

**IMPORTANT:** An Interact account is required for this plugin to work as intended. 

Visit [Interact](https://tryinteract.com), sign up, and create an Interact quiz or form before you embed it into your site. 

Installing this plugin without signing up on [Interact](https://tryinteract.com) will result in a broken embed on your site.

Questions? Email help@tryinteract.com

== Installation ==

1. Create a quiz or form for free at https://www.tryinteract.com.
2. Log in to your site’s Dashboard (e.g. http://www.example.com/wp-admin)
3. In the left panel, click 'Plugins', then click 'Add New'.
4. Search for 'Interact Quiz & Form Embed' — the latest version will appear at the top of the list of results.
5. Click the 'Install Now' button.
6. Wait for the installation to finish, then click the 'Activate' button.
7. Generate a shortcode for the quiz or form you wish to embed
8. Add the shortcode to any post or page in your WordPress site to embed a quiz or form


== Frequently Asked Questions ==

= Where can I find my 'Interact App ID'? =

This can be found in your Interact Dashboard by viewing your quiz or form and clicking 'Share & Embed'.
A quiz link looks like: https://www.tryinteract.com/share/quiz/6ab538ac73d646369e3959b0
A form share link looks like: https://form.tryinteract.com/f/pRWnbCjJ

== Screenshots ==

1. A screenshot of the shortcode generator inside WP dashboard.
2. An example quiz embed.
3. An example quiz embed.

== Changelog ==

= 3.3 =
* Embed a form with type="form". The iframe loads from form.tryinteract.com.
* Plugin name is now Interact Quiz & Form Embed.
* Separate shortcode generators for quizzes and forms, with Auto-Resize on by default.
* Shortcode IDs must be letters and digits; an [interact] shortcode with any other ID renders nothing.

= 3.1 =
* Added input validation and sanitization for shortcode attributes.

= 3.0.7 =
* Bug fixes. Skipped 3.0.6 - please update to 3.0.7 if you have installed 3.0.6.

= 3.0.5 =
* Added shortcode attribute redirect="host" to enable top-level browser redirection outside iframe.

= 3.0.4 =
* Added shortcode attribute align="left|center|right".

= 3.0.3 =
* Skipped 3.0.2 due to svn publishing issues, disregard skipped version number
* Added shortcode attribute mobile which allows quiz to remain embedded on the page and not redirect mobile devices.

= 3.0.1 =
* Added shortcode option to disable quiz cover page and start from first question.

= 3.0.0 =
* Added Promotions Feature (Announcement Bar & Popup)
* Auto-Resize Quiz by Default
* Supports Polls and Giveaways in addition to Quizzes

= 2.0.1 =
* Bug fixes. Removes link tag for shortcodes.

= 2.0 =
* Support for new quiz URLs using the quiz ID.

= 1.0 =
* Initial upload of plugin.
