 axios.post(submitUrl, { token, requestParams, formPath })
            .then(() => {
                thanksMessage.removeAttribute('hidden')
                subscribeForm.setAttribute('hidden', '')
            })
            .catch((err) => {
                // handle errors here if you like, but careful what you log
                // as errors may reveal info about our backend
            })
    }
</script>

<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="https://www.google.