How to connect the JS Widget to OptinMonster
4 min
1. In mailfloss, go to Apps & Plugins, click Install JavaScript widget, and add your domain under Whitelist your domains.

2. Copy your JS widget code, along with your public key.

3. From your Campaign Dashboard at OptinMonster, select the site you want to add the widget to and click on "Edit Campaign".

4. Go to your blocks and select the HTML one. Drag it right below your input block.

5. Paste your widget code into the HTML editor and save your changes.
