New Feature: Form URL Vars

01/18/2017 Posted by Brandon

We recently added a feature to help expand and re-use your forms: URL Vars.

URL vars enable you to add values directly to the URLs of your app that can be used to pre-populate insert forms.

URL vars can be used to make forms easier to use and track information from multiple sources:

  • Reduce the friction of registrations or lead forms by pre-populating the names and emails in the URLs you email out.
  • Reuse forms on your websites and apps by setting values based on the source of the links.
  • Track referrals and origins by giving different URLs to different referrers.

We’re currently using URL vars with demo forms on our own site. We use the same demo form but pre-populate the type of app the user wants to demo based on which page the user came from. So each page get’s a slightly different link with that value set in the URL vars.

You could even dynamically create URL vars in links that are sent in custom emails when your Knack forms are submitted.

Setting up URL Vars correctly is a somewhat technical process. We’ve put together this support article to walk you through it:

https://support.knack.com/hc/en-us/articles/115000997068-How-to-Use-URL-Variables-to-Pre-Populate-a-Form

Let us know if you find a great use case for URL vars. We’d love to learn how they are being used.