Deftform Changelog

Subscribe to updates
© 2024 Deftform Changelog
Jul 24, 2024

Capturing referring url for embedded forms

Today we added a minor addition that can be useful when a form is embedded on multiple pages and you want to know where a form was submitted from. We now capture the parent url where the embedded form was included upon form submission.

Please note that we are using document.referrer for this. Most browsers set the default referrer policy (if the site doesn't set another one) to strict-origin-when-cross-origin which means that different origins (so domains) never get to see the full referrer (eg. domain.com/path), but just the domain, without the path.