R
R
RZ2017-11-23 16:54:57
Yandex.Metrica
RZ, 2017-11-23 16:54:57

Why can't send user parameters to Yandex Metrica?

In general, I add a get parameter to the end of the URL on the site so that you can see the result of sending data through the console and everything is sent correctly, no errors.
Here is the code itself:

yaCounterXXXXXX.userParams({
    name: "Test"
  });

I attach this code to the event and when the button is clicked, it fires, the browser console shows that the data has been sent, but there is nothing on the yandex site itself in the "Visitors Options" section.
What can be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Dart, 2017-11-23
@gobananas

This is how finishhim.ru/metrika-parametrs-visit works, where you first need to designate the container: then put data into it
var yaParams = {name: "Test"};

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question