$("#contact form").each(function() { var jqForm = $(this); var jsForm = this; var action = jqForm.attr("action"); jqForm.submit(function(event) { event.preventDefault(); // prevent the form from submitting so we can sent the tracking code, then continue with the submission later. ga('send', { hitType: 'event', eventCategory: 'Form Submits', // add any name for the category eventAction: 'Form Submitted', // add any name for the action hitCallback : function () { console.log("event sent ok"); } }); setTimeout(function() { // now wait 300 milliseconds... jsForm.submit(); // ... and continue with the form submission },300); }); }); });
Barnstaple 01271 860794 | London 02038 698253 | Plymouth 01752 422981 [email protected]
Buy Steel Online

Buy Steel Online

Don’t have time to waste going through the process of contacting a steel supplier, waiting for a quote, emails and phone calls back and forth, just to be able to order a few pieces of steel? Well, there’s now a cost-effective, time-saving way to easily buy steel...