i have a form that generate a validation message on ok submission. A js script add a class 'wpcf7-mail-sent-ok' to display the proper message and rendering.
<div class="wpcf7-response-output wpcf7-display-none wpcf7-mail-sent-ok" style="display: block;">Votre message a bien été envoyé. Merci.</div>
I would like to listen to this js class change to associate a ga tracking to it
$('.wpcf7-response-output).(????APPEARENCE OF CLASS .wpcf7-mail-sent-ok'???)(function() {
_gaq.push(['_trackEvent', 'formulaire', 'devis_voyage', 'wpcf7-mail-sent-ok']);
});