Save URL Data

What does the ‘Save URL data’ Form setting actually do?

When this option is enabled, FormKeep will save additional information into the form data that is normally ignored.

For instance, wistia commonly captures the email of your viewers in the url before playing the video like this

https://example.com/index.php/video/12345?wemail=joe@example.com

Another example is the usual ad tracking information that is normally also on the url, for instance

https://example.com/landing_page?utm_source=blogfeed&utm_campaign=mail2&utm_medium=mail

FormKeep normally ignores that information and only saves the data from the actual <input> tags on your form. Many of our customers wanted to capture this additional information and were having to resort to custom javascript or other ways to replicate this information into their form.

Now, simply checking the ‘Save URL data’ option will instruct FormKeep to also save that information. It will appear in your form submissions just like any other data from your form.

Technical Details

FormKeep will be looking at three places for data:

  • Form POST data
  • Form POST action url
  • Source Page Url Parameters

The Form POST data is the normal <input> values from the form that are normally captured, these will take priority over any other value.

The Form POST action url can also have parameters on it, this is not terribly useful, because if you wanted to pass values to us and can edit the action url, you likely can also just add some hidden values to your form. But in some cases this might be an easier way to send us data.

The Source Page urls are just the parameters on the page that’s hosting the form which points to FormKeep. You might have links to this page with utm_source or utm_campaign arguments or you might have other values that your application is tracking via those parameters. Some of which could be useful to store in the form submission.

One other point, the Google AdWord tracking parameter gclid is a common parameter in urls, but the data itself is opaque to humans, so we’re specifically stripping that value from the data before we save the submission.