$("#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]
The History of British Steel

The History of British Steel

Steel is all around us as it is used for major constructions like bridges, railways, roads, commercial buildings and skyscrapers, as well as smaller things like bolts, nails and screws. Steel actually has an interesting history, and what is even more fascinating is...
The Latest Home Trend: Balcony Gardens

The Latest Home Trend: Balcony Gardens

The trend of balcony gardens has swept the UK in 2017. They are a perfect way to utilise space and enjoy the great outdoors; they make for a fantastic addition to most homes. Could this be a trend that you want to embrace? We’re here today to give you some tips and...