Answer the question
In order to leave comments, you need to log in
How to set up a goal in Ya.Metrika when submitting a ContactForm 7 form?
There is a standard feedback form made in the Contact Form 7 plugin.
You need to make a mark in Yandex Metrica about the successful submission of the form for the purposes.
In additional settings I write on_sent_ok: "yaCounterXXX.reachGoal('order');"
where XXX is the counter number.
In the metric, I set up an event with the identifier "order".
The target doesn't work.
Answer the question
In order to leave comments, you need to log in
$('form').on('submit', function() {
yaCounterXXX.reachGoal('order');
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question