$( '#main-form' ).on('submit_success', function(){ ym(32635655, 'reachGoal', 'main-form'); });