Streaming live at 10am (PST)

How to capture UTMs in Webflow Forms

Hi there,

I have tried to follow a few other articles but cannot get Webflow forms to capture UTMs from the URL. See attached screenshot for how I have set up hidden fields.
Any idea where I’m going wrong and why the forms are not capturing the URL UTMs?


Thanks everyone for your help :slight_smile:

https://preview.webflow.com/preview/speak-institute?utm_source=speak-institute&preview=f301df667e474b925e02f0fbec0942c5

Add live URL. Anyway its hard to answer (Because no way to do tests and publish your site to check).

First try to solve this issue by codepen (console.log) to see if you get the correct values from url string (Put value X inside input is the easy part).

1 Like

Here is a live URL: https://www.speak.ae/learn/ramadan?utm_source=newsletter&utm_medium=email&utm_campaign=ramadan-2019

Looks like you just copy-paste not relevant code to your case (The selectors should match your code). Example:

$('#Business').val(getParam('business'));

1 Like

@Siton_Systems

Thank you for that and sorry for being dumb there! Completely overlooked that. All works now.

Thanks again! :slight_smile:

1 Like