Skip to main content
Weavely allows you to dynamically pass external data into your form using URL query parameters. This is especially useful when distributing a form to different audiences and wanting to track user segments. For example, you might send a feedback form to different user types (e.g., testers, power users) and track their responses accordingly.

Step 1: Open Your Form's Settings

  1. In your Weavely form editor, go to Settings.
  2. Scroll down to the URL Parameters section.
  3. Add a new parameter, for example, usertype. Screenshot showing how to add a form URL parameter in Weavely AI

Step 2: Publish and Append the Parameter

  1. Click Publish on your form.
  2. Copy the generated form URL.
  3. Append the parameter to the link using the format:
    ?parameter=value
    
    For example, using the URL parameter we created in step 1 we would add it as follows:
    https://forms.weavely.ai/formId?usertype=test
    
You can now share this modified link in emails, newsletters, or landing pages.

URL Parameters in Form Responses

Form responses will automatically specify the values you provided for URL parameters. For example, in the image below we got three responses to our form. One where the URL parameter wasn’t specified, one where ?usertype=tester and one where ?usertype=power-user.

URL Parameters in Embedded Forms

In case you’re embedding your form on a website, you’ll need to add the URL parameters to the embed code. For example, say you have two url parameters: “usertype” and “ref”. You would add these to your embedded form as follows:
<div data-weavely-form=[YOUR FORM ID] data-weavely-mode="embed" data-weavely-url="usertype=powerusers&ref=newsletter" style="width:100%"></div>

Pro Tip: Add Multiple Parameters

You can add multiple query parameters by repeating the process in Settings → URL Parameters. Then append them to your URL using the & symbol:
https://forms.weavely.ai/formId?usertype=poweruser&ref=newsletter
This is ideal for combining segmentation with traffic source tracking, for example.