$("#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]

free no obligation consultation

Here at ANY Weld we pride ourselves on our expertise, experience and attention to detail from the start of a project through to the end. That’s why we offer free consultations to all of our clients, with no further obligations. Interested in working with us? Then get in touch today and let’s start building.


Leisureline House, 

Roundswell Business Park,



EX31 3NJ

Find us at:

ANY WELD Limited
Leisureline House 
Roundswell Business Park, 
Barnstaple EX31 3NJ

Email us:

[email protected]

Call us:

Barnstaple HQ – 01271 860794
London – 020 38 698253
Plymouth – 01752 422981 
Get in touch...