Last active
February 29, 2020 11:07
-
-
Save wireinet/ff3766f7c07003e89574dbee355d8fdb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// цели Яндекс | |
add_action( 'wp_footer', 'yandex_wp_footer' ); | |
function yandex_wp_footer() { | |
?> | |
<script type="text/javascript"> | |
document.addEventListener( 'wpcf7mailsent', function( event ) { | |
yaCounter00000000.reachGoal('form_send'); | |
return true | |
}, false ); | |
</script> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment