Is there a way to set a cookie upon successful form submission of a popup? If so, how?
Please note, I would like for the cookie to be set on a successful form submission, not just any click on the submission button for a form.
Also, for my particular use case, I am not redirecting visitors to a confirmation page, so setting the cookie on a new page won’t work.