P
P
Pavel2019-03-15 10:51:13
Conversion
Pavel, 2019-03-15 10:51:13

How to fully track conversions through Yandex.Metrica?

Good afternoon.
Can you tell me a method for tracking conversions from a website that will be as complete and accurate as possible?
We have installed a bunch of Metrica for forms and Hummingbird for calls.
The question is how to effectively label the Metrica forms so that the data really matches reality as much as possible.
Because sometimes we even receive data that is not in the Yandex.Metrica, or vice versa, the metric contains data that was not sent to the mail.
Separate questions:
1) How does the label landing on the fact of a triggered form submission look like (without going to the success page)
2) Is it possible to mention the label code from paragraph 1 in JS, which is not located on the page itself with the code inspector, but is located in a separate JS file that is sucked through for the completeness and accuracy of the data?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2019-03-15
@ShlackBaum

The question is how to effectively label the Metrica forms so that the data really matches reality as much as possible.

Set goals for the fact of conversion - sending an order
Ajax? Easier than simple - when submitting the form, pull the pre-prepared goal identifier in the date attributes of the form
$('forn').submit(function(){
var metrika_target = $(this).data('metrika-target');
})

when the handler returned success and sent everything needed back to JS, in the body of the success \ done ajax function, call the target processing
if(typeof(metrika_target) !== 'undefined' && metrika_target.length) {
  yaCounterНомерСчетчика.reachGoal(metrika_target);
          
}

Niasilil

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question