T
T
Testoby8902021-05-03 22:17:28
JavaScript
Testoby890, 2021-05-03 22:17:28

How to send data from a form directly to Yandex.Metrica statistics?

Hello! There was such a task - there is a simple form:

<form action = "https://google.com/" method = "POST">
<input type = "hidden" name = "Sum" value = "300">
<input type = "hidden" name = "lang" valut = "ru">
</form>

How can I make it so that when this form is sent to the server, the value from the "Sum" field is automatically added to the metric counter I specified? Thanks to

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tested life, 2021-05-04
@krasszen2

What statistics?
If you are transmitting conversion data, then it is better to set up the goal in Yandex Metrica to send the form using regular means.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question