-
Task
-
Resolution: Fixed
-
Should have
-
None
-
5
-
Forms
-
Sprint #205
-
pandora
Summary
GravityForms provides a method for auto-populating form fields based on url query strings.
One common use case for that is utm tags. By enabling the appropriate checkbox on certain (hidden) fields the form can save these values as part of the individual entries. That implementation is done server-side, so it doesn't work reliably with Cloudflare cache, since utm tags are part of the common query strings that don't bypass cache.
GPCH has solved this issue (see links below) by implementing a client-side solution. We should check this implementation and adopt/integrate it in our theme as a global solution.
Requirments
- To limit the scope of this implemetation, we could support only hidden fields for this first iteration.
Resources
- GPCH implementation: backend code & frontend code