Step-by-step guide to track your Webflow leads with PiMMs

Learn how to connect PiMMs to Webflow and track every form submission with precise, full-funnel attribution.

May 13, 2025
5 min read
Step-by-step guide to track your Webflow leads with PiMMs

Want to track exactly where your Webflow leads come from?

With PiMMs, it only takes a few minutes — no code needed.

Looking to track external tools?

Read this other guide if your site links to external tools like Cal.com, Tally, Stripe, etc.

1. Install the PiMMs tracking scripts

For paid Webflow plans

  1. Go to your Webflow project settings
  2. Open the Custom Code tab
  3. Paste the two PiMMs scripts in the Head section

Important: Paste the scripts in all the pages of your website.

Code
<script defer src="https://cdn.pimms.io/analytics/script.detection.js"></script>

Important: Paste the following script in all the pages where you have a form.

Code
<script defer src="https://cdn.pimms.io/analytics/script.inject-form.js"></script>

Verify your script installation

Use our free tool to automatically check if the PiMMs analytics script is properly installed on your website.

  1. Click Save and re-publish your site

📘 View Webflow’s custom code docs

Tip: no need to add the scripts on every page with this method.

🆓 On the free Webflow plan (alternative)

Use the CodeBlock app to add both scripts on every page with a form.

2. Build a PiMMs-compatible form

PiMMs auto-detects your fields — just follow this:

Add a required email field

  • The field name must start with email (like Email, email 1, e-mail perso, etc.)

To track names:

  • Use one field named fullname, name, etc.
  • Or two fields: firstname and lastname

We are using the field Name (in Webflow settings), not the label or ID.

👉 Check it by selecting the field → Settings → Name.

Webflow form field Name

3. Get your Workspace ID

  1. Log in to your PiMMs dashboard
  2. Go to SettingsWorkspace ID
  3. Copy your ID (e.g. ws_abc123xyz)

4. Add the Webflow webhook

  1. Go to your Webflow Site settings
  2. Open Apps & Integrations
  3. Scroll down and click Add Webhook
  4. Set it up like this:
  • Trigger type: Form submission
  • API version: v2
  • Webhook URL: https://app.pimms.io/api/webflow/webhook?workspace_id=your-id
  • Replace your-id with your Workspace ID

Webflow webhook setup

  1. Go to PiMMs
  2. Create a new short link pointing to your Webflow page
  3. Enable Conversion tracking

Example: https://pim.ms/my-lead-form

Use this link in your ads, socials, emails, etc.

6. Test your setup

  1. Open your PiMMs link in an incognito tab
  2. Submit your Webflow form
  3. Check your PiMMs dashboard
  4. You should see a new lead with full attribution

7. Troubleshooting tips

  • Make sure both scripts are loaded correctly
  • Check the workspace_id in the webhook URL is correct
  • Use incognito mode + a new email when testing
  • Make sure the webflow page was opened via your PiMMs link, not directly — that's how tracking starts.

You're all set 🎉

Every Webflow lead collected via your PiMMs links will now be tracked — with full attribution and analytics.

👉 Create your first PiMMs link

Continue Reading

Explore more insights and strategies