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

TL;DR
  • Use an external form handler like Formspree or Basin that logs IPs and replace Webflow’s native form action with the handler’s URL.  
  • Alternatively, use a JavaScript IP lookup API to fetch the visitor's IP and inject it into a hidden form field before submission.

Webflow does not natively log or display the IP addresses of form submissions. To collect IP addresses of form fillers, you'll need to use a third-party integration or custom setup.

1. Use a Third-Party Form Handler (e.g., Formspree, Basin)

  • Webflow’s native form system doesn’t capture IP addresses, but many external form processors do.
  • Sign up for a service like FormspreeBasin, or Getform, which offers IP logging by default.
  • Replace Webflow’s native form action with the external service’s action URL.
  • Make sure to disable Webflow form processing under Form Settings → Action, and paste in the URL from the external handler.

2. Use a Custom Script to Fetch Visitor IP

  • Use a client-side solution like ipapi.coipinfo.io, or api64.ipify.org to get the IP address.
  • Add a hidden input field in your form (e.g., name="user-ip").
  • Use a custom embed in the before </body> tag to populate that hidden field with the visitor's IP.

Example setup:

  • Add a hidden field with id="ip-address" in your form.
  • Use a script to fetch the IP and inject it into the hidden field using JavaScript (e.g., fetch from https://api.ipify.org?format=json).

3. Route Form Submissions Through Integromat (Make), Zapier, or n8n

  • Set up a webhook in a service like Make.com (Integromat) or Zapier as the form’s endpoint.
  • These platforms can capture metadata like IP address automatically or allow you to add IP via JavaScript before submission.
  • Then forward the submission data to Webflow CMS, email, or another database.

4. Use Google Tag Manager or Analytics (Limited Use)

  • While not suited for exact mapping of individual form-submitter IPs, Google Tag Manager + Google Analytics can log anonymous session data.
  • Be aware that Google Analytics does not store IP addresses in raw format per privacy policies.

Summary

Webflow forms do not collect IP addresses by default. To capture this data, you must either (a) use an external form handler that logs IPs, or (b) inject the IP into a hidden field using a JavaScript-based IP lookup API. For most reliable IP logging, combining both methods (e.g., API + external service) is recommended.

Rate this answer

Other Webflow Questions