How it works
By selecting the “Floating Button” option when embedding, you can make your own pop-up widget on your website.
For the Floating Button widget, there are a few options that you can customize:
- Call to Action (CTA)
- Customize what the Floating Button widget says
- Background color
- Widget Version
- Graphic only
- Text only
- Both
- Position
- Bottom Left
- Bottom Right
There are also “Basic Javascript” and “Single Page apps” depending on which kind of code you need.
For "Single Page apps":
- Copy the code from first code snippet section "COPY & PASTE CODE BEFORE </HEAD> TAG"
- Open the admin dashboard of your website and go to the "Settings → Advanced → Code Injection"
- Paste the code snippet from clipboard into the bottom of "HEADER" section and press "Save"
- Go back to the Formli embed settings and copy the code snippet from second section "COPY & PASTE CODE INTO THE PAGE <BODY>"
- Open the page where you want to see widget
- Click on "Edit" mode.
- Add new "Code" content block.
- Save
- Refresh
To figure out what widget version you need, open the admin dashboard of your website and go to Design → Site Styles. Under "SITE: LOADING", you will see radio button for option "Enable Ajax Loading". If it's turned on, you need the "Single-Page Apps" widget version.
Setup Guide
Step 1 - Go to embed settings
- Select the Formli you’d like to embed and click
... More
- Select
<> Embed on website
- Select
Floating Button
Step 2 - Copy code
- Customize your display
- Click
Copy Code
Step 3 - Paste to Squarespace
- Go to your Squarespace site settings and Click
Edit
- Click the
+
in the upper right corner - Select
</> code
- Delete “Hello, World!” and replace with your Formli code
- In the upper left corner, click
Save
- Refresh page and test it out!