jQuery(document).ready(function($) { $( "#place_order" ).on('click', function() { ym(53487508,'reachGoal','PLACE_ORDER') });