N
N
Nasrula2021-07-13 15:23:36
JavaScript
Nasrula, 2021-07-13 15:23:36

Is it possible to change the site address after submitting the form using this one field as a utm tag?

I came up with the idea to make an input form where a person enters data: full name, number, promo code, and the script substitutes the entered promo code data as utm in the link (in fact, sends it to our website with its promo code entered) we can track the transition data in the metric and roistate.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2021-07-13
@rPman

yes, I do.
you form a new url based on the form data and do
window.location.href = received link;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question