This integration requires a paid Webflow plan to allow embedding custom scripts into your site.
Add a custom form script to your Webflow site
The script linked below allows you to use the Webflow form submission to send data to Loops.
Get the script here: https://gist.github.com/askkaz/44ba29cf1898c60e3eb03903e63e2cc4
Add this script in your Webflow page settings in the “Before
</body> tag” section. Alternatively you can add an “Embed” component into the page just beneath the form.
Please remember to add the custom script. If you do not add the custom script, the form will not work properly.
Add a form to your page
Next you need to create a form in your Webflow page.
When you add new fields, make sure the “Name” values you use in the field settings panel matches the names of your Loops contact properties:
You can check the full list of your available properties from your API Settings page.
If you want to set a property for all contacts that submit the form (for example,
userGroup), add an “Embed” component inside your form.
In this Embed you can add a hidden text field that passes on the custom value to Loops:
<input type="hidden" name="source" value="Webflow" /> <input type="hidden" name="userGroup" value="Some User Group" />
Note: there is rate limiting, so you will get an error in testing if you submit more than once per minute or submit the same email twice.
Add your Loops form endpoint URL
The last step is to make sure your form submits data to Loops. You do this by adding a Loops form endpoint as the form’s “Action” value.
- Go to the Forms page in your Loops account.
- Click on the “Settings” tab.
- Copy the URL shown in the “Form Endpoint” field.
- In Webflow, click on your Form Block, go to the Settings panel and paste the URL into the “Action” field.