L
L
leviathan2018-02-02 18:53:17
WordPress
leviathan, 2018-02-02 18:53:17

How to set Yandex Metrica goals in Contact Form 7?

Many offer this

document.addEventListener( 'wpcf7mailsent', function( event ) {
  yaCounte**********.reachGoal('call_back');
}, false );

But it didn't work for me... What other options are there?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tyzberd, 2018-02-02
@tyzberd

try wpcf7:mailsent or mailsent.wpcf7

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question