POST Request using the form widget #14004
Annonymous657
announced in
Developers Community
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My query relates to this:
https://elementor.com/help/dynamic-request-parameter-pro/
I have a form on my website which captures a few fields like:
First Name
Last Name
Email
When the form is submitted, the user is redirected to a thank you page with a query string like this:
/thank-you?fname=[fname] where [fname] is what the user entered into the form. So the URL would actually be:
/thank-you?fname=Alex for example.
On the thank you page, I have a heading which uses the dynamic request parameter to pull the first name from the URL so that the page says "Thanks Alex!"
The issue is Google Analytics which records these parameters. I can see in the GA reports all the people that have submitted the form because of the query string. This is a PII/GDPR breach as Google doesn't allow names to be stored.
To resolve this issue, I need to use a POST request instead of a GET request but Elementor provides no documentation for this even though POST can be selected from the dropdown on the form widget.
Can anyone point me in the right direction on how to do this using Elementor? ALL the documentation and tutorials point to GET Requests only. Nothing on POST requests.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions