Example of implementation into the GOL IBE. Parameters to create watcher are pre-filled from the web URL.
View Create
This is a default view. Application is checking the user limit (API:Count) before displaying the window.
If an user is logged into the GOL IBE, email will be automatically pre-filled.
Email format is validated and address can not contain plus "+" character.
View Minimalized
Once watcher is successfully created the window is minimized and this information is saved to the browser cookies for 7 days. During this time the window is always minimized.
View Create done
Customer can create only one watcher for one email address. When he/she tries to create the second one, he/she is asked to remove the previous watcher.
Code
You can insert this client to the GOL IBE. In the BO (https://bo.golibe.com) you must add Supporting text with type Footer. Add this lines as html to the wysiwyg editor and replace tokenStringwith yours:
Script detect a mobile devices and do not shows the form on them. You can modify this behavior yourself.