- The script should always be loaded directly from Smile’s CDN rather than included in a bundle or hosted yourself.
- Currently, Smile.js is always bundled with Smile UI, which provides a pop-up rewards experience for your customers. Including and initializing the script on a page will automatically result in the rewards launcher & panel being displayed.
- To make use of the objects, methods, and functionality provided by Smile.js, you’ll need to enable the Javascript SDK setting for your account in Smile Admin.