Webflow sync, pageviews & more.
NEW

What is the process for collecting the IP address of form fillers in Webflow?

TL;DR
  • Use custom JavaScript with a hidden input field and an IP API (like ipapi.co or ipify.org) to capture and submit the user's IP on form submission.
  • Alternatively, disable Webflow's native form handling and integrate a third-party service (e.g., Formspree, Zapier, Basin) that supports IP capture.
  • Ensure compliance with data privacy laws like GDPR and CCPA when storing user IP addresses.

Webflow does not natively collect or store the IP addresses of users who submit forms. However, you can achieve this using third-party tools or custom code.

1. Use a Third-Party Form Handling Service

  • Webflow submits form data to its own server, but does not expose the submitter’s IP in notifications or form export.
  • Services like Zapier, Make (Integromat), Formspree, or Basin can capture additional metadata, including IP addresses, provided they support it.
  • To use them:
  • Disable default Webflow form handling (under Form Settings, toggle off “Send form submissions to Webflow”).
  • Redirect form submissions to the third-party service URL using the Form Action field.

2. Use Custom JavaScript to Capture IP Address

  • Insert custom code to capture the visitor’s IP using a public API like ipapi.co or ipify.org.
  • The IP address is then stored in a hidden input field and submitted along with the form.

Example steps:

  • Add a hidden field to your form (e.g., Field Name: visitor-ip).
  • In Page Settings → Before tag, add a small script that fetches the IP and injects it into the hidden input.
  • The IP address will then be included in the form data when submitted.

3. Use Google Tag Manager and Analytics (Optional)

  • If you do not need to see exact IPs but want general geographic data, tools like Google Analytics or Google Tag Manager can help.
  • Note: GA4 anonymizes IP addresses by default due to privacy laws and thus may not show full IP data.

4. Data Privacy Consideration

  • Storing IP addresses may have GDPR or CCPA implications. Ensure valid legal basis (e.g., consent) if you're collecting and storing IPs.

Summary

Webflow doesn’t collect submitter IP addresses by default. To gather them, you must use custom JavaScript with a hidden field or a form service like Formspree or Basin that handles metadata. Always consider legal implications when capturing identifiable data.

Rate this answer

Other Webflow Questions